Exploring MySQL Binlog Server – Ripple

Scalegrid

MySQL does not limit the number of slaves that you can connect to the master server in a replication topology. A classic solution for this problem is to deploy a binlog server – an intermediate proxy server that sits between the master and its slaves.

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.

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

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.

Explore SQL Server Index Properties in SSMS

SQL Shack

This article gives you an insight into SQL Server Index properties in SSMS. Introduction We can create indexes in SQL Server using both GUI and t-SQL method. Development Indexes SQL Server Management Studio (SSMS

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

Monitor Your Servers With Cockpit

DZone

Following on my previous article. Run your own Video Conference Service with Jitsi , I started looking for a reliable solution to monitor my instance that runs Jitsi. I needed basic information on RAM, CPU, Disk, Networking, and I/O to assess the performance bottleneck for the serve.

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.

SQL Server Hardware Performance Tuning

SQL Shack

SQL Server Performance Tuning can be a difficult assignment, especially when working with a massive database where even the minor change can raise a significant impact on the existing query performance.

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

SQL Server performance tuning – RESOURCE_SEMAPHORE waits

SQL Shack

When dealing with SQL Server performance tuning waits, we may see RESOURCE_SEMAPHORE waits along with other related monitoring that indicates memory as a possible pain point for our server (such as the below image that shows memory being one of the top waits overall).

Getting started with SQL Server Query Tuning

SQL Shack

Query tuning is a very wide topic to talk about, but some essential techniques never change in order to tune queries in SQL Server. This article will cover some essential techniques for SQL query tuning.

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

SQL Table Variable Deferred Compilation in SQL Server 2019

SQL Shack

In an article, An overview of the SQL table variable, we explored the usage of SQL table variables in SQL Server in comparison with a temporary table. Development Performance SQL Server 2019

Impact of the Column order in Composite Index SQL Server

SQL Shack

In this article, we will explore Composite Index SQL Server and key order impacts on it. We will also view SQL Server update statistics to determine an optimized execution plan of the Compositive index.

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.

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?

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.

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

New Metadata-Only Column Changes in SQL Server 2016

SQL Performance

When we ask SQL Server to change some aspect of a column's definition, it needs to check that the existing data is compatible with the new definition. Improvements in SQL Server 2016. SQL Server will need to check all the existing values to ensure no nulls are present.

How Server Location Affects your Users’ Experience

DZone

So you finally launched your service worldwide, great! The next thing you’ll see is thousands and thousands of people flooding into your amazing website from all corners of the world expecting to have the same experience regardless of their location. Here is where things get tricky.

Importance of SQL Server Max Degree of Parallelism

SQL Shack

In this article, we will discuss how the Max Degree of Parallelism works in SQL Server and how does it improve the query performance.

SQL Server 2019 Cumulative Update #4

SQL Performance

SQL Server 2019 Cumulative Update #4 is available, with 50 enhancements. The post SQL Server 2019 Cumulative Update #4 appeared first on SQLPerformance.com. SQL Server 2019The build number is 15.0.4033.1.

Memory-Optimized Table Variables in SQL Server

SQL Shack

Disk-based table variables are created in the TempDB database by SQL Server and their life cycle begins and ends on this database. This article will cover the usage details and performance advantages of the memory-optimized table variables.

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 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 #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 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.

AWS Launch Wizard for quick SQL Server Always On deployments

SQL Shack

SQL Server Always On is a high-availability and disaster recovery solution. For on-premises infrastructure, you can follow articles here, AlwaysOn Availability Groups, and configure SQL Server always-on functionality.

AWS 66

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.

Configuring SQL Server Always On Availability Groups on AWS EC2

SQL Shack

In this article, we will review how to set up multi-subnet Always On Availability groups using AWS EC2 instances and AWS FSx as file share witness.

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.

SQL Server TempDB database and Latch Contention

SQL Shack

In this article, we will learn latch contention issues that we might experience in the SQL Server TempDB database. Especially, we will mention the Memory-Optimized TempDB Metadata feature that was introduced with the SQL Server 2019.

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

Difference between Unique Indexes and Unique Constraints in SQL Server

SQL Shack

This article gives you an overview of Unique Constraints in SQL and also the Unique SQL Server index. Introduction Constraints in SQL Server allows defining the rules at the column level in the SQL table.

How to identify and resolve SQL Server Index Fragmentation

SQL Shack

In this article, we will learn how to identify and resolve Index Fragmentation in SQL Server. Microsoft SQL Server keeps updating the index statistics with the Insert, Update or Delete activity over the table.

SQL Server Query Tuning tips for beginners with practical examples

SQL Shack

In this article, we will continue to learn essential techniques of the SQL Server query tuning with practical examples.

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

Redis Transactions & Long-Running Lua Scripts

Scalegrid

If the script has already performed writes to the server and must still be killed, use the SHUTDOWN NOSAVE to shutdown the server completely. Later when the ‘lua-time-limit’ has passed, the server will start responding with BUSY errors.

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.

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.

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 Update Statistics using database maintenance plans

SQL Shack

This article explores SQL Server Update Statistics using the database maintenance plan. Introduction SQL Server query optimizer uses statistics to build an optimized execution plan. SQL Server automatically creates and updates the statistics based on a predefined threshold.