Remove sql-select-into-statement
article thumbnail

SELECT INTO TEMP TABLE statement in SQL Server

SQL Shack

In this article, we will explore the SELECT INTO TEMP TABLE statement, its syntax and usage details and also will give some simple basic examples to reinforce the learnings. Introduction SELECT INTO statement is one of the easy ways to create a new table and then copy the source table data into this newly created […].

Servers 88
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. Query Plan : Each SQL is now accompanied by its actual plan that was constructed for its execution. Query Plan : Each SQL is now accompanied by its actual plan that was constructed for its execution.

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

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. cat my.cnf … audit_log_format = JSON ### After restart: mysql> select @@audit_log_format; + --+ | @@audit_log_format | + --+ | JSON | + --+ 1 row in set (0.02 How does it work? The drop events are listed below.

Servers 85
article thumbnail

Introducing the MySQL Audit Log Filter Plugin

Percona

Create rules to replace sensitive data in SQL statements written to the log. Write information that you got with SQL query via Query Attributes to the audit log. Filtering rules may be manipulated using an SQL interface based on function calls. Block events that match specific criteria. Assign it as default.

article thumbnail

Log forensics: Finding malicious activity in multicloud environments with Dynatrace Grail

Dynatrace

As Ludo Clinic started using Dynatrace, the platform’s Runtime Application Protection feature detected a SQL-injection (SQLI) attack. Hint one: Blocked SQL injection report details Here’s the report from Dynatrace on the blocked SQL injection details on 10 February from the IP 104.132.226.34.

Analytics 229
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.