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

rebuild indexes - should all services be stopped before doing this?

Rebuilding indexes, if there are a large number of tables that have badly fragmented indexes could take a while.  Also, if not using the "online" option, this will lock tables while this is being done,...

View Article


Typeperf is throwing error message for the SQLServer counters

Hi,I am using typeperf tool to collect performance data and I am following the below mentioned link for the...

View Article


Cannot add new transaction log file, or grow existing one, because...

My database (SQL2012SP1 EE) is in simple recovery model. My free space on the disk is at least 10 times the size of my database. It seems I cannot make any changes to the database because the...

View Article

SQL Server Virtualization

The standard edition of SQL Server 2008 R2 is limited to 4 cpus in a vmware environment. If the physical host is hyperthreaded, however, it appears that the standard edition can use 8 vcpus.  Can...

View Article

Universal Batch File

I have a sql job which has a step to execute a batch file. We have 3 different environment ( DEV,PROD and QA). Evereytime we have to edit our batch file to run in 3 different environment since system...

View Article


Blocking issue..

Hi team,i facing blockings issues,i see the no.of blockings but automatically sql engine relished the blockings,here problem is when i getting the blockings that time Application is very...

View Article

how to indentify lead blocker in sql server 2005

Hi All,Is there any script to find the lead blocker in sql server 2005.Maheshwar Reddy

View Article

SQL Server 2012 - Data Collector - Server Activity & Query Statistics Reports...

Hello Community,I am using SQL Server 2012 and I have configured the SQL Server Data Collector.  When I view the Disk Usage Report there is current data, however when I view the Server Activity &...

View Article


Error resource limit was reached

Hi All,My sql job fails today and it throws an error at step 28 the error was MessageExecuted as user: NT AUTHORITY\SYSTEM. The OLE DB provider "SQLNCLI" for linked server "hrpldb" reported an error....

View Article


Waits for Page Allocation

Hi Everybody,I have a question. Let's assume that we have multiple threads trying to Insert data into the same partition of a table. The Insert statement will be similar to:INSERT INTO DESTINATIONTABLE...

View Article

MSSQL - cyclomatic complexity of TSQL

Hi All,     Please let me know if there is any tool / utility to calculate the complexity of TSQL ( Stored procedures, functions ) in MSSQL. Is there is any microsoft supplied solution for this ?--...

View Article

UPdate with multiple tables

I have 2 tables namely Profile and Info. My table looked like this: PROFILE | p_Id | FirstName | LastName | | 1      | Jack         | Cole         |  | 2      | Cynthia     | Cole         |  | 3...

View Article

There is insufficient system memory in resource pool 'default' to run this...

I get this error multiple times for different session Id. the memorystatus dump from sql error log is given below.Win Server 2008 R2 SP1 (x64)SQL Server 2008 R2 SP2 (x64)Max Memory: 24 GBTotal Memory:...

View Article


SQL Server 2005 64-bit 100% CPU

 We just did a conversion from SQL Server 2000 SP4 32 bit to SQL Server 2005 64 bit SP2 9.0.3042.0.  We have 16G of memory on the new box as well. We had no CPU/memory issues on the 32 bit box. We...

View Article

Fail to start Analysis Services Engine

Why I am not able to start the Analysis Services Engine again as the error message from event viewer as: Event Type: ErrorEvent Source: MSSQLServerOLAPServiceEvent Category: (289)Event ID: 0Date:...

View Article


Passing selected row from gridview to dropdown

Kindly help me passing selected row in gridview to my dropdown. I have 1 gridview, 1 textbox and 1 dropdown list box. My dropdown is populated by SqlDataSource from my table Country. On my gridview, I...

View Article

Protecting an RDBMS System from DBA-s

Reference thread:http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/23f3b17d-d2ee-4f9b-ade1-2110e503b183"OK.  I have to ask.  WHAT makes avoiding xp_CmdShell a "best practice" especially...

View Article


Log database always full

Hi,I run SQL Server 2005 Workgroup Edition on Win SBS 2003 R2, it's 32-bit system. And I'm using the SQL Server 2005 WE for our small company's app database, and here's the recent trouble I...

View Article

Queries to Drive up CPU and Memory for Testing

Hello -Anyone know of some useful queries that can be used to intentionally drive up CPU and memory usage (1 query for each)?  I need to test out some monitoring tools on a test box and need to drive...

View Article

Could not allocate a new page for database 'XXXX' because of insufficient...

Dear All,I have a SQL Server 2008 (SP1) Database (Size600GB). It has more than 25 Data files and more than 5 LDF Files.My issue is most of the times whenever I tried to created new indexes or...

View Article
Browsing all 12963 articles
Browse latest View live


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