UPDATE STATISTICS WITH FULL SCAN - High reads than normal
Hi Update statistics when it runs with full sampling, reads high amount of data. my database size is 300GB and update stats is reading TBs of data from the data drive. Did anyone come across...
View ArticleIndex rebuild question
Hi All,I am on SQL 2008.Few questions about the new index rebuild functionality1) When I do index rebuild with ONLINE=ON, I assume, existing table and its indices are not touched at all (they are...
View Articlelinked server
Hi, I connect two server sql2008 and sql2012 using linked server. I successfully connected. I connected sql 2008 as linked server.I insert data through linked server. I got some error. that error are...
View ArticleSQL Server Buffer Pool Or Memory Cache Issues
Short Summery: I am Using SQL Server 2008 R2 With Windows 7 64bit, I have installed 12Gb Ram in this Server.And Also i have Defined Minimum Server Memory = 1024MB And Max Server Memory = 9216Mb,...
View ArticleSQL Server 2012 - frequent "System Health Monitor Thread: Operating system...
We have recently installed a brand new Windows 2008 R2 server and installed SQL Server 2012 (and SP1) on it. We have moved a couple of databases from SQL 2005 to it. Frequently the following is written...
View Articlewindows internal database
Hi All,I want to know what is windows internal database and what is the use of it?In my current scenario.I have one server in which windows internal database services as well as SQL Server services...
View ArticleCan I manually adjust memory grant for my query?
Hi everybody,I have a query with not optimally estimated cardinalities which results in large tempdb spills (sys.dm_exec_query_memory_grants says the query gets 1,8 Gb. After query is run in a separate...
View ArticleSQL Server Agent fails to start
Hi, My SQL server (box) is mostly rebooted every weekend. I have a SQL server 2005 running on this box with below details:Enterprise Edition 8.00.760 SP3 Most of the times after reboot, the SQL agent...
View ArticleProblem with two jobs affiliated with a sql script
Hello --I am testing a script called dbWarden on our 2008R2 standard server. The URL for the script in question is the following:http://sourceforge.net/projects/dbwarden/I have executed the script, and...
View ArticlePage size, block size and network packet size
Hello,Does anyone have any links to documentation regarding the relationship between SQL Server page size, network packet size and storage block size.I know that SQL works with 8KB pages, does having a...
View ArticleSplit existing Partition - Grows log file in GBs and take hours to run
Hi,I have an existing table with around 200 Million rows and couple of partitions.I would like to split the partitions e.g. the Latest partition hold the data where date >= '2012-01-01' and I want...
View ArticleWho knew a select could deadlock an insert
I guess I'm not the first to see this, mine looked like:select x.* from keytable k inner join bigtable x on k.akey = x.akey; --- insert into keytable select distinct akey from #somewhere;Each statement...
View ArticleTemp db size is increasing not releasing space
Hi All MS sql server 2008R2(RTM) STD 64 bit, Temp db size is continuously increasing not releasing used up space , please suggest us what is the problem with my temp db ? i executed below query ,...
View Articlepage life expanctancy low
We have a SQL server 2008, we are experiencing low performance these days, when a SSIS run, that copies data from one database to another, the server runs slow, and causing latency of other servers...
View ArticleDatabase restoration on different machiness
Hi All MS SQL server 2008 Web edition , db size is 5 GB has try to restored on Dell machine(SAS ) its completed with in One(<2) min. Ms sql server edition and size also same , i am trying to...
View ArticleDatabase snapshot cannot be created in multi user mode but in single user...
Msg 1823, Level 16, State 2, Line 1A database snapshot cannot be created because it failed to start.Msg 5123, Level 16, State 1, Line 1CREATE FILE encountered operating system error 5(Access is...
View ArticleDatabase Tables Comparision
Hello Everyone... I have two database's DB1 and DB2 in Sql server 2008.These database's having same tables and same table data also.But i want check if any differences in Table data's.So i want to...
View ArticleNetwork problem when connecting......
The error shown below: TITLE: Connect to Server ------------------------------ Cannot connect to ADMIN-PC\SQLSERVER2008. ------------------------------ ADDITIONAL INFORMATION: A network-related or...
View ArticleRestore Database
Ideas on how to make a restore database faster? We have a huge database and we moved it to a slower drive due to budget constraints. I have the backup on 8 different files to make the backup faster; I...
View Article