Read only replicas and stored procedures
I am curious what other people have done to implement read-only routing for a large number of procedures. Basically figuring out when to call procedures that are read-only with read-only intent.We have...
View ArticleEstimated time to complete the query.
Hi friends,I am running an update query.It is taking long time. To find the estimated completion time i checked sys.dm_exec_request or sys.dm_exec_session or sp_who2 but there is no clue. It is showing...
View ArticleBackup of Indexes for a perticular table.
Hi guys,Can anyone tell me how to take backup of indexes for a particular table.Thanks for your helpRegards,SAM
View ArticleWhat is the default sa password?
If I install an instance with Windows Only authentication, and then change it to Mixed Mode, if I enable the sa login, the password has already been set. What is the default? If it's generated, how...
View ArticleBackup of Indexes for a particular table.
Hi guys,Can anyone help me how to take backup of indexes for a particular table.Thanks for your helpRegards,SAM
View ArticleSQL Job is failing due to "EXECUTE permission was denied on the object...
Hi Experts,We have recently upgraded to SQL 2014 from SQL 2012 and deployed our SSIS packages into SSIS Catalog. While running the SQL job, we are getting the below error:Executed as user: xxxx....
View ArticleIndex Space calculation confusion
For some of the table we are changing Clustered indexes to non clustered index (we can avoid here "why to CLUS to Non CLus"? discussion )Strange thing is index size got increased (for every table) when...
View ArticleHelp Re-Generating MS Agent Jobs from dead Server
This morning one of our DB servers died.They restored backups of the DB's to another server but these didn't include the many MS Agent jobs the server had.Anyway I have managed to get a backup of the...
View ArticleReplicating data to a table via a view
I am trying to replicate data from a view in the publisher to a table in the subscriber (transaction replication). I do not need the view's base table, or the view itself, replicated to the subscriber....
View ArticleSQL 2014 Availability Group Listener in Azure External Only?
Hi All,I am trying to get a 2014 availability group listener working in Azure following this guide:http://msdn.microsoft.com/en-us/library/azure/dn425027.aspxI got it kind of working (Not from inside...
View ArticleMoving SQL Server DB's
We have a SQL Server located in India; We need to move all the DB's on that server to a server residing locally for various legal reasons. The Server in India is a 2008 running 24 databases. 3 of these...
View ArticleBackups and DDL Triggers
Hi guys,A question about backups and ddl triggers. I have an application using one of my sql servers, that takes daily full backups internally. No real issue with this except it breaks my backup chain....
View ArticleSQL Server Agent
HI Experts,On my production server, the sql server was down for more than 6 hrs & happened on weekend, no one noticed it. Before customers login, I started the sql server Agent(failover cluster)...
View ArticleSyntax for adding a column with the WAIT_AT_LOW_PRIORITY Option
Hi,I am trying to get the syntax correct below but can't get it to compile - driving me crazy :crazy:ALTER TABLE [AdventureWorks2012].[dbo].[ErrorLog]ADD DemoColumn4 varchar(10) NULL...
View ArticleAlternate to Log shipping with standby between 2008 & 2014
Here is the scenario, our OLTP and DW servers are on SQL Server 2008 and we have log shipping from OLTP to DW servers. We bring dbs in standby mode on DW servers to perform ETL.We want to upgrade our...
View ArticleMS14-044 offline/network/standalone installers? (CVE-2014-1820 and...
[url=https://technet.microsoft.com/library/security/MS14-044]MS14-044[/url] just came out, and I hope...Edited to add: Yes, I was missing it. Download links to offline installers are in the "Affected...
View ArticleTimeout expired. The timeout period elapsed
I am currently running SQL 2014 in my production environment. Both machines are configured for Windows Failover Cluster Services so that we could take advantage of AlwaysOn Availability Groups....
View ArticleWAIT_AT_LOW_PRIORITY to resolve SCM_M / SCH_S blocking on AlwaysOn Secondary?
I was excited to see the new WAIT_AT_LOW_PRIORITY option for index rebuilds in 2014 as we constantly have SCH_M / SCH_S blocking issues on our AlwaysOn Secondary node when Index rebuilds are happening...
View Article1MB datafile growth size?
I'm aware of the issues with sizing your logfile growth size too low (causing too many VLFs, etc). But I haven't seen much about the datafile side of it.Are there any benchmarks specifically on setting...
View Article