where to keep the log file and the mdf/ndf
Hi , While going through the book of Kalen Delaney "inside sql server" I got statement "A general recommendation is to put log files onto their own physical disk. Here I am bit confuse that we have...
View ArticleTransaction Log Maintenance advice
Hi Guys,So I have just been told that on our live server we have a Transaction Log of 30+ GB. This thing has never been backed up and will continue to grow.I've been tasked to set up a plan to get this...
View Articlehow to move tempdb one drive to another drive and one server to another server ?
Hi...........Good morining....1in interview.....how to move tempdb,MSDB, Model and Master.... from one locaation to another location..? in production environment..?I said answer for tempdb,msdb, and...
View Articlelarge transaction log for simple recovery model? help!
Hi all i'm building a data warehouse and noticed that my tran log is massive (in simple recovery). MDF file is 2.6 GB. LDF file is 7.8 GB!!! Why is this??? i don't want a stupid tran log that's why...
View ArticleSet up FileStream in Clustered SQL Server 2014
Hi,I tried to follow the steps to enable FileStream in the failover clustered SQL server.http://msdn.microsoft.com/en-us/library/cc645886.aspxFirst of all, the FileStream share name (defined in the SQL...
View ArticleCMEMTHREAD waits
We have a server with 1500 users databases and an awful adhoc workload. We are on 2008 and have 10 logical cores per socket/numa node. We see a large percentage of CMEMTHREAD waits (75%). BUT as far...
View Articlebug in sqlserver 2014 long processing time in query optimizer for complex...
Believe the bug to be related to the new cardinality estimator. In my case joining 7 tables it took 4 seconds to see the query execution plan, with 8 tables it took 1 minute and with 9 tables 15...
View ArticleRead_Only and Read_Write File Groups in Same Database
We have fairly static reference data in a database we have set to Read_Only for a number of reasons and it has worked well in that state. I am being asked to change that now so we can load data daily...
View ArticleCannot Trace what is running sys.sp_spaceused
Hi,Need some help to figure out how and who is running the SP exec sp_spaceused @updateusage = 'TRUE' .Iam in a situation that the Sp exec sp_spaceused @updateusage = 'TRUE' is run by program...
View ArticleGet a string in '/' delimited string
Hi, I am trying to get after the 5th position of '/' string value.String value looks like,/string1/string2/string3/1.1/2.2/string4/ ---- should return 2.2/string1/string2/string3/1.1/2.4/ ---- should...
View ArticleAutomatic Brace/Bracket Matching
I'm running SQL Server 2008/SQL Server Management Studio and my automatic matching of brackets has disappeared. How, in this version, do I turn it back on. Is it a registry setting or is it held in a...
View ArticleSQL2000 upgrade to SQL 2008
Hi all. Have you guys expereince performance issue upgrading from SQL 2000 to SQL 2008?Now, some query run slower in SQL 2008 than in SQL 2000. What I do is look into Query plan.In SQL 2000, can I look...
View Articlesql Deadlock how to find out and resloved
HI ,Can you please advice how to find out which table are getting more deadlocked and how it is find out the issueRegardsBaskar Lakshmibaskarlakshmi
View ArticleThere is insufficient system memory in resource pool 'internal' to run this...
Hi Friends, I'm experiencing a very annoying and hard to fix problem with my SQL2008, housed on Windows Server 2003 R3 Enterprise. Every couple of days my maintenance plans are failing with the...
View ArticleDatabase Size Increase After Index Rebuild
HiI recently perfomed an Index Rebuild using a Maintenance Plan on a large table in my database because it was 91% fragmented. After the Index Rebuild the database file increased in size from 18605 MB...
View ArticleLog file size is huge and cannot shrink.
I have a live database that is published with merge replication and a couple of push subscriptions. I just noticed that the log file has grown to 500GB. The database is in full recovery. We do weekly...
View ArticleSQL 2008 SP3 install failed: again!!
What I can say is : MSSQL Server really get me so much trouble..... It failed to install the PAtCH again... and help.... I have posted to log in the following link............
View ArticleUNABLE TO EXECUTE THE CMDSQL SCRIPT IN A STORE PROCEDURE.
I am trying to call a .sql file from sql cmd mode.The requirement is to pass the .sql file as parameter value to the cmd script which I have able to achieve,here is the code which is working fine...
View ArticleBackup job fails daily with format error
Hi All,On one of the server, the back up job fails daily with below error.Message Executed as user: . ...n 9.00.5254.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved....
View ArticleCU10
Hi I applied CU10 on top of SQL Server 2012 SP1. Now What things I should check to make sure that the patch has applied successfully and there are no issues?Regards,
View Article