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.

167
167

New Bit Manipulation Functions in SQL Server 2022

SQL Performance

Even SQL Server stores some flag-based data using bitwise representation. Setting the server configuration option “ user options” using bitwise representation. Prior to SQL Server 2022, T-SQL had minimal support for bit manipulation. SQL Server 2022 bit manipulation bitwise

95
Insiders

Sign Up for our Newsletter

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

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.

179
179

Additional T-SQL Improvements in SQL Server 2022

SQL Performance

Recently I covered some of the T-SQL improvements in SQL Server 2022 here , and Aaron Bertrand covered additional improvements here. Microsoft just announced the release of SQL Server 2022 CTP 2.1. For example, suppose that prior to SQL Server 2022 you had the following query: SELECT.

109
109

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.

160
160

T-SQL Windowing Improvements in SQL Server 2022

SQL Performance

Microsoft recently released the first public preview of SQL Server 2022. This clause is now available in Azure SQL Database and SQL Server 2022, provided you use database compatibility level 160 or higher. Conclusion and Other T-SQL Improvements in SQL Server 2022.

114
114

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

114
114

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.

137
137

Configure cross-platform SQL Server Always On Availability Groups

SQL Shack

This article for the Always On Availability Groups series will show how to configure SQL Server Always On Availability Groups between Windows and Linux SQL instances. Introduction Microsoft supports SQL Server on Linux, and it has many of the same features as the Windows version.

67

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. Durability is a cornerstone of any database system and starting with SQL Server 2017 on Linux Cumulative Update 6 (CU6), SQL Server on Linux enables “Forced Flush” behavior as described in this article , improving durability on non-Fua optimized systems. “Be

73

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.

164
164

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

79

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.

82

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.

87

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

88

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

87

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.

76

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

40

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!

40

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.

40

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.

102
102

Unrevealed tips of SQL Server Statistics

SQL Shack

In this article, we will explore some internal working principles of SQL Server statistics. The Cardinality Estimator (CE) is the core subunit of the SQL Server query optimizer and its responsibility is to predict how many rows will be returned from a query.

75

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

76

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 […].

63

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.

142
142

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? ”

85

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.

40

The SQL Server Transaction Log, Part 4: Log Records

SQL Performance

You can read a bit more about rollbacks in my article A Complete Introduction to SQL Server Transactions on the SentryOne blog, and I’ll cover them in depth in the next article. There are between 70 and 100 log record types, depending on the version of SQL Server (there’s no documented list).

76

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 […].

70

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

104
104

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.

40

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.

68

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

40

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.

89

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.

56

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.

43

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

40

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.

83

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.

40

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

59

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

67

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.

90

SQL Server statistics from a different perspective

SQL Shack

The goal of this article is to throw light on the less-known points about SQL Server statistics. Introduction SQL Server statistics are one of the crucial database objects because they are one of the extremely important inputs of the query optimizer.

58