Important Health Checks for your MySQL Master-Slave Servers

Scalegrid

In a MySQL master-slave high availability (HA) setup, it is important to continuously monitor the health of the master and slave servers so you can detect potential issues and take corrective actions. MySQL Master Server Health Checks. Assuming that the monitoring script is running on the same server as your MySQL server, you can check for the following: Ensure the MySQL service is running. Important Health Checks for your MySQL Master-Slave Servers Click To Tweet.

Managing MySQL Server Logs: Rotate, Compress, Retain & Delete

Scalegrid

MySQL Server generates several logs that can help you monitor the activities of the server. Setting Up MySQL Server Logging. Managing MySQL Server Logs: Rotate, Compress, Retain & Delete Click To Tweet. Check out these other posts to learn more about optimizing your MySQL deployments: Calculating InnoDB Buffer Pool Size for your MySQL Server. MySQL Tutorial – Configuring and Managing SSL On Your MySQL Server.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Important Health Checks for your MySQL Master-Slave Servers

High Scalability

In a MySQL master-slave high availability (HA) setup, it is important to continuously monitor the health of the master and slave servers so you can detect potential issues and take corrective actions. MySQL Master Server Health Checks. In this blog post, we explain some basic health checks you can do on your MySQL master and slave nodes to ensure your setup is healthy.

Execution Plans in SQL Server

SQL Shack

