Shrink Index filegroup
Hi,I understand that shrinking data files is not a good thing. However is it good idea to shrink Index file-group? Is it also as hazardous as shrinking data files? We have separate files groups for...
View Articlequestion
Hi all, Do sql server Roles are copied into secondary server when a manual failover is done in Log shipping?How to move sql server 2000 master database to sql server 2005 server
View Articledata selecting between two dates with respect to date column
Hi Experts, I have one requirement.the data is stored in data base in the following wayid vechicleDATE TIME 24fomat date stats ignitiondev4...
View ArticleEvent 9001 - log is not available during backups
I've got a 2008 server that has a recurring issue with backups related the the SQL Server VSS writer.The errors seem to start with Event 9001The log for database 'xm8_27' is not available. Check the...
View ArticleDBCC - anyone done this? Connect to server, backup and restore on another server
I have not used DBCC but I knew of it and roughly what it would let me do. I have 4 or 5 databases that exist in two different environments, one live for users and one for development.So now Im...
View ArticlePackage Migration Wizard
Hi all..I am trying to migrate some 2000 DTS package to 2008 R2.When i try to connect to SQL 2000 in the wizard, there is an error:"The Package Migration Wizard requires the SQL 2000 Data...
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 ArticleTo many _WA_Sys statistics
I am running Ola Hallengren's maintenance script on a nightly basis and found that it is running 5 to 6 hours on a medium sized set of databases. When I looked into it, I found that it was due to the...
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 Article