Viewing 15 posts - 1 through 15 (of 27 total)
Set Max DOP to 4, create 4 separate equally sized tempdb data files, and set Cost Threshold for Parallelism to like 50
That will make small light queries just use one...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
April 29, 2026 at 9:49 pm
Hopefully you got a create and modify date fields on that table.
Create field for inserts and modify field for updates.
For deletes, if the primary key is unique and sequential without...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
April 22, 2026 at 9:29 pm
I would first try to optimize the report queries before changing the Always On architecture. From an experienced DBA, most likely table indexes are needed somewhere and/or the overall query...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
April 20, 2026 at 11:57 pm
There shouldn't be an issue with that big of a leap in faith.
The only things to watch out for are the upgraded encryption defaults. If apps accessing the database are...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
April 8, 2026 at 9:16 pm
Hi Brandie, will writing a subquery work for this issue? Such as the below example?
select sum(count)
from
( select servername, count = count(*)
...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
April 8, 2026 at 9:06 pm
Hi Stan,
I don't believe the .dll references in your script and GAC entries will be deployed along with your package deployment. That's something you'll have to set up on the...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
March 27, 2026 at 10:55 pm
Hi Adri
I went through the same domain migration and had to clone existing windows logins/groups to the new domain which looks like you're attempting to do. Here are 2 steps...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
March 27, 2026 at 12:02 am
Personally, I'd separate the user database data and log files into separate volumes.
As for the tempdb database, AWS EC2 uses solid state drives (SSD) so there's no need to create...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
March 25, 2026 at 10:06 pm
There's usually a maintenance job of some sort that runs nightly. For example, I have the History Cleanup job running daily at 4am.
I would just add a job step to...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
October 3, 2024 at 9:34 pm
Just set all grantor to SA. Who really minds who granted what permission. It's going to be a DBA with sysadmin access doing it.
update internal.project_permissions
set grantor_sid = 0x01
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
September 10, 2024 at 5:26 pm
Just set all grantor to SA.
Who really minds who granted what permission? It's going to be a DBA with sysadmin access doing it.
update internal.project_permissions
set grantor_sid = 0x01
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
September 10, 2024 at 5:25 pm
Try beefing up your DR with more CPU and RAM so it can restore faster. Some companies setup DR servers on lower resources from PRD in order to save costs. ...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
June 19, 2024 at 9:46 pm
A server upgrade would just be a once in a while event and not recurring with high frequency. I'd recommend using SSDT and using the Business Intelligence > Integration Service...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
June 19, 2024 at 9:32 pm
DMK is only needed if you want to maintain sensitive values in your package as you restore the SSISDB database to another server instance. If DMK is not restored, the...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
June 10, 2024 at 6:10 pm
Try not to specify the idPool column twice in the same Update statement and get rid of the Select statement.
The select statement where criteria is the same as the update...
Tung Dang
Azure and SQL Server DBA Contractor / Consultant
SQL Brainbox - SQL Server Monitoring Tool
June 10, 2024 at 5:41 pm
Viewing 15 posts - 1 through 15 (of 27 total)