February 2018
Intermediate to advanced
510 pages
16h 10m
English
The BLACKHOLE storage engine acts as a black hole. It accepts data but does not store it and a query always returns an empty result.
The server only adds the table definition in the global data dictionary when you create a BLACKHOLE table and no files are associated with the table.
All kinds of indexing is supported in the BLACKHOLE storage engine and so the same can be included in the table definition.
Partitioning is not supported in the BLACKHOLE storage engine.
Insertion to the table does not store any data but if binary logging is enabled for statements, then the statements are logged and replicated to the slave servers. Such a mechanism is useful as a filter or repeater.
The BLACKHOLE storage engine has ...
Read now
Unlock full access