Search Results
https://dev.mysql.com/doc/internals/en/guided-tour.html
What we're about to do in this section is pick up the latest copy of the MySQL source code off the Internet. Then we'll get a list of the directories and comment on why they're there. Next we'll open up some of the files that are vital to MySQL's ...
https://dev.mysql.com/doc/internals/en/handler-instantiation.html
Here is an example of the MyISAM storage engine's instantiation method: static handler *myisam_create_handler(TABLE *table) { return new ha_myisam(table); } This call then works in conjunction with the storage engine's constructor. The first method ...
https://dev.mysql.com/doc/internals/en/heap-directory.html
Thus, this (heap) directory contains a lot of duplication of the myisam directory (for the MyISAM table handler). All the MySQL table handlers (that is, the handlers that MySQL itself produces) have files with similar names and functions. Such ...
https://dev.mysql.com/doc/internals/en/huffman-compression.html
On the other hand, the theoretical maximum compression is 1:8 (12.5%) in this case. In his article from 1952 Huffman proved that his algorithm uses the least possible number of bits to encode a sequence of messages. The number of bits assigned to ...
https://dev.mysql.com/doc/internals/en/i-list.html
This section is yet to be written. ...
https://dev.mysql.com/doc/internals/en/i-p-list.html
This section is yet to be written. ...
https://dev.mysql.com/doc/internals/en/implementing-basic-table-scanning.html
The implementation of the methods in this section provide the first steps toward the creation of more advanced storage engines. Such engines might be used to support SQL queries of logs and other data files that are populated outside of MySQL.
https://dev.mysql.com/doc/internals/en/implementing-index-read-last-method.html
The [custom-engine.html#custom-engine-api-reference-index_read_last index_read_last()] method works like [custom-engine.html#custom-engine-index-read index_read()] but finds the last row with the current key value or prefix: int ...
https://dev.mysql.com/doc/internals/en/implementing-records-in-range-method.html
The key_range structure looks like this: typedef struct st_key_range { const byte *key; uint length; key_part_map keypart_map; enum ha_rkey_function flag; } key_range; key_range members are used as follows: key is a pointer to the key buffer. The ...
https://dev.mysql.com/doc/internals/en/implementing-rollback.html
To support ROLLBACK, create a method that matches this definition: int (*rollback)(THD *thd, bool all); The method name is then listed in the rollback (thirteenth) entry of [custom-engine.html#custom-engine-handlerton the handlerton]. Of the two ...