Availability Group - Log Redo? What does that mean exactly?
I am trying to better understand thisSQL Server 2016/2017: Availability group secondary replica redo model and performance – MSSQL Tiger Team
View ArticleRegulary delete and rebuild of table influences perfomance?
Ahoi,Situation:i have a table with around 40 million rows and a clustered primary key set by IDENTITY(1,1).Theres regulary deletes and refilling of the table. With the following result:Number of Rows:...
View ArticleDatabase Everyday in singleuser
HelloI've a database that is the secondary database of a log shipping (so it's readonly) that sometimes i found in singleuser mode.I don't know if it depends by the logshipping but my question is, how...
View Articlespn won't register on restart
I've got an issue getting an instance of sql server 2016 sp 1 cu 8 to register the SPN on restart of the server. I am able to manually register the SPN and the SPN will register if I restart the sql...
View ArticleAlwaysOn Availability Groups Failover.
Hi,I'm in the process of setting up an AOAG cluster. This is my first time doing this, so I'm definitely working through some bumps in the road, but I've been able to get it set up successfully. It's...
View ArticleSQL Server 2016 SP2 Issue with Analysis Services
All, please be aware that installing SQL Server 2016 SP2 may cause a problem with Analysis Services functions, most notably cube processing. We are in the process of seeing if the issue can be...
View ArticleAssigning Always Encrypted Data to a TSQL variable
We have an application that needs to occasionally fix bad data on Always Encrypted columns. Because of a variety of reasons, they can't totally clean data until it arrives in their system. The team...
View Articlerestore/Attach not working as expected
To All,I have done many restores or attaches of db's and yet this particular one is not working as it should.... Any/All help is welcomed.USE [master]GOCREATE DATABASE tops3 ON ( FILENAME =...
View ArticleGood script to analyze Buffer pool
Can someone please share a good script to analyze buffer pool, would like to free space ,used space by different objects etc.
View ArticleHigh lazywrites - what other counters to look for
My current server PLE seems to be good about 2000, however is see high spike in lazywrites/sec , like 4K to 10K every few seconds. It goes to 20K and then drops down to 0, i have been banging my head...
View ArticleFind the History of changes in the Regional Settings and Date of the Server
Hello,Is there a possibility to find from T-SQL when the Regional Settings and the Date changed on the server?The internal server date was set in the past.Also can I change the internal server date...
View ArticleSQL Server license from Evaluation to Standard
Hi All,I installed 2 months ago SQL Server 2016 with Evaluation license.Today i tried to add the license that i bought (for SQL Server 2016 Standard Edition) but i got an error:"The edition of the...
View Articlesql server auditing question
We've been playing around with turning on sql auditing to meet requirements for monitoring activity. We are seeing a bizarre entry with a action_id = 'UP'. It occurs when a SELECT EXCEPT query is run...
View ArticleSQL Server 2016 Standard Edition - help
I need to encrypt my database and I have the standard edition SP1. With the standard edition I cant use TDE. I also looked online to see if I can use Always Encrypt and I couldn't find any info there...
View ArticleProfiler, event 28 - Degree of parallelism
Hello.Is posible to know what sentence was executed?I see some operations with MORE THAN 1 GB in
View ArticleLost admin rights on SQL Server Tabular...
I am admin on that windows server but have lost access to the SQL Server Analysis Services Tabular server.Is there any way to recover that?
View ArticleEncryption on PII data
Hi there,There are many articles available to implement column level encryption on the sql tables, but I see that everybody is creating a new column against the original and keeping the encrypted...
View ArticleSlow RO AG Node
Running report on OLTP server of AG group sp runs in 4 seconds. On AG RO node almost 2 minutes. Looked at stats and they are vastly different for one table almost 10 times as many logical reads....
View ArticleDBCC Check DB performance issue
I have dbcc checkdb running on a 2 GB database but it takes about 1 minute to complete. In sys.dm_exec_requests i see DBCC is in running state and i don't see any wait type when i query...
View ArticleAlwaysOn DR Solution
Hi, I am looking into setting up a SQL 2016 AlwaysOn Availability Group consisting of 1 Primary server, 1 on-site secondary server and 1 off-site secondary which will be hosted on Azure with a...
View Article