Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15930 articles
Browse latest View live

SQL Server Memory

 Hi, I m trying to get memory usage on one of our Database servers. SQL Server 2008 R2 (64 bit), 130 GB memory (112 GB assigned to SQL), 8*4 processor core. Only SQL Server running on the boxI got...

View Article


System.Data.SqlClient.SqlException (0x80131904): Timeout Expired

I apologize if this question has been asked before, but we're really stumped and the answers I've seen posted don't really apply to our situation. We're getting the following error sporadically in a...

View Article


CPU occupies 100 percentage on sql server

Hi All,If sql server is consuming 100% cpu, generally the sever is responding slow so how can we trouble shoot? some times on my server cpu consumig 100% so i want to resolve this issue, incase if...

View Article

Getting Min / Max LSN for CDC Table Instance for given date in SQL Server 2012

Am trying to get the net changes on CDC enabled table by passing Min and Max dates.  But is throwing below error.    Msg 313, Level 16, State 3, Line 24    An insufficient number of arguments were...

View Article

Image may be NSFW.
Clik here to view.

Insert bulk with TABLOCK hint is causing deadlock

Hi,We are running a application that inserts rows via INSERT BULKinsert bulk ByltRow ([ByltId] BigInt, [ByesRoundId] Int, [ByesSequenceId] Int, [Loss] Float) with (TABLOCK)I have up to 10 app servers...

View Article


sqlagent -c -v parameters.

What the use of -c -v parameters in starting sqlagentsqlagent90.exe -c -vManish

View Article

Transaction context in use by another session.

Hello all,I am having this error in my system; I have SQL Server 2005 SP4 installed on a failover cluster active / passive.I DO not have or use linked server approach in my system at allMore...

View Article

Restore database issue

Hi all,I am trying restore  on sql server 2008 databse with sql server 2005 database backup with standby recory.But i got error while restoring.The error is discribing following."The backup can not be...

View Article


(type LOB data) with (type In-row data)

I have a couple of errors while running DBCC CHECKDBMsg 8965, Level 16, State 1, Line 1Table error: Object ID 530100929, index ID 1, partition ID 72057594062962688, alloc unit ID 72057594047168512...

View Article


SQL 2012 Design Advice

I'm currently a sysadmin who's been given a database consolidation project. I have a plethora of small databases (the vast majority are under 10GB, with a handful between 30 & 100GB). Most of the...

View Article

Cannot connect to the server issue

Hi folks.  I'm having a problem with my SQL Server.  I had the Express version up and running for class, then ran into an exercise that needed Enterprise.  Now that I have Enterprise downloaded and...

View Article

Map temporary objects of tempdb to sessions

Hi All,Does anyone know where stores SQL Server tempdb object list. From this list you can determine which temporary object belongs to which session. tempdb.sys.objectsor tempdb.sys.sysobjects have two...

View Article

Can we debug mdmp file while sql server is online

sql server is running on production should i open windbg to debug the error.? will tehre be any side effects?Manish

View Article


SQL Statements

Hello,I created 3 SQL Statement saved with Microsoft SQL Server Management Studio in C:\Users\userservice\Documents\SQL Server Management Studio\Projects as SQL1.sql, sql2.sql, sql3.sql and I would...

View Article

Need to Create Monthly Partition (for 1 years Data) on Existing Table. Need...

Hi All,We have few tables with very huge data & giving performance related issue during load, Extract. So decided to go for Table Partition in 2005. I have gone through many forum & got idea...

View Article


SQL 2005 clearing tempdb with dbcc DROPCLEANBUFFERS & FREEPROCCACHE

I have a few bad reports that cause tempdb to fill until I run out of disk space (work tables, not user defined #tables). I have used these two commands after a checkpoint in the tempdb to clear it...

View Article

Image may be NSFW.
Clik here to view.

Is there bug with cdc.fn_cdc_get_net_changes_.... in SQL Server 2012

I was pretty much following MSDN to get net changes for the CDC enabled table for given date; refer to my earlier question, but was not able to figure what the error was.Here is sample script to...

View Article


How to get execute user information from "sys.dm_exec_sql_text"

Hello,Some day ago, my database lose data. Somebody delete rows in table by "Microsoft SQL Manager tools" so i can't trace what they do.I using SQL, get history of statement executed. But how to know :...

View Article

How to find what are the peak SQL queries in the last one month for sql...

Hi All,IS there any way to find what are the peak sql queries that are used in last one month.I want this data for analyze and fine tune our system. RegardsMaheshwar Reddy

View Article

SQL Connection Intermitten Disconnect

Hello,Currently we had encounter an issue as our Web Application capture an intermiten disconnect issue to our SQL Server. We using SQL 2000 SP4 that running in Windows Server 2003 R2. I would like to...

View Article
Browsing all 15930 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>