Deadlock troubleshooting
My boss is asking me about how I would end up resolving this issue that is causing deadlocks and most likely to prevent it in future. I am under the impression that it is a one off case of simply how...
View ArticleSQL Data Locations 2012 vs 2016/2017
I have an issue where I want to do a rolling upgrade on a 2 node HADR AG from 2012 SP4 to SQL 2016. My drives are arranged as such;SYSDB D:SQLDATA E:SQLTLogs F:etcI do not use folders on those drives I...
View ArticleRename the hostname in sql server
Hi Team,A windows sever which is installed SQL server database engine/report server/SSIS/analysis service on it.the windows server name is like ' Server A'.if we changed windows server name to Server B...
View Articlequery plans drive off the cliff
query plans drive off the road. Have 3rd party app db users complained of slowness. This db and app running for over a year. I look at memory PLE over 20000, cpu was at 45-55 which is high for this...
View Articlesyspolicy_purge_history failing on step 3
I am wondering if someone help me fix this job.[quote]Executed as user: ***** The job script encountered the following errors. These errors did not stop the script: A job step received an error at l
View ArticleTransaction Replication After Snapshot Script
Does the after snapshot script apply even if adding one article? I use this script to add one article at a time without having to snapshot again for all articles.
View ArticlePerformance Issue
Hello All,I have a select query which is taking 3mins to get the results. I have verified the below.1)Fragmentation and Statistics were up to date.2)There were no missing indexes3)Verified the...
View Articlejob fails wíth access denied
Hi We are using SQL 2016 and just recently ( last two week) the jobs created by Maintenance plans to delete old bak-files fails with this error:" Executed as user: NT Service\SQLSERVERAGENT. The...
View ArticleDBA Job interview question thoughts
Just out of curiosity how big a whiff would you consider not knowing the difference between a clustered and non-clustered index in SQL Sever?We're hiring for an ETL "BI" guy/gal --- light DBA duties...
View Articleadding securables to your own account.
Hope this is the right board for this, if not please let me know. I was asked to help with a backup maintenance plan for an always on sql server 2016 database. This is not a server I generally look...
View ArticleRename server
Hi all!I have a server named : EDVARDWIN8\SQLEXPRESS2012 It should have the name SP-DESKTOP\SQLEXPRESSI tried to use the find function on this page, and found:sp_dropserver 'EDVARDWIN8\SQLEXPRESS2012'
View ArticleConnecting SSMS 2012 to SSMS 2016 error
I installed SQL Server 2016 enterprise edition 13.0.1601.5 on a windows 2016 Server. While i can connect from another SQL Server 2016 instance, i CANNOT connect from an existing SQL Server 2012...
View ArticleThe transaction log for database is full due to 'ACTIVE_TRANSACTION'
Hi all,I am an accidental DBA that has been assigned to monitor and optimize the database (SQL Server 2016).I am receiving the below error an is not clear to me how to fix itThe transaction log for...
View ArticleResource Governor
http://www.sqlservercentral.com/articles/Resource+Governor/139303/When you turn this on, is the only way to see if you don't have your pools setup correctly is to u
View ArticleTDE and absolutely ridiculous amounts of corruption?
I've searched around quite a bit and can't find anyone else with this problem, but ever since we implemented TDE encryption (we have a separate certificate for each Instance but not each database) we...
View ArticleMS Resource Governor values x and y
https://docs.microsoft.com/en-us/sql/relational-databases/resource-governor/resource-governor-resource-pool?view=sql
View ArticleServer (OS and Sql) restore process with AG's
Hi everyone,I am fully over how AG's work, backups, restores, fallover etc etc..The question asked of me by the boss isIf we lose the VM that is running SQL server primary and perform a restore of the...
View ArticleDBBC Check on AG
Hello,I would like to have question, how dbbc check works on AG ? should be on all replicas ? or only on primary ?I am using Ola Hallengren scripts and now is on all replicas, normaly is working...
View ArticleRestoring database that's part of an Availability Group.
Hi,I'm hoping someone can help me. I'm trying to restore a backup of my production database (which is part of an availability group) onto my development server (which has an older copy of the...
View ArticleResource governor setting up workloads by users
https://blog.sqlauthority.com/2012/06/04/sql-server-simple-example-to-configure-resource-governor-introduction-t
View Article