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.

Insiders

Sign Up for our Newsletter

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

How to Check DAG Health Status for All Exchange Servers

DZone

Database Availability Group (DAG) is a built-in framework in Microsoft Exchange Server that uses continuous replication and failover clustering to ensure high availability and site resilience. In Exchange Server, DAG refers to a cluster of Exchange Servers (up to 16 Exchange Mailbox Servers) that hosts a set of database copies and provides protection against switchover and failover.

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.

Monitoring Web Servers Should Never Be Complex

DZone

If you run several web servers in your organization or even public web servers on the internet, you need some kind of monitoring. If your servers go down for some reason, this may not be funny for your colleagues, customer, and even for yourself. Introduction.

React Server Components

Addy Osmani

React Server Components aim to enable modern UX with a server-driven mental model. In this post I will share some notes I took while catching up on the latest RFC and talk around this work

Hybrid Buffer Pool in SQL Server 2019

SQL Shack

This article explores the Hybrid Buffer Pool feature available in the SQL Server 2019. Introduction SQL Server uses Dynamic Random Access Memory (D-RAM) buffer pool for caching data pages retrieved from the disk. Buffer Pool Extension (BPE) Execution plans Performance SQL Server 2019

Cache 78

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.

Key Performance Measurements for App Servers: Cause, Impact, and Resolution

DZone

Server page faults/second. database performance garbage collection memory leaks app server performance monioringBelow are some of the key metrics that need to be monitored during performance testing: CPU utilization. Heap memory utilization. Number of active/daemon threads. Number of classes loaded. Cache hit ratio. Active total sessions. SSL transactions/second. Active/total DB pool connections. Application log. Load balancing. Requests/second.

Fundamentals of SQL Server Statistics

SQL Shack

In this article, we will take a glance at the fundamentals of SQL Server statistics and discover their interaction with the query processing steps with simple examples.

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 Previous posts have discussed partitioning, for example, a partitioned memory object [link] and how a latch maintains the desired access (exclusive, shared, …) [link]. Quick Refresher Over Partitioned Protection/Locking.

SQL Server Extended Events tips

SQL Shack

This article aims to provide some beneficial tips about SQL Server extended events that make it easier to create and use event sessions. Introduction SQL Server extended events is a performance monitoring tool that has the ability to collect various event data of the SQL Server.

Scalar UDF Inlining in SQL Server 2019

SQL Shack

In this article, we will explore a new SQL Server 2019 feature which is Scalar UDF (scalar user-defined) inlining. Development Functions Performance SQL Server 2019

Column-level SQL Server encryption with SQL Server Always On Availability Groups

SQL Shack

It is the 30th article in the SQL Server Always On Availability Groups series and explores column-level SQL Server encryption with AG groups. Always On Availability Groups Security SQL Server 2019

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

Bad Habits: Avoiding NULL in SQL Server

SQL Performance

The post Bad Habits: Avoiding NULL in SQL Server appeared first on SQLPerformance.com. A long time ago, I answered a question about NULL on Stack Exchange entitled, “ Why shouldn’t we allow NULLs? ”

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. Since then, I have spent a great deal of my time talking to customers directly and at events about SQL Server on Linux. So here in this blog post, I will show you my journey in taking the SQL Server Mac Challenge. Take the SQL Server Mac Challenge!

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. The SQL Server team has made many changes over the years to try and mitigate issues, but the abuse continues. I have SQL Server 2019 CTP 3.2

SQL Server Linux: Directory fsync Activities

SQL Server According to Bob

The SQL Server Host Extension provides file level integrity. Bob Dorr – Principal Software Engineer SQL Server. SQL Server 2017 How It Works SQL Server on LinuxWhen Creating, Renaming or Deleting (remove/unlinking) a file, Linux requires the direct parent directory to be synchronized. As documented in the manpage for fsync core changes to the directory require the directory itself to be synchronized.

Install SQL Server 2019 on Windows Server 2016 with SQL Server Always On Availability Groups

SQL Shack

In this article, we will proceed with configuring a SQL Server Always On Availability Groups and perform failover validations. A comprehensive guide to SQL Server Always On Availability Groups on Windows Server 2016 Configuration of virtual machines on Oracle […].

Monitoring SQL Server blocking problems

SQL Shack

In this article, we will learn how to monitor SQL Server blocking issues with different methods. How does a blocking occur in SQL Server? SQL Server uses the lock mechanism to protect […].

HOW IT WORKS: SQL Server Scheduler Affinity

SQL Server According to Bob

HOW IT WORKS: SQL Server Scheduler Affinity SQL Server uses 3 types of affinity to control where the SQL Server worker threads execute. Node Types SQL Server makes a specific distinction between scheduling and memory nodes. SQL Server may choose to divide the memory node allow ing ​​ for better partitioning and performance. This allows you to scale up or down the SQL Server schedulers without restarting the SQL Server.

