1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-07 17:42:39 +03:00
Files
mariadb/heap
ingo@mysql.com 784c9526ec WL#1687 - Optimize UNION DISTINCT ... UNION ALL (again).
HEAP: Copies the key count to a backup variable and sets the key count to zero.
That way, no HEAP function will ever try to touch any index.
Re-enabling is done by copying back the backup variable.
To avoid memory leak at table close, disable deletes all index trees.
Re-enabling must be done with empty indexes and data anyway. Otherwise,
the indexes would need to be repaired, wich HEAP is not capable of.
MyISAM: Only the key_map is cleared and set.
Re-enabling must be done with empty indexes and data. Otherwise, repair needs
to be done which will enable all keys persistently.
The former implementation disabled only non-unique keys and maked this persistent.
The new implementation additionally can disable all keys, but only without
making this persistent. Re-enabling all keys can be done without repair,
if data file and indexes are empty.
2004-05-06 15:53:01 +02:00
..
2003-02-27 03:44:44 +02:00
2000-07-31 21:29:14 +02:00
2000-07-31 21:29:14 +02:00
2003-08-19 00:08:08 +03:00
2004-03-04 08:50:37 +02:00
2004-02-16 10:03:25 +02:00
2004-02-16 10:03:25 +02:00
2002-07-12 13:12:32 +05:00
2003-06-10 12:19:28 +05:00
2002-07-12 13:12:32 +05:00
2002-05-23 19:26:16 +05:00
2002-05-23 19:26:16 +05:00
2002-12-05 19:38:42 +02:00
2001-12-06 14:10:51 +02:00
2003-11-20 22:06:25 +02:00
2003-11-20 22:06:25 +02:00
2002-12-05 19:38:42 +02:00
2000-07-31 21:29:14 +02:00
2002-11-26 14:01:08 +01:00