article thumbnail

Update Percona Monitoring and Management Agent Settings for Already-Added Instances

Percona

For example, a table statistics limit is introduced to avoid querying information_schema.tables that may impact DB performance, especially with a high number of DBs / tables present in an instance. In the example, we run PMM server in a docker container. What if you want to change the value later on?

article thumbnail

Matching Supply With Demand — Solutions, Part 3

SQL Performance

The tricky part about this solution is its performance degrades as the largest interval length increases. 1 D 5.000000 2 D 3.000000 3 D 8.000000 5 D 2.000000 6 D 8.000000 7 D 4.000000 8 D 2.000000 1000 S 8.000000 2000 S 6.000000 3000 S 2.000000 4000 S 2.000000 5000 S 4.000000 6000 S 3.000000 7000 S 2.000000. seconds to complete.

C++ 138
Insiders

Sign Up for our Newsletter

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

Trending Sources

article thumbnail

When Do SQL Server Sorts Rewind?

SQL Performance

For more background on these performance spools see my prior article. The first three items are most often performance spools, though they can be introduced for other reasons (when they may be eager as well as lazy). The documentation says only the following operators can rewind: Table Spool. Row Count Spool. Nonclustered Index Spool.

Servers 106
article thumbnail

Save Money in AWS RDS: Don’t Trust the Defaults

Percona

Default settings can help you get started quickly – but they can also cost you performance and a higher cloud bill at the end of the month. I’ll show you some MySQL settings to tune to get better performance, and cost savings, with AWS RDS. This was exactly what was happening on this server. Buffer Pool Size | 92.0G

AWS 116
article thumbnail

Is Thread Pool Plugin the Right Choice for Your Workload?

Percona

TL&DR : Depending on the workload, the thread pool plugin can cause serious performance drops. Two setups running in cluster mode: one in MariaDB+Galera and one with Percona XtraDB Cluster (Percona Server+Galera). In each situation, I’ve seen huge drops in the performance where the QPS were going to almost zero.

article thumbnail

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. I have SQL Server 2019 CTP 3.2 Now that 2019 CTP 3.2

Servers 95
article thumbnail

Dealing With “Too Many Connections” Error in MySQL 8

Percona

Your MySQL connection id is 144 Server version: 8.0.29-21 21 Percona Server (GPL), Release 21, Revision c59f87d2854 Copyright (c) 2009-2022 Percona LLC and/or its affiliates Copyright (c) 2000, 2022, Oracle and/or its affiliates. Your MySQL connection id is 145 Server version: 8.0.29-21 Commands end with ; or g.

C++ 89