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 ArticleSQL 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 ArticleError 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 ArticleWaits 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 ArticleMSSQL - 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 ArticleThere 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 ArticleSQL 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 ArticleFail 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 ArticleLog 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 ArticleSQL Server 2012 Shutting Down Randomly
Hello,I have two servers with Windows Server 2008 R2 and SQL Server 2012 Standard that were just setup about a week ago. Both SQL Server instances will randomly stop the service and become disabled. I...
View Articlecan ODBC bcp_writefmt create a format file from the source table?
I am writing a routine using the SQL Server Driver extension to use BPC under ODBC.I get a table name, with arbitrary column names and types and lengths, and wish to create a BPC format file to im[port...
View ArticleProtecting 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 ArticleQueries 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 ArticleCould 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 ArticleCan be stored procedures without cache?
Hello Guys!Today one procedure in my company after job for recompile, was no cache stored when I find with this select:SELECT [cp].[refcounts] , [cp].[usecounts] , [cp].[objtype] , [st].[dbid] ,...
View ArticleHow to assign AD group default schema
Hi,We have AD group. Users are member of this group. I want to assing default_schema to this AD group. Why I right click user in db, selected properties, default schema is not selectable. How to to...
View ArticleSQL Server 2008 Memory Usage details
Server configuration : Windows 2008 64-bit & SQL Server 2008 64-bit environment with 14 Gigs of Memory.Max. Server Memory set to 11 Gigs.- The task manager is showing sqlservr.exe is consuming all...
View ArticleInstance error
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box
View ArticleRecommendation about DBA role
Hi Forum,I have been working as a developer for the past 5 years comfortable with SSIS/SSRS/TSQL .I'm planning on moving onto a DBA role now , i have no clue where to start and wanted to know the...
View Articlexp_delete_file extremely slow on a server - Wait_Info...
I am looking at one server where xp_delete_file is extremely slow to delete files.One subdirectory contains a few thousands files and it takes about 1 second for each file to delete.The wait_info is...
View Article