~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/docs/index.rst

Merge Joe, plus I updated the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Innobase
2
 
========
3
 
 
4
 
The Innobase plugin provides the InnoDB storage engine. It is almost identical
5
 
to the innodb_plugin, but adapted to Drizzle. We plan to move to having InnoDB
6
 
provided by the HailDB plugin, which will allow for easier maintenance and
7
 
upgrades.
8
 
 
9
 
InnoDB is the default storage engine for Drizzle. It is a fully transactional
10
 
MVCC storage engine.
11
 
 
12
 
innodb_plugin origins
13
 
---------------------
14
 
 
15
 
We maintain the Innobase plugin in Drizzle as a downstream project of the
16
 
innodb_plugin for MySQL. We try and keep it up to date with innodb_plugin
17
 
releases.
18
 
 
19
 
Differences from innodb_plugin
20
 
------------------------------
21
 
 
22
 
 * AUTO_INCREMENT behaves the standard way (as in MyISAM)
23
 
 * Supports four byte UTF-8 with the same index size
24
 
 
25
 
AIO support
26
 
-----------
27
 
 
28
 
InnoDB supports Linux native AIO when compiled on platforms that have the
29
 
libaio development files installed (typically a package called libaio-dev or
30
 
libaio-devel).  For more information on the advantages of this please see
31
 
http://blogs.innodb.com/wp/2010/04/innodb-performance-aio-linux/
32
 
 
33
 
To confirm that Linux native AIO is enabled execute this command:
34
 
"show global variables like 'innodb_use_native_aio';"
35
 
 
36
 
Compatibility with MySQL
37
 
------------------------
38
 
 
39
 
Although the innobase plugin is near identical to the innodb_plugin in MySQL,
40
 
the on disk formats are slightly incompatible (to allow for the same index
41
 
length for the four byte UTF-8 that Drizzle supports) and the table definitions
42
 
(FRM for MySQL, .dfe for Drizzle) are completely different. This means that you
43
 
cannot directly share InnoDB tablespaces between MySQL and Drizzle. Use the
44
 
drizzledump tool to migrate data from MySQL to Drizzle.