Instant File Initialization enabled??
Hello,I know that if Instant File Initialization is enabled, it does not zero out the mdf but ldf file is zeroed out awlays . I was testing few things with this and found that it actually zeros out the...
View ArticleWhy Does Logshipping copy runs twice as slow compared to a regular WIndowcopy...
I have a huge Log backup file 75 GB after compression that occurs every monday morning. when Logshipping copies the file between data centers it takes 4 hours 30 minutes to copy, the same file when set...
View ArticleBest initial size of database files on SSDs for data warehousing
Hi.I actually do my first implementation of a SQL Server DWH based on SSDs and our admin ask me to reduce the initial file size because of the behavior of the SSDs. With normal harddrives I setup the...
View ArticleTransaction context in use by another session.
Hello all,I am having this error in my system; I have SQL Server 2005 SP4 installed on a failover cluster active / passive.I DO not have or use linked server approach in my system at allMore...
View ArticleIs there bug with cdc.fn_cdc_get_net_changes_.... in SQL Server 2012
I was pretty much following MSDN to get net changes for the CDC enabled table for given date; refer to my earlier question, but was not able to figure what the error was.Here is sample script to...
View ArticleCan't start SQL Server Agent service?
SQL Server Agent won't start up. Agent XPs is disabled too, even though I followed the following steps--sp_configure 'show advanced options', 1;--GO--RECONFIGURE;--GO--sp_configure 'Agent XPs',...
View ArticleUnable to Find Sql Management Studio
Hi All, I have installed sql server 2005 and later few days back installation team upgraded from sql 2005 to sql server 2008.Now when i type some key words in search like "sql management...
View Articlemultiple data file in user database
Hi All,I have three database on same server with three drive F,G,H A databsae size is 400 GB.B databsae size is 60 GB and C is 800 MBand B db 50 % select and 50 % insert transaction B database has mdf...
View ArticleSQL 2012 Database Engine not handling password change of MSA
Hi, as per the title really. I've now experienced this symptom on two totally separate installations of SQL Server 2012 SP1 configured to use Managed Service Accounts.This is SQL Server 2012...
View ArticleIdentify a table usage
Hi,Is there a way to figure out the following1. What part of the data is being accessed frequently/less frequently/not at all in a table (partitioned & un-partitioned) ? Looking for a feature that...
View ArticleSQL 2012 - System Assertion Check has failed. "pBefore == NULL"
Hi, recently upgraded from SQL2005 onto SQL 2012 SP1. I've perform a DBCC CheckDB but shows no data corruption or errors etc.When executing an SP which simply inserts into a table on another server...
View Articleimport/export database in sql server 2008
hello guysi am developing a desktop application with a colleague.my own machine got crashed and now i want to import the database from his machine.please note the two machines are both stand alone and...
View ArticleMost accessed tables in SQL server
Is there a way or a query that I can find out in the past year what tables and view are most accessed or heavily used?Thanks,SQLFriend
View ArticleMemory Utilization On Named Instances
Hi Team,SQL Server we have 3 instance 1.Default Instance 2 Named InstancesDefault Instance we have allocated only 5000MB RamNamed Instances we have allocated around 12000 and 12000 Ram is 35 GB as per...
View Articlefast disk but slow bulk insert
Hi,I want to know why a bulk insert results are far slower than benchmark.I'm using SQLIO to benchmark my SAN, and I can get between 400MB/s and 1000MB/secbut a bulk insert results in about 20MB/sec; I...
View ArticleSql Server Data :Loss
Hi all,May i know can we get the data which is truncated and committed. If yes, Where does the truncated data stored in sqlserver. Is there any kind of redo logs in sqlserver to get the...
View Articleincreasing maximum of tables to greater than 256 ?
Hi, I am submitting a query to SQL server and I'm hitting an error--> Too many table names in the query. The maximum allowable is 256. I CAN find a work around by breaking things up, but,...
View ArticleRequire Space Monitoring script
Hi,Can anyone share TSQL script for displaying each drive wise Total, Free , Free% space utilizaiton report so that if it is less than 30% I need to send out an email as output as Daily Monitor...
View ArticleDistributed Transactions fail on Linked server
We get the below error while performing a distributed transaction on linked server. We have several linked servers configured in the source server and all of them succeed with the distributed...
View ArticleIndex fragmentation and ghost leaf relationship
From what I understood, when a row is deleted, SQL engine only logically deletes the row by marking the record as ghosted. Then at some point the background ghost cleanup task will remove the slot for...
View Article