SQL Memory Clerks - MEMORYCLERK_SQLCONNECTIONPOOL - Using all Memory
Hi AllEnvironment:SQL 2008 R2 SP2Server has 20GB of memory and 5GB allocated to SQL - Locked pages in memory is enabledAfter some routine checks - I found a very low Page Life ExpectancyI check the...
View ArticleError: 17066, Severity: 16, State: 1. (Params:). The error is printed in...
Dear Sir,We are using sql server 2005 standard edition.Ram is 4GB.Today we got this below error.Error: 17066, Severity: 16, State: 1. (Params:). The error is printed in terse mode because there was...
View ArticleRetrieving info about the columns of a table - SQL Server 2012
Hi,in order to retrieve some info about the columns of a SQL table, I'm using the sys.columns view, but it seems that doesn't show which column is the primary key and which is the column description...
View Articlememoryclerk consumes a lot of memory
Hi guys,Could you explain me why memoryclerk_sqloptimizer consumes a lot of memory and how to solve it (release memory)?Please have a look reports below.1. Before2. After 5 daysSo we can see that...
View ArticleNumber of Deadlocks/sec reached to 1200
Hi All, We have a SQL Server 2005 (SP4) instance, recently we have received alert saying Number of Deadlocks/sec: 1200, this is a critical alert. I have verifyed this using SELECT cntr_value AS...
View ArticleManagement Data Warehouse (MDW) Job failing on Mirrored Server
I am using SQL 2008 R2. I set up Management Data Warehouse (MDW). One of the servers has mirroring. When I setup MDW, one of the DBs (say DB1) was on principle server (say, Server 1). Now I failed over...
View ArticleStatistics on Magic table(Triggers)
Are Auto statisitics also created on trigger's inserted and deleted tables?Manish
View ArticleWrite conflict
I have an Access 2010 front end with SQL Server 2008 R2 Back End. I have 1 Form for the user to enter data to 1 table. The table has 17 yes/no fields that I use a checkbox for half of them work fine...
View ArticleRun a powershell in sql server
Hi guys,I am tring to run a powershell in sql server like below:exec xp_cmdshell 'powershell "Get-ChildItem D:\DBBAK -Recurse -Include "*.bak" | foreach-object {$_.Fullname}"' i got the result:...
View ArticleTest a single table's performance
I have a table that has 700 million records. I want to test performance of just that table as it is right now. Then I want to test the same scenario after compression. And then again after...
View ArticleOptimizer memory, memoryclerk_sqloptimizer memory very high and climbing
I have a SQL Server 2012 instance running higher and higher amounts of memory for the memoryclerk_sqloptimizer. We have logging for optimizer memory and it is at 13 GB and climbing, but we have seen it...
View ArticleCould not obtain information about Windows NT group/user
I have recently started getting this error an a scheduled SQL agent job:Could not obtain information about Windows NT group/user 'domain\user.name', error code0x6e.e Some web research led me to...
View ArticleHow to create data dictionaries
Hi could any one tell me how do i create data dictionaries in sql server 2005 ?Please help
View Article`question about key-range lock
create table foo (c1 int) go insert into foo values (1) insert into foo values (5) insert into foo values (9) create clustered index foo_ci on foo(c1) set tran isolation level serializable begin tran...
View Articlecomplex query resulting in very slow compilation, how to improve it?
Hi,we have an application which use dynamically generated queries, and 1 of these query is very complex and very slow to compile (up to 60sec!!!!)currently we cant change the application (apparently...
View Articlesql server 2000
my sql server 2000 automatically stops windows authentication mode how can i restart it or how can i check my windows authentication is stop or what?????? if it is so how can i restrat it back.....i'm...
View Articledeleting rows
da.DeleteCommand = New SqlCeCommand("Delete from Incident where incidentyear = " & Val(YearEntry.Text) & ";", con) dsIncident.Tables(0).Rows(0).Delete() da.Update(dsIncident.Tables(0)) this...
View ArticleHaving backup problems, and unable to change service accounts...
Three problems, possibly related, all giving me heartburn as I'm going away for 2 weeks and don't want to leave a server in this state... Problem 1: When I try to run a backup to anywhere *EXCEPT* the...
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