Skip to content

RootDBA

DBA expertise: PostgreSQL, SQL Server & MySQL

Menu
  • Home
  • blog
  • PostgreSql
  • MySql
  • Sql Server
  • About AHMED – Root DBA
Menu

Author: AHMED

Hunting SQL Server Deadlocks with PSBlitz (by VladDBA)

Posted on September 14, 2025 by AHMED

Welcome back to the Deadlock Buster series. Today we’re looking at PSBlitz, a PowerShell tool by Vlad Drumea. PSBlitz runs Brent Ozar’s SQL Server First Responder Kit under the hood to generate a comprehensive SQL Server health report. It’s fast, practical, and built for DBAs who want signal over noise. You can export the results to HTML or Excel for easy review and sharing….

Read more

How to install pgEdge Distributed Postgres

Posted on September 13, 2025September 13, 2025 by AHMED

pgEdge delivers multi-primary (aka master-master) Postgres replication, so every node is read/write. Unlike Patroni or traditional streaming replication—where one primary handles writes and the rest are read-only—pgEdge lets all nodes accept writes. That enables true geo-distribution for lower latency and better performance, and it simplifies operations: fewer failovers, less downtime, and no single leader to…

Read more
Deadlocks

How to Capture SQL Server Deadlocks Using Extended Events

Posted on September 9, 2025 by AHMED

Deadlocks are one of the worst scenarios a DBA will face. They happen when two sessions are fighting for resources and each one is holding a lock the other needs. At that point, the SQL Server engine will choose one session to kill — this is called the deadlock victim. The reality is you cannot eliminate…

Read more

Data Partition

Posted on September 4, 2025 by AHMED

As a database grows in size due to frequent insertions, deletions, and updates, even straightforward SELECT queries can become slower. When a table grows to a point where it’s unwieldy, the overall size of the database increases significantly. This is where table partitioning can be incredibly beneficial. Partitioning involves dividing a large table into smaller,…

Read more

How to configure Log shipping in Sql Server

Posted on September 2, 2025 by AHMED

SQL Server log shipping is one of the DR  solutions which involves two or more SQL Server instances; the source server is called the Primary Server and the destination is called Secondary server(s). Log shipping involves the transferring of the transaction log file from the primary server to the secondary server. Log Shipping is a…

Read more

SQL Server Contained Availability Groups

Posted on September 2, 2025 by AHMED

Contained Availability Groups (CAGs) in SQL Server 2022 allow you to create an availability group that is independent of the instance, separating logins, jobs, and database mail from the main SQL Server instance. This is particularly useful when you want to create an availability group for a specific application while keeping its authentication and configurations…

Read more

enable and configuring auditing and masking in mysql

Posted on September 2, 2025 by AHMED

enable auditing can be done on both community and enterprise edition and its strait forward option for best approach we will use enable auditing permanently enabling auditing navigate to the below directory cd /usr/share/mysql-8.0/ run the below command to run script to install audit plugin mysql -u root -p -D mysql < audit_log_filter_linux_install.sql verify that…

Read more

MONITOR MYSQL

Posted on September 2, 2025 by AHMED

Getting MySQL Report from pt-mysql-summary This tool will generate report what is configuration for MySQL instance , how many replica MySQL has Or if the MySQL itself is replica , how many uses are connected What are the users doing How many databases How bug us innodb buffer pool size What is the version of…

Read more

mysql replication troublshooting

Posted on September 2, 2025 by AHMED

to achieve the best result in troubleshooting it is highly recommended to install percona toolkit it contains tool that will help resolve replication error Coordinator stopped because there were error(s) in the worker(s). when we use the command show replica status\G we found The error message you received indicates that there was a failure in…

Read more

MySQL master slave repliaction

Posted on September 2, 2025 by AHMED

installing MySQL Enterprise db1 & db2 we already downloaded the MySQL enterprise iso and added it on vm we have added three spread disk on the vm that we use to create separate directory for the following MySQL data dir MySQL bin-log MySQL backup also make sure to disable selinuix once we have setup the…

Read more
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
© 2025 RootDBA | Powered by Minimalist Blog WordPress Theme