Remove case-statement-in-sql
article thumbnail

Grafana Dashboards: A PoC Implementing the PostgreSQL Extension pg_stat_monitor

Percona

It collects various statistics data such as query statistics, query plan, SQL comments, and other performance insights. This allows for much better data accuracy, especially in the case of high-resolution or unreliable networks. Query Plan : Each SQL is now accompanied by its actual plan that was constructed for its execution.

article thumbnail

Audit DROP Statements in Percona Server for MySQL

Percona

In this blog post, we dig into the steps to track down the DROP statements in our database server. Managing database servers involves different aspects, among which security is critical. However, we know having a “runaway” grant is always a possibility, especially in environments with a large number of servers. How does it work?

Servers 81
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

Dynamic SQL Workaround in MySQL: Prepared Statements

Percona

Dynamic SQL is a desirable feature that allows developers to construct and execute SQL statements dynamically at runtime. While MySQL lacks built-in support for dynamic SQL, this article presents a workaround using prepared statements. This allows for dynamic execution of diverse operations.

article thumbnail

Deep Dive into MySQL’s Performance Schema

Percona

Instruments are a combination of different sets of components like wait, io, sql, binlog, file, etc. For example, wait/io/file/sql/binlog is one of the instruments providing information regarding the wait and I/O details on binary log files. For example stage/sql/altering table. Instrument for this can be wait/io/file/sql/map.

article thumbnail

MySQL Backups: Methods & Best Practices

Scalegrid

Knowing you have a backup plan in place in case something goes wrong will also give you peace of mind. Key Takeaways Understanding the range of MySQL backup types and strategies is essential for optimal data security and efficiency, including full, incremental, differential, and partial backups, each with its advantages and use cases.

article thumbnail

MOVEit vulnerability: Observability context fills log data gaps for MOVEit Transfer vulnerability

Dynatrace

The MOVEit vulnerability is a critical SQL injection flaw in the web application MOVEit Transfer , which MITRE published as CVE-2023-34362 on May 31, 2023. The MOVEit vulnerability is a critical SQL injection flaw in the web application MOVEit Transfer , which MITRE published as CVE-2023-34362 on May 31, 2023. ai and others.

Database 158
article thumbnail

Fundamentals of Table Expressions, Part 11 – Views, Modification Considerations

SQL Performance

FastOrders ( orderid , orderdate , shippeddate ) VALUES ( 7 , '20210805' , '20210815' ) ; The statement completes successfully, reporting one row affected. This article is the eleventh part in a series about table expressions. So far, I’ve covered derived tables and CTEs, and recently started the coverage of views.

Servers 130