Azure 40

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. One of the first stops in debugging this issue is the SQL Server health session traces located in the /var/opt/mssql/log/system_health*.xel sp_server_diagnostics_component_result.

Deep Dive into SQL Server Statistics

SQL Shack

In this article, we will go through some details about SQL Server statistics. The first step into SQL Server statistics The query plan is a set of instructions that describes how a query will be executed by the database engine.

Query Tuning with SQL Server 2019

SQL Shack

In this article, we will talk about the query tuning features that were announced with SQL Server 2019. Performance SQL Server 2019Introduction Sometimes, tuning the queries can be a tough task for database developers or administrators.

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 Extended Events Causality Tracking

SQL Shack

This article explores the Causality tracking option in the SQL Server Extended Events session(XEvents) and its usefulness in troubleshooting performance issues.

SQL Server Trivial Execution Plans

SQL Shack

In this article, we will go through the details of the trivial execution plans and we will also tackle some examples about the trivial plans to explore effects on query performance.

Rethinking Server-Timing As A Critical Monitoring Tool

Smashing Magazine

Rethinking Server-Timing As A Critical Monitoring Tool. Rethinking Server-Timing As A Critical Monitoring Tool. In the world of HTTP Headers, there is one header that I believe deserves more air-time and that is the Server-Timing header. Setting Server-Timing.

Cache 59

SQL Server Worker Thread Default Calculation

SQL Server According to Bob

SQL Server 2017 introduced a small change to SQL Server’s default worker thread calculation, accounting for smaller environments. When running on smaller environments SQL Server reduces the worker target. For an X64 installation, using the sp_configure ‘max worker threads’ value of 0 SQL Server uses the following calculation. On small environments SQL Server always uses 256 as the target. SQL Server 2017

Introduction to SQL Server Filtered Indexes

SQL Shack

This article intends to give information about the SQL Server filtered indexes and their performance impacts. Introduction Indexes are the special data structures that help to improve the performance of the queries in SQL Server.

SQL Server for Linux Performance Monitoring Improvements

SQL Server According to Bob

SQL Server for Linux Performance Monitoring ​​ Improvements Last year I posted a blog ​​ with examples ​​ using ​​ Performance Co-Pilot, ​​ [link] , to monitor SQL Server on Linux.

SQL Server on Linux: Why Do I Have Two SQL Server Processes

SQL Server According to Bob

When starting SQL Server on Linux why are there two (2) sqlservr processes? systemctl status mssql-server mssql-server.service – Microsoft SQL Server Database Engine … CGroup: /system.slice/mssql-server.service ??85829 For those signals that default to capturing a full process CORE DUMP, SQL Server on Linux installs alternate signal handlers. Bob Dorr – Principle SQL Server Software Engineer. Linux SQL Server 2017 SQL Server on Linux

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.

Microsoft SQL Server Trace Flags and usage details

SQL Shack

In this article, we will explore Microsoft SQL Server trace flags with all aspects, and we will learn also how to use them. Introduction Trace flags are the advanced configuration options that are used to change specific behaviors of the SQL Server.

How It Works: SQL Server Stack Trace – COMDAT Elimination

SQL Server According to Bob

How It Works: ​​ SQL Server Stack Trace – COMDAT ​​ Elimination Starting with ​​ SQL Server ​​ 2019, SQL Server is ​​ built with the ​​ COMDAT, ICF linker option ​​ enabled, reducing size/space usage. Caution: When symbolizing SQL server stack traces keep COMDAT elimination in mind when evaluating the validity of the stack.

SQL Server Dedicated Administrator Connections for Azure SQL Database

SQL Shack

This article explains SQL Server Dedicated Administrator Connections and how you can use it for Azure SQL Database. To begin an investigation, you try to connect the SQL Server using SQL Server Management Studio.

Azure 73

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. This issue does NOT impact SQL Server database, log and backup files. SQL Server opens these file types using O_DIRECT to bypass file system cache. Bob Dorr – Principal Software Engineer SQL Server.

Cache 40

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

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

SQL Server Instant File Initialization: SetFileValidData (Windows) vs fallocate (Linux)

SQL Server According to Bob

SQL Server Books Online documents Instant File Initialization and the associated security considerations. SQL Server performs the following API calls when creating or extending (growing) data and log files. If the file is a log file (LDF) SQL Server always writes a known pattern (other than zeros) to the allocated space. Trace flag: 1805 ( undocumented in SQL Server Books Online ): Disables instant file initialization for data files.

SQL Server BDC Hints and Tips: TEMPDB Disk Usage

SQL Server According to Bob

SQL Server BDC Hints and Tips:​​ TEMPDB​​ Disk Usage I was troubleshooting ​​ a ​​ master-0 pod eviction ​​ due to ​​ disk pressure. ​​​​ Looking at the disk metrics I was able to map the time ​​ of ​​ the disk ​​ space increase to the startup of SQL Server, specifically TEMPDB. SQL Server BDC Hints and Tips BDC k8s tempdb