Hi,
The Tables tab in our QAN dashboard shows
Error 1046: No database selected
We use slow log. I found this JIRA [PMM-4832] Query Analytics does not reliably detect the table name - Percona JIRA
and this is what our log looks like for a query that fails to display the Table information
# Time: 2022-06-17T16:28:57.403064Z
# User@Host: orc_client_user[orc_client_user] @ [10.100.24.212] Id: 105118
# Schema: Last_errno: 0 Killed: 0
# Query_time: 0.000179 Lock_time: 0.000062 Rows_sent: 5 Rows_examined: 5 Rows_affected: 0
# Bytes_sent: 1168 Tmp_tables: 0 Tmp_disk_tables: 0 Tmp_table_sizes: 0
# Full_scan: Yes Full_join: No Tmp_table: No Tmp_table_on_disk: No
# Filesort: No Filesort_on_disk: No Merge_passes: 0
# No InnoDB statistics available for this query
# Log_slow_rate_type: query Log_slow_rate_limit: 1000
SET timestamp=1655483337;
select
@@group_replication_group_name as group_name,
@@super_read_only as read_only,
member_host, member_port, member_state, member_role
from performance_schema.replication_group_members;
As you can see, the schema field is empty, but it is specified in the query itself (performance_schema).
Any ideas how I can fix this?
Thanks