Determine Which Server is Currently Active for Availability Groups
I want two write a small script to determine which is the currently active (primary) server in the AG. Right now, I see that using SELECT * FROM SYS.dm_hadr_availability_replica_states I can determine...
View ArticleTrouble with SQL Timeouts
I am having sporadic SQL timeout errors from on of my companies applications. The first time we have seen this was when our connections went over the default 100 connections in the connection string....
View ArticleProblems while sql clustering on windows 2008 R2
I am able to successfully configure windows cluster on windows server 2008 R2,I would like to know before doing sql clustering on it.When I install Sql on node1 which is on cluster,as normal step for...
View ArticleDB Read only Copy
I am hoping to get some guidance on the best approach for a read only copy of a database that is ~ 1TB. The primary database is fed nightly with an ETL process. We are currently trying to duplicate the...
View ArticleError Moving Log File
[code="sql"]-- SELECT @@ServerName-- I'm trying to move D:\MSSQL\Data\Staging_log.ldf' to L:\MSSQL\Log\Staging_log.ldf'-- 1. Set Database OFFLINEALTER DATABASE Staging SET OFFLINE;-- 2.Move the file or...
View ArticleMoving databases from SQL Server 2005 to SQL Server 2014
I have a new Server 2012 R2 and have installed SQL Server 2014. We are a very small shop; only 15 users. Performance has never been an issue and our software is purchased from a company in Dallas. I've...
View ArticleSSMS restarts daily on remote desktop
I'm using ssms 2014, but got the same problem with 2012. I use ssms almost entirely on remote desktop sessions ( Windows 7, Server 2008R2, Server 2012 ). It may be related to having filtered job...
View ArticleDrive Allocation Unit Size(cluster) for Data/Log/TempDB drive/SystemDB...
I have read that formatting the drives as 64k allocation unit size/cluster provides the best throughput for SQL server performance. What drives should I partition as 64K which is mentioned below?...
View ArticleSQL2014RTM or SQL2014RTM+CU4
We are migrating from sql2005 to sql2014. Should I go with SQL2014 RTM and wait for SP1 rather than installing RTM+CU4?Many thanks in advance.
View ArticleUpgrade to SQL Server 2014 from SQL Server 2012
Hi all,What will be my licensing cost If we upgrade from SQL Server 2012 to SQL Server 2014.
View ArticleSQL SERVER 2014 Lincesing AS COMPARED TO PREVIOUS VERSIONS
Hi matesMay you please help me in understanding the Licensing requirements for SQL Server 2014.I have read the article by Rob Horwitz however I'm still not clear on how lincesing for Microsoft SQL...
View ArticleRestoring a Single Table from Backup
Hi all,With all the new functionality, can 2014 now restore a single table from a standard backup without using any third party tools? I have looked, but can't see this listed as a feature (though that...
View ArticleSQL2014 in SAN having performance issue
Hi All, I have problem , A new SAN was configured and When Tried to run a Backup (SQL2014) on this it took very long time complete. How do i collect more details on this , Moreover i need to prove that...
View ArticleDo I need to install analysis services on new server?
All,We are migrating from sql 2005 to sql 2014. I see analysis services installed on sql 2005. Do I need analysis services to be installed on sql2014? I don't see any databases when I opened analysis...
View ArticleAvailability Groups and DTC Issues
Hello All,We have two new DTC servers set up and two new drives for these services and services. I'm new to this so bare with me. Basically, we attempted to assign the two new servers the new disks and...
View ArticleIs it realistic to base recovery on mdf and ldf backups?
My recommendation to my manager is to base recovery on .bak and .trn files. However the .mdf and .ldf files can be backed up without being detached and I am wondering about the value of these file...
View ArticleSchema Changes
Hi,Is there any built in tool or functions to find the schema changes in 2014 and 2008r2.I click on the schema change history from standard report, but it trowed out of memory exception.I read about...
View ArticleSQL Server Security related scripts
I am looking for scripts that are used to check security related issues in Microsoft SQL Server 2008/2008R2/2012
View ArticleScripts/strategies to start and stop and INDEX REORGANIZE at specified intervals
Imagine the following imaginary scenario:- A database in SIMPLE mode.- A table with a 10TB clustered primary key that is 99% fragmented.- A disk with plenty of log space for normal operation (1TB).-...
View ArticleNot able to connect to two sql instances on vmware
I am working on Always ON and my two nodes are in same domain and I have configured clustering without any storage or Quorum setting is "NO Majority".I did get warning for storage but as HAG does not...
View Article