Performance Schema'dan InnoDB buffer pool ve redo log'a, group replication üyelerinden binlog tüketimine, SSL bağlantılarından events scheduler'a kadar — MySQL ortamınızın her açısı görünür.
Performance Schema events_statements_summary_by_digest ile DIGEST_TEXT bazlı TOP-N sıralama; toplam ve ortalama latency, rows_examined, rows_sent.
get_top_queriesevents_statements_summary_*Slow query log'dan en uzun sorgular, query_time, lock_time, rows_examined ve indexsiz scan tespiti.
get_diag_slow_queriesYürütme planı (FORMAT=JSON), her node'un cost'u, kullanılan index, tablo erişim türü (ALL, ref, range), filtered yüzdesi.
get_execution_planPerformance Schema events_waits_summary üzerinden wait kategorileri, IO/lock/synch, top wait türleri.
get_wait_statsget_diag_wait_eventsget_active_waitsget_query_wait_statsSHOW PROCESSLIST + Performance Schema threads. Aktif sorgular, durum (Sending data, Locked, Waiting for table metadata lock).
get_diag_processlistget_active_queriesget_live_query_monitortable_io_waits_summary_by_index_usage ile gerçek index kullanımı, hiç kullanılmamış index'ler, missing index önerileri.
get_diag_index_usageget_missing_index_recommendationsInnodb_buffer_pool_pages_data, free, dirty oranı, hit ratio (Innodb_buffer_pool_read_requests / Innodb_buffer_pool_reads). Pool dump/load durumu.
get_buffer_pool_detailinnodb_log_file_size, log buffer kullanımı, log waits, checkpoint age. Redo log file count + dosya bazlı dağılım.
get_redo_log_statusEncryption-at-rest aktif tablespace'ler, master key ID, anahtar rotasyon tarihçesi, encrypted vs unencrypted tablespace dağılımı.
get_innodb_encryptionLatest deadlock info, semaphore waits, transaction history list, log sequence number, pending I/O, OS-level latches.
get_diag_innodb_statusdata_locks, data_lock_waits üzerinden aktif kilitler ve bekleyenler. Blocking session zinciri.
get_diag_locksget_blocking_sessionsinformation_schema.tables üzerinden data_length + index_length, en büyük tablolar, fragmantasyon ipuçları.
get_diag_table_sizesreplication_group_members ile grup üyeleri, role (PRIMARY/SECONDARY), member_state (ONLINE/RECOVERING/OFFLINE), conflict detection.
get_group_replicationMulti-source replication kanalları, IO_THREAD ve SQL_THREAD durumu, applier worker sayısı, last_error.
get_replication_channelsSeconds_Behind_Source / Master, GTID set diff, position lag, Read_Master_Log_Pos vs Exec_Master_Log_Pos.
get_replication_statusSHOW BINARY LOGS ile dosya listesi, toplam boyut, expire_logs_days kontrolü, format (ROW/STATEMENT/MIXED), checksum.
get_diag_binlog_statusAnonymous user kontrolleri, root remote login, default schema'lar (test), mysql_native_password vs caching_sha2_password kullanımı.
get_security_checksSSL/TLS bağlantı aktif mi, cipher suite, sertifika expiry, REQUIRE SSL ayarı, kaç session SSL ile bağlı.
get_ssl_connection_statusmysql.user + information_schema.user_privileges üzerinden GRANT haritası, SUPER / GRANT OPTION sahipleri, root benzeri hesaplar.
get_diag_user_privilegesget_logins_securityaudit_log plugin (Enterprise) veya Community alternatifi MariaDB Audit Plugin kayıtları, son N olay incelemesi.
get_audit_logs(limit)Tüm SHOW GLOBAL VARIABLES çıktısı, performance ayarları, replication yapılandırması.
get_diag_global_variablesSHOW GLOBAL STATUS counters: Threads_*, Innodb_*, Com_*, Handler_*, Slow_queries.
get_diag_global_statusinformation_schema.events üzerinden zamanlanmış olaylar, son çalışma zamanı, sonraki çalışma, status.
get_diag_events_schedulerSağlık skoru: uptime, connection limit, slow query oranı, replication lag, InnoDB log waits.
get_health_check| Yetenek | Açıklama | Kaynak |
|---|---|---|
| Performance & Query | ||
| Top sorgular | Digest bazlı TOP-N | events_statements_summary_by_digest |
| Slow query log | long_query_time aşan sorgular | slow_log table / file |
| EXPLAIN JSON | Plan node + cost | EXPLAIN FORMAT=JSON |
| Wait events | events_waits_summary | performance_schema |
| Process list | Aktif thread'ler | SHOW PROCESSLIST + threads |
| Index usage | table_io_waits_summary | performance_schema |
| InnoDB | ||
| Buffer pool | Hit ratio + dirty pages | information_schema.innodb_buffer_pool_stats |
| Redo log | Checkpoint age + log waits | SHOW ENGINE INNODB STATUS |
| Encryption | Encrypted tablespaces | information_schema.innodb_tablespaces |
| InnoDB status | Deadlocks, semaphores | SHOW ENGINE INNODB STATUS |
| Data locks | Aktif kilitler (8.0+) | performance_schema.data_locks |
| Table sizes | data_length + index_length | information_schema.tables |
| Replication | ||
| Group replication | Grup üyeleri + state | performance_schema.replication_group_members |
| Replication channels | Multi-source kanal durumu | replication_connection_status |
| Replica lag | Seconds_Behind + GTID diff | SHOW REPLICA STATUS |
| Binlog | Dosya listesi + format | SHOW BINARY LOGS |
| Security | ||
| SSL durumu | have_ssl + SSL session count | SHOW GLOBAL VARIABLES / STATUS |
| User privileges | SUPER + GRANT OPTION | mysql.user |
| Anonymous user | Boş username uyarısı | mysql.user |
| Audit log | audit_log plugin | mysql.audit_log |
| Diagnostic & Config | ||
| Global variables | Tüm GUC parametreleri | SHOW GLOBAL VARIABLES |
| Global status | Counters | SHOW GLOBAL STATUS |
| Events scheduler | Zamanlanmış olaylar | information_schema.events |
| Health check | Composite score | — |
5.7'den 8.0'a, MariaDB'den Aurora'ya — tek lisansta tam kapsam.