lp:~vlad-lesin/percona-server/5.1-table_cache_speed_up
Created by
Vlad Lesin
and last modified
- Get this branch:
- bzr branch lp:~vlad-lesin/percona-server/5.1-table_cache_speed_up
Only
Vlad Lesin
can upload to this branch. If you are
Vlad Lesin
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Stewart Smith (community): Needs Fixing
- Alexey Kopytov (community): Approve
-
Diff: 318 lines (+118/-33)10 files modifiedPercona-Server/storage/myisam/ha_myisam.cc (+4/-0)
Percona-Server/storage/myisam/mi_close.c (+1/-1)
Percona-Server/storage/myisam/mi_dbug.c (+3/-3)
Percona-Server/storage/myisam/mi_keycache.c (+3/-3)
Percona-Server/storage/myisam/mi_open.c (+67/-13)
Percona-Server/storage/myisam/mi_panic.c (+25/-9)
Percona-Server/storage/myisam/mi_static.c (+1/-1)
Percona-Server/storage/myisam/myisamchk.c (+6/-0)
Percona-Server/storage/myisam/myisamdef.h (+3/-3)
Percona-Server/storage/myisam/myisampack.c (+5/-0)
Related bugs
Related blueprints
Branch information
- Owner:
- Vlad Lesin
- Status:
- Development
Recent revisions
- 533. By Vlad Lesin
-
As the number of open tables is increased, table lookup
(testing if a table is already open) and (in particular)
the case when a table is not open, became increasingly more
expensive.The problem was caused by the open table lookup mechanism,
which was based on traversing a linked list comparing the
file names.As the list was replaced by a hash table, the lookup
time dropped significantly when used on systems with
a large number of open tables.The original patch can be found here:
http://lists.mysql. com/commits/ 121507
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-server/5.5