Remove understanding-sql-server-case-statement
article thumbnail

Audit DROP Statements in Percona Server for MySQL

Percona

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. Fortunately, in Percona Server for MySQL , this feature is free to use. How does it work?

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

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

Deep Dive into MySQL’s Performance Schema

Percona

I realized that it is important to understand the insights of the performance schema and how we can make effective use of it. This blog should make it easier to understand for everyone. Instruments are a combination of different sets of components like wait, io, sql, binlog, file, etc. For example stage/sql/altering table.

article thumbnail

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

SQL Performance

To understand the circumstances where you would want to use the CHECK OPTION as part of a view’s definition, we’ll first examine what can happen when you don’t use it. FastOrders ( orderid , orderdate , shippeddate ) VALUES ( 7 , '20210805' , '20210815' ) ; The statement completes successfully, reporting one row affected.

Servers 130
article thumbnail

The Lock Escalation Threshold – Part 1

SQL Performance

I happen to be using SQL Server 2019 CU16 but the details I’ll describe haven’t materially changed since partition level lock escalation was added to SQL Server 2008. BEGIN TRANSACTION ; -- Test statement(s). WITH ( REPEATABLEREAD ) ; -- End test statement(s). -- Show locks held by the current transaction.

article thumbnail

Feedback Wanted: Making EXPLAIN Require Less Privileges for INSERT/UPDATE/DELETE Statements

Percona

Introduction/TLDR: We are considering changing EXPLAIN in Percona Server for MySQL to require less privileges for providing execution plans for INSERT/UPDATE/DELETE statements (and possibly changing the behavior for EXPLAIN SELECT as well), to make it more convenient and safer to use with monitoring and query analysis tools.

article thumbnail

Fundamentals of table expressions, Part 9 – Views, compared with derived tables and CTEs

SQL Performance

As I explained, derived tables and CTEs are statement-scoped named table expressions. Once the statement that defines them finishes, they’re gone. As usual when discussing relational theory, we SQL practitioners are often told that the terminology we’re using is wrong. The statement with the outer query against the view.

Database 140