Query cache unavailable for XtraDB tables

Bug #809734 reported by Alexey Kopytko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Won't Fix
Undecided
Unassigned

Bug Description

When
- using innodb_file_per_table and
- database name contains a dot
queries on tables in the database do not get saved into query cache.

A dot in the database directory name gets replaced by "@002e".

mysqld Ver 5.5.13-55-log for Linux on x86_64 (Percona Server (GPL), Release 20.4)

have_query_cache = YES
query_cache_limit = 1048576
query_cache_min_res_unit = 4096
query_cache_size = 133169152
query_cache_strip_comments = OFF
query_cache_type = ON
query_cache_wlock_invalidate = OFF

Qcache_free_blocks = 1
Qcache_free_memory = 133151344
Qcache_hits = 0
Qcache_inserts = 0
Qcache_lowmem_prunes = 0
Qcache_not_cached = 33751
Qcache_queries_in_cache = 0
Qcache_total_blocks = 1

Revision history for this message
Alexey Kopytko (sanmai) wrote :

A workaround is to dump/restore that database with a new name.

Changed in percona-server:
assignee: nobody → Valentine Gostev (longbow)
Revision history for this message
Alexey Kopytov (akopytov) wrote :
Changed in percona-server:
status: New → Confirmed
assignee: Valentine Gostev (longbow) → nobody
Revision history for this message
Stewart Smith (stewart) wrote :

I'm going to close this as Won't Fix as it's a relatively broad category of bugs that would take a very long time to shake out. The converting back and forth between various table formats in MySQL works largely by accident and is a great source of obscure bugs. We'll naturally merge any upstream bug, but considering this is just to do with the query cache (which is a giant performance bottleneck for machines with greater than 1 CPU), it's not currently worth it for us to investigate a fix.

Changed in percona-server:
status: Confirmed → Won't Fix
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2664

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.