1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-10296 - Multi-instance table cache

Improve scalability by implementing multi-instance table cache.
This commit is contained in:
Sergey Vojtovich
2016-06-29 16:33:08 +04:00
parent 6c1c27ea11
commit 7e9ac7b8ac
9 changed files with 189 additions and 188 deletions

View File

@@ -1021,13 +1021,13 @@ private:
One should use methods of I_P_List template instead.
*/
TABLE *share_all_next, **share_all_prev;
TABLE *global_free_next, **global_free_prev;
friend struct All_share_tables;
friend class Table_cache_instance;
public:
THD *in_use; /* Which thread uses this */
/* Time when table was released to table cache. Valid for unused tables. */
ulonglong tc_time;
Field **field; /* Pointer to fields */
uchar *record[2]; /* Pointer to records */