最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

MariaDB10–XtraDB&InnoDBversions

来源:动视网 责编:小采 时间:2020-11-09 19:14:15
文档

MariaDB10–XtraDB&InnoDBversions

MariaDB10–XtraDB&InnoDBversions:MariaDB Ive had this question several times when presenting and once via an internal email thread so I figure I might as well write about it:What is the default transactional en
推荐度:
导读MariaDB10–XtraDB&InnoDBversions:MariaDB Ive had this question several times when presenting and once via an internal email thread so I figure I might as well write about it:What is the default transactional en


MariaDB

I’ve had this question several times when presenting and once via an internal email thread so I figure I might as well write about it:What is the default transactional engine in MariaDB 10.0? The answer is simple – it is XtraDB.

However this answer has some history: initial releases of MariaDB 10 actually shipped with InnoDB from MySQL 5.6. Only in 10.0.9 RC did the default switch back to being XtraDB. As MariaDB users previously know, XtraDB was the default InnoDB in 5.1, 5.2, 5.3, and 5.5 too. As always, you can switch easily between InnoDB/XtraDB – read more in:Using InnoDB instead of XtraDB.

How do you tell what version of InnoDB or XtraDB you are running? Simply, run: SHOW GLOBAL VARIABLES LIKE 'innodb_version';

MariaDB 10.0 (read more:What is MariaDB 10.0):

VersionInnoDBXtraDBStatusDate
10.0.105.6.155.6.15-63.0*GA31 Mar 2014
10.0.95.6.155.6.15-63.0*RC10 Mar 2014
10.0.85.6.14*5.6.14-62.0RC10 Feb 2014
10.0.75.6.10*5.6.14-62.0 Beta27 Dec 2013
10.0.61.2.6 *n/aBeta18 Nov 2013
10.0.51.2.5 *n/aBeta7 Nov 2013
10.0.41.2.4 * (5.6.10merge)n/aAlpha16 Aug 2013
10.0.310.0.3-MariaDB *n/aAlpha11 Jun 2013
10.0.210.0.2-MariaDB *n/aAlpha24 Apr 2013
10.0.11.2.1 * n/aAlpha6 Feb 2013
10.0.01.2.0 (5.6.5merge)n/aAlpha12 Nov 2012

The asterisk (*) denotes the default engine choice.

Why are there odd InnoDB versions from 10.0.0 – 10.0.6? I can only point this to merge oddities.storage/innobase/include/univ.iis the file which contains common definitions such as INNODB_VERSION_MAJOR,INNODB_VERSION_MINORandINNODB_VERSION_BUGFIX.INNODB_VERSION_BUGFIXin 10.0.6 pointed toMYSQL_VERSION_PATCHwhich you get from theVERSIONfile. For XtraDB, you will also seePERCONA_INNODB_VERSIONinuniv.i.

So, when XtraDB is the default (10.0.9 and 10.0.10 and releases going forward) you can put in my.cnf to load InnoDB:

ignore_builtin_innodbplugin_load=innodb=ha_innodb.so

When InnoDB is the default (10.0.8 and 10.0.7) and XtraDB was merged, you can put in my.cnf to load XtraDB:

ignore_builtin_innodbplugin_load=innodb=ha_xtradb.so

Percona Server only became GA with5.6.13-61.0which was 7 Oct 2013 which explains why the MariaDB 10.0.6 beta didn’t include a XtraDB.

Percona Server only ships XtraDB (source code instorage/innobase) while MariaDB ships both InnoDB (storage/innobase) as well as XtraDB (storage/xtradb).

If you want older release information about InnoDB plugin versions, a great resource is Chris Calendar’s blog post:InnoDB Plugin Versions. I’m just glad that going forward the InnoDB version will just match the release version as you can see with 10.0.7 and later.

文档

MariaDB10–XtraDB&InnoDBversions

MariaDB10–XtraDB&InnoDBversions:MariaDB Ive had this question several times when presenting and once via an internal email thread so I figure I might as well write about it:What is the default transactional en
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top