Disk speed test
I found this code on the following link. I tested it against tempdb and another database with the same options. THe speed between the two are lot different. THe tempdb is way faster than the other...
View ArticleCant browse below root of mount point in cluster when trying to restore database
HowdyRunning SQL 2008 R2 SP1 cluster on Windows 2008 R2 server.I have 8 instances of SQL running.Trying to browse below a mount point to select a file to restore a database, but I cant browse the...
View ArticleWhy is the PWDCOMPARE function not supported on an Azure SQL Server 2014...
I have tried to publish a database from our local SQL Server to Azure but receive an error saying PWDCOMPARE is not supported with no link to a reason why.We are using HASHBYTES function to encrypt...
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 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 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 Articleon what basis set maxdop value?
Hello Everyone,what is a maxdop value for sql server 2008 r2 enterprise and standard edition ??give a suggestion...Thanks
View Articletable changes
Hi,We have program that is inserting records in a table. In middle it is giving Duplicate key error.How can I know which record is getting duplicated?We are using SQL Server 2012Regards
View ArticlePerformance Monitoring
Performance Check through DMV's We don't have any tool and working on 2012 server with max 3 TB database size.
View ArticleModellog.log file being moved with inapproprite name. Startup is now failing.
I ran an alter database command to move to model database to a new location. This was a DISA STIG security requirement. It is something I have done dozens or times successfully, but yesterday I went...
View ArticleUnable to copy database with different name in the same instance
I had a huge database and wanted to try some change optimization changes. So wanted to make a copy of the database along with data in the same instance. I have tried copy database wizard several times...
View Articleafter creating clustered index s/w going very slow
Hi All,we have one table with 241 columns, 5 non-clustered indexes, and 1173000 records and one identity column.if we create clustered index with primary key on identity column s/w going very slow...
View Articleresource govenor
what is the difference between Maximum memory % in the resource pool and memory grant % in the workload group?
View ArticleDifferential Backup Size larger than full
I have a SQL 2012 box with TDE enabled. We are seeing an issue where the DIFF backups are really huge. They are even double than the Full backup.I am taking full backup once every Sunday and DIFF...
View Articlexp_cmdshell
Hi,I want to know how can I check if xp_cmdshell is enabled or not and if it is enabled, which users has right to execute it? I am using SQL Server 2012Regards
View ArticleCombining SQL Server FCI and AlwaysON Availability Group
We are in the process of migrating all our SQL Server 2008 environments to SQL Server 2012. So far we built more than ten SQL Server Failover Clusters (or what is now know as AlwaysON Failover Cluster...
View Articledatabase in suspect mode
i was going through this article about recovering a database in suspect mode :http://www.mytechmantra.com/LearnSQLServer/Repair_Suspect_Database_P2.htmlin the article the error seems to indicate...
View ArticleMemory Management of SQL Server.
Hi All,Currently I have a problem managing our SQL server, our server has 64GB of RAM, average use of memory is 30GB, but when the RAM usage is 37GB, nobody can use any query with "update". Upon...
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 Article