recommended affinity settings for SQL Server 2008 R2 running on VMWare servers
In SSMS 2008 R2, we currently have "Automaticall set both Processor and IO affinity for all processors" set. Since the servers that SQL is running on are VM servers, is this the recommended affinity...
View ArticleBackup Script: Any Script that shows Backup next running schedule with history?
Hi guys looking for Backup history script which shows when was last time backup taken ,backup type andnext schedule for run?for sql 2005 and 2008 .ThanksPlease Mark As Answer if it is helpful. \\Aim...
View ArticleDBCC Fails when there are spatial data types and too many Rows
I have found an interesting issue while running DBCC on tables that contain a geometry data type. If I have more than 884500 rows, no matter the number of columns, I receive the following error:Msg...
View ArticleSlow performance
We have slow performance on a SQL server, and esp. when doing restore, it slows down, sometimes causes network slow. The data, log, backup drive are all on SANI did a query like this: --see the top ten...
View ArticleTable Names - Singular or Plural?
I was surprised when I couldn't find any posts about naming tables with singular or plural names, other than a generic post about naming conventions. There are debates / arguments about this topic all...
View ArticleShould I rebuild ETL table clustered index after daily large delete then...
Hello,We're using SQL 2008 R2 SP1, Enterprise Edition 64-bit. I've seen many variations of this question, but never this same question, could sure use some help.Every day, our ETL system deletes a...
View ArticleHow many non cluster index are there for a table?
Hi,How many non cluster index available in a table?RegardsJHKiran.
View Articleignores covering index
I have a common search query on a simple table that has only a single covering (nonclustered, not unique) index.This will use the index:SELECT @bOK = 1 FROM verify_e1_account WHERE (e1_business_unit =...
View Articlemultiple LDF files
For some reason this one database we have found has two LDF files. The properties of the database shows those two separate LOG files. When i try to delete one (via SSMS) i receive the error: The file...
View Articlehow to find blocking and deadlock? how to resolve?
hiiiiii Friends..... pls help me how to find blocking and dead locking .how to resolve ?Thanks in advance
View Articlewhat is query plan ? what is estimated query plan ? what is actual query...
hi sql frnds..greetings....please explain about query plan.thanks in advance.best regardsvijay
View Articledisk I/O
We have a SQL server with 25 GB RAM, it is used for data warehouse. When the user restores one of their big databases, it slows down the network, and sometimes caused Exchange server down. The data and...
View ArticleStatistics update
Hi,we have one one sp which contains select statement which will be fired for every 15min when i tried to tune the query using recommendations of sql query optimizer in it. It was recommending to...
View ArticleVisual Studio is not able to connect with SQL server error 40 occurred
Hi,Recently I installed SQL server 2008 r2 express edition and I am able to access SQL server but when I try to connect error 40 occurred. I have default instance, It could be because Server Agent is...
View ArticleWhich AdventureWorks DB works with SQL Server 2008?
I tried attaching it but I keep getting this errorthis version is 661 and the database is 665What can I do?
View ArticleAny place article etc where i can read how in reality SQL server works, uses...
hello. I will prepare a quick presentation at my universityMy topic is how in reality MS-SQL server worksUses which indexes like B+ treesAre there any place where i can read ? Particularly i need...
View ArticleSQL-Server 2012: Cannot populate fulltext catalog on large table with...
I'd like to create a fulltext index on a larger table (close to 4 million records). However, this does not work when the index also contains statistical semantics.Statistical semantics is set up on the...
View ArticleAuthentication
Hi All,I know there are two kinds of authentications in sqlserver, Windows and SQL. Is there any query there any query which gives output as these available authentication like windows authentication...
View ArticleExtended event status change
Hi Please see my Extended event script to capture the deadlock detailsCREATE EVENT SESSION [Monito_DeadLock] ON SERVER ADD EVENT sqlserver.lock_deadlock ( ACTION ( sqlserver.client_app_name,...
View Article