Introduction In this article, I’m going to explain what the Execution Plans in SQL Server are and how to understand the details of an execution plan by reading the various metrics available once we hover over the components in the plan. Execution plans SQL Server Management Studio (SSMS

Understanding the deadlock definition in SQL Server

SQL Shack

This article explains the deadlock definition in SQL Server, and it also mentions how to capture deadlock with extended events. Deadlock is a resource contention issue that occurs between two or more than two processes. To handle this problem, we need to clearly understand how it occurs.

Overview of SQL Server Clustered index

SQL Shack

This article targets the beginners and gives an introduction of the clustered index in SQL Server. Introduction An index plays a crucial role in SQL Server query performance. Indexes Performance SQL Server Management Studio (SSMS

tempdb Enhancements in SQL Server 2019

SQL Performance

I have been making the same recommendations about tempdb since I started working with SQL Server over 15 years ago, when I was working with customers running version 2000. From the customer side, this has been the limit of what can be done*, until SQL Server 2019.

Memory-Optimized TempDB Metadata in SQL Server 2019

SQL Shack

By removing disk-based storage and the challenge of copying data in and out of memory, query speeds in SQL Server can be improved by orders of magnitude. Migration Performance SQL Server 2019

Re-Slaving a Crashed MySQL Master Server in Semisynchronous Replication Setup

Scalegrid

However, discarding a server like this is expensive and inefficient. In this blog post, we will explain an approach to detect and fix transactions on the crashed MySQL master server in a semisynchronous replication setup, and how to re-slave it back into your master-slave setup. Re-Slaving a Crashed #MySQL Master Server in Semisynchronous Replication Setup Click To Tweet. Remember that you need to retain the UUID of this server as before. In a MySQL 5.7

SQL Server Execution Plans Interview Questions

SQL Shack

In this article, we will discuss a few very common questions that you may be asked during a SQL Server administrator or developer technical job interview. Q1: What is a SQL Server Execution Plan?

SQL Server 2019 Cumulative Update #3

SQL Performance

SQL Server 2019 Cumulative Update #3 is available, with 56 enhancements. The post SQL Server 2019 Cumulative Update #3 appeared first on SQLPerformance.com. SQL Server 2019The build number is 15.0.4023.6.

SQL Server 2019 Cumulative Update #1

SQL Performance

Earlier this week, Microsoft announced SQL Server 2019 Cumulative Update #1. To update your local Docker image: docker pull mcr.microsoft.com/mssql/server: 2019 -latest. The post SQL Server 2019 Cumulative Update #1 appeared first on SQLPerformance.com.

SQL Server 2019 Cumulative Update #2

SQL Performance

SQL Server 2019 Cumulative Update #2 is now available, with 134 fixes and improvements. The post SQL Server 2019 Cumulative Update #2 appeared first on SQLPerformance.com. SQL Server 2019Build # is 15.0.4013.40.

Common SQL Server Mishaps

SQL Performance

I've been teaching and writing about common SQL Server mistakes for many years. This article will expand on my previous article and point out how these apply to SQL Server , Azure SQL Database , and Azure SQL Managed Instance. SQL Server Agent alerts. SQL Server Agent Alerts.

Table-Valued Parameters in SQL Server

SQL Shack

Table-Valued Parameters aka TVPs are commonly used to pass a table as a parameter into stored procedures or functions. They are helpful in a way, we can use a table as an input to these routines and we can get rid of dealing more complex steps to achieve this process.

SQL Server On Linux: Forced Unit Access (Fua) Internals

SQL Server According to Bob

SQL Server relies on Forced-Unit-Access (Fua) I/O subsystem capabilities to provide data durability, detailed in the following documents: SQL Server 2000 I/O Basic and SQL Server I/O Basics, Chapter 2. Microsoft SQL Server Database Engine Input/Output Requirements.

Monitoring activities using sp_WhoIsActive in SQL Server

SQL Shack

In this article, we will talk about sp_WhoIsActive stored procedure and how we can use it to monitor currently running activities in SQL Server.

How It Works: SQL Server Lock Partitioning

SQL Server According to Bob

The partitioned memory and latch objects protect in-memory structures for short durations and can be sized according to available memory for SQL Server. Bob Dorr – Principal Software Engineer SQL Server

Performance Monitoring via SQL Server Query Store

SQL Shack

SQL Server Query Store is a performance monitoring tool that helps us evaluate the performance of a SQL query in terms of several different performance metrics such as CPU and Memory Consumption, execution time and the I/O cycles consumed by the query.

Thoughts on SQL Server 2019 Editions

SQL Performance

As I embark on my first PASS Summit in a few years, it is hard to contain my excitement about the newest version of SQL Server. I wrote about this in a post entitled, " A Big Deal : SQL Server 2016 Service Pack 1." SQL Server 2019 Enterprise Edition Standard Edition

KILL SPID command in SQL Server

SQL Shack

Introduction Once we connect to a SQL Server instance, it assigns a unique identification number to each connection. It is the Server Process ID and commonly known as SPID. SPID 1 to 50 is reserved for SQL Server […].

SQL Server Always On Listeners

SQL Shack

This article on SQL Server Always On Listeners includes an overview and various connection configurations for specifying MultiSubnetFailover including SSMS, ODBC, ADO.NET, as well as MultiSubnetFailover limitations and how to connect to all IP addresses via RegisterAllProvidersIP.

Forwarded Records Performance issue in SQL Server

SQL Shack

This article discusses the Forwarded Records and its performance issues for heap tables in SQL Server. Heap introduction and performance issues A page of 8KB is the smallest unit of storage in SQL Server. SQL Server stores the data […].

Overview of Non-Clustered indexes in SQL Server

SQL Shack

This article gives an introduction of the non-clustered index in SQL Server using examples. Introduction In a previous article Overview of SQL Server Clustered indexes, we explored the requirement of an index and clustered indexes in SQL Server.

Azure SQL Server auto-failover groups

SQL Shack

In this article, we will review how to set up auto-failover groups in Azure SQL Server and how failover group is different from active geo-replication in Azure.

Azure 84

Tuning SQL Server Reporting Services

SQL Performance

Many database administrators find themselves having to support instances of SQL Server Reporting Services (SSRS), or at least the backend databases that are required for SSRS. These topics apply to both SQL Server Reporting Services as well as Power BI Report Server.

SQL Server Always On Availability Groups Interview Questions & Answers

SQL Shack

In this article, we will discuss a number of interview questions that you could be asked about the SQL Server Always On Availability Groups feature when attending an interview for the SQL Server database administrator role.

Take the SQL Server Mac challenge

SQL Server According to Bob

When I joined Microsoft in 1993, I would embark on a 25 year journey working only on Windows laptops and Windows Server computers. Last October we released SQL Server 2017 including support for Linux and Docker Containers. docker pull microsoft/mssql-server-linux:2017-latest.

Easily migrate your OneAgent from one tenant or server to another

Dynatrace

OneAgent knows where to connect for further runtime configuration and where to send data because the installer itself is pre-configured to connect to the exact tenant and server that it’s downloaded from. And what if you need to migrate OneAgent from one server to another?

SQL Server dbcc clonedatabase – Gotcha

SQL Server According to Bob

SQL Server dbcc clonedatabase ​​ - ​​ Gotcha The dbcc clonedatabase is a ​​ handy command to clone metadata and ​​ information such as ​​ query disk store. I have been testing ​​ SQL Server ​​ High Availability failovers ​​ in combination with database creates and drops, including clonedatabase.

SQL Mysteries: SQL Server Login Timeouts – A Debugging Story

SQL Server According to Bob

Failures occur from remote clients or sqlcmd executed directory on the server (/opt/mssql-tools/bin). SQL Server 2017 CU10 does not show behavior. · SQL Server 2017 CU12 exhibits the behavior. Server is a Superdome with lots of CPUs and RAM.

A quick overview of In-Memory OLTP in SQL Server

SQL Shack

This is in continuation of the previous articles How to monitor internal data structures of SQL Server In-Memory database objects and SQL Server In-Memory database internal memory structure monitoring.

Top five considerations for SQL Server index design

SQL Shack

Before going through the index design procedure, let us revise the SQL Server index concept. SQL Server index overview SQL index is considered as one of the most important factors in the SQL Server performance […].

Batch Mode Bitmaps in SQL Server

SQL Performance

In traditional row-mode execution plans, SQL Server may introduce a Bitmap operator as part of performing early semi join reduction before a parallel hash or merge join. There have been major improvements since the first appearance of the batch mode execution engine in SQL Server 2012.

Get details of SQL Server Database Growth and Shrink Events

SQL Shack

It is essential for the DBA to need to ensure the SQL Server database performance. Overview of Default trace in SQL Server Starting from SQL Server 2005, SQL Server captures a few critical events in the default traces. […].

An overview of the SQL Server Profiler

SQL Shack

In this article, we will describe SQL Server Profiler and how it can be used. Introduction SQL Server Profiler is a tracing tool provided by Microsoft since SQL Server 2000 version.

SQL Server Index Fill factor with Performance Benchmark

SQL Shack

In this article, we will study in detail about the how SQL Server Index Fill factor works. Index Fill factor SQL Server Index Fill Factor is a percentage value to be filled data page with data in SQL Server.

SQL Server Log Writer Workers

SQL Server According to Bob

SQL Server 2017 leverages up to 4 log writer workers, on hidden schedulers, to assist in transaction log processing activities. You may find the number of log write workers has been increased to 8 when running newer releases of SQL Server to accommodate larger systems. During SQL Server startup the number of log writer workers is determined. SQL Server 2017 General How It Works It Just Runs Faster NUMA Performance Scheduler

SQL Server monitoring tool for CPU performance

SQL Shack

CPU pressure slowing down the server This article is the sequel in a series about SQL Server monitoring tools and common performance issues.

Overview of the Shrink TempDB database in SQL Server

SQL Shack

This article explores the usage of TempDB and different ways to shrink the TempDB database in SQL Server Each instance of Microsoft SQL Server has a system database TempDB. It is a backbone for the SQL Server instance.

SQL Server On Linux: Logger.ini Size and Rollover Additions to SQL Server 2019 CU4

SQL Server According to Bob

SQL Server On Linux: Logger.ini Size and Rollover Additions ​​ to SQL Server 2019 CU4 I can’t take credit for this post as Dylan added the code and provided the write-up to share with you. For SQL Server on Linux, there are ​​ additional logging capabilities. Starting in SQL Server 2019 CU4, when declaring a file output (the first section in the sample logger.ini above), we support the “Maxfilesizemb” and “Maxrolloverfiles” options.

Azure Virtual Machines for SQL Server Usage

SQL Performance

One initial, easy step to moving your SQL Server on-premises workloads to the cloud is using Azure VMs to run your SQL Server workloads in an infrastructure as a service (IaaS) scenario. The post Azure Virtual Machines for SQL Server Usage appeared first on SQLPerformance.com.

SQL Server Linux: fsync and Buffered I/O

SQL Server According to Bob

I was asked to validate the SQL Server behavior in light of the error condition involving fsync/fdatasync outlined in this article. SQL Server does NOT do this, in fact I made sure SQL Server on Linux does not allow this to occur. SQL Server 2017 How It Works SQL Server on Linu

Cache 52