SQL Server Query Plan Generation take longer
Dear all,We are dealing with a wired issue where queries on there first execution take approx 1 min to 2 mins to execute and later execution completes in less than a second,Can you please help us...
View ArticleIt takes a long time to restore a database in SQL Server 2014
It takes very long time to restore database on SQL 2014 (version 12.0.2402.0 - CU3).99% of the time is taken by log pre zeroing (even if the log contains < 20 VLFs) which is fixed for SQL 2012 in KB...
View ArticleIf i deleted huge data from the database and didn't do a shrink, will the...
Hi,I have deleted huge amount of the data from a database but i didn't do a shrink.So my question is if i didn't do shrink and use the database as it is with (inserts, updates, selects) the data file...
View ArticleDatabase performance is very poor after a month of use
Hi!I am quite new to SQL server and have a question regarding database speed. The database (about 50 MB big) was very fast in the beginning. Now, a month later, the speed is a lot worse. I run a script...
View ArticleLike Server error Linked Server error: Login Failed for user 'NT...
Getting error when trying to test the link server from remote ... Please help
View ArticleDropped a table but space not freed on drive
Hi All,I had a table that was storing 244gb of data, I've truncated it then drop it in SSMS.However it has not freed up the space of the drive.I did try dbcc shrinkfile(fileid) Please Help.ThanksRebekah
View ArticleHow to check the time taking to extract rows from source and time load data...
Hi,Recently I have started working on Optimizing an SSIS package in 2012. The package reads data from AS 400 server and load into SQL Server table.. No transformations are being used in the package....
View ArticleWhich locks are acquired by Update Statistics
Hello Forum,Does anybody know what kind of locks are acquired by Update Statistics statement.I am seeing conflicting facts:1. I often get blocking messages where one of the processes is Update...
View ArticleApplying Service Pack on multiple instance SQL Server 2008 R2 Cluster and...
Friends,Its my first time I am applying Service pack to both Standalone and Clustered SQL 2008 R2 servers. I have multiple instances running on both stand alone and Clustered environment. I don't know...
View ArticleWhat is Partition Elimination?
Hi All, Could anyone please tell little bit on what is Partition Elimination in partitioning? Thank you. Sam
View Articlejobs are not disabled
Hi All,I am trying to disabling the jobs but the jobs are not disabled.'Alter failed for job' ' . The specified @job_id() doesn't exist. (Microsoft sqlserver error:14262)'.Sqlserver 2005 standard...
View ArticleClarification on Blocked Process Report behavior
We have team members who are at odds over how this event is handled and it's coverage. After enabling this is sp_configure, and for the sake of argument keeping the threshold = 5 (default), and no...
View ArticleSQL Server Query Plan Generation take longer
Dear all,We are dealing with a wired issue where queries on there first execution take approx 1 min to 2 mins to execute and later execution completes in less than a second,Can you please help us...
View ArticleCompiled Parameter Value when Parameter type is 'ntext'
Does SQL Store the compiled parameter value when the parameter data type is ntext? What about NVARCHAR(MAX) or VARCHAR(MAX)?Anyone have a BOL link for this info? Thanks
View ArticleSQL Server 2014 Query optimizer
Hi, From what i understand there is a new query optimizer in SQL server 2014. I have been testing to see if it is worth upgrading from SQL server 2008. The problem is that almost every query/stored...
View ArticleRunning Total Variation Query Time Optimization
Hi all, I've been struggling with this query for a while. I need to set a customer specific running total for 10 million rows (reset for every customer). But every time the number goes negative, I need...
View ArticleExtract Specific eMails from Exchange 2010 and Add To Customer Data in SQL dB...
How would I go about copying email data for a specific eMail address and adding it to the customer information located in SQL dB?Oscar Osorio
View ArticleQuestion about database mirroring
Hi, With SQL Server database mirroring, do you know if SQL Server validate changes before they are applied to the mirror database ? If I have a corrupt san lun on my primary database, I assume than...
View ArticleQuestion about log contents
Related to another question on the board right now, I always read that the log contains changes made to rows, but does not contain whole (binary) pages, but I don't quite understand what that means for...
View Article