SlideShare ist ein Scribd-Unternehmen logo
1 von 6
1. ´´½¨»ùÓÚ´ÅÅ̵ı¾µØ±í¿Õ¼ä
CREATE LOGFILE GROUP logfile_group
ADD UNDOFILE 'undo_file'
[INITIAL_SIZE [=] initial_size]
[UNDO_BUFFER_SIZE [=] undo_buffer_size]
[REDO_BUFFER_SIZE [=] redo_buffer_size]
[NODEGROUP [=] nodegroup_id]
[WAIT]
[COMMENT [=] comment_text]
ENGINE [=] engine_name
a) ´´½¨ÈÕÖ¾±í¿Õ¼ä
×¢Ò⣺
1) Ö»ÄÜÓÐÒ»¸ölogfile group
2) Ò»´ÎÖ»ÄÜÌí¼ÓÒ»¸öundofile
3) ÅäÖÃÎļþÖÐÒѾÉèÖÃredo_buffer_sizeµÄ»°£¬ÃüÁîÐÐÖв»¿ÉÐ޸ĻòÖØÐÂÉ趨
create logfile group NDB_LOGGRP ADD UNDOFILE 'NDB_UNDO_01.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter logfile group NDB_LOGGRP ADD UNDOFILE 'NDB_UNDO_02.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter logfile group NDB_LOGGRP ADD UNDOFILE 'NDB_UNDO_03.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
2. ´´½¨Êý¾Ý±í¿Õ¼ä
×¢Ò⣺
1) ¿ÉÒÔ´´½¨¶à¸öÊý¾Ý±í¿Õ¼äÎļþ
2) ¶à¸öÊý¾Ý±í¿Õ¼ä£¬°üÀ¨ÈÕÖ¾¿Õ¼ä£¬Îļþ²»¿ÉͬÃû
3) ɾ³ýÊý¾Ý±í¿Õ¼äÇ°£¬ÐèÒªÏÈɾ³ýÊý¾ÝÎļþ
CREATE TABLESPACE tablespace_name
ADD DATAFILE 'file_name'
USE LOGFILE GROUP logfile_group
[EXTENT_SIZE [=] extent_size]
[INITIAL_SIZE [=] initial_size]
[AUTOEXTEND_SIZE [=] autoextend_size]
[MAX_SIZE [=] max_size]
[NODEGROUP [=] nodegroup_id]
[WAIT]
[COMMENT [=] comment_text]
ENGINE [=] engine_name
create tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_01.dbf'
USE LOGFILE GROUP NDB_LOGGRP
EXTENT_SIZE = 64M INITIAL_SIZE = 1024M AUTOEXTEND_SIZE = 64M
ENGINE = NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_02.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_03.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_04.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_04.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_05.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_06.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_07.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_08.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_09.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_10.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
create tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_001.dbf'
USE LOGFILE GROUP NDB_LOGGRP
EXTENT_SIZE = 64M INITIAL_SIZE = 1024M AUTOEXTEND_SIZE = 64M
ENGINE = NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_002.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_003.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_004.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_005.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_006.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_007.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_008.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_009.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_010.dbf'
INITIAL_SIZE=1024M ENGINE=NDBCLUSTER;
4.±í¿Õ¼äµÄ¹ÜÀíÊý¾ÝÎļþµÄ¹ÜÀí
SELECT TABLESPACE_NAME, FILE_NAME, EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 AS
TOTAL_MB,
EXTENT_SIZE*FREE_EXTENTS/1024/1024 AS FREE_MB, EXTRA FROM
information_schema.FILES
WHERE FILE_TYPE="DATAFILE";
| DATAFILE |
| TABLESPACE |
| UNDO LOG |
SELECT TABLESPACE_NAME, FILE_NAME, EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 AS
TOTAL_MB,
EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 - EXTENT_SIZE*FREE_EXTENTS/1024/1024 as
USED_MB,
EXTENT_SIZE*FREE_EXTENTS/1024/1024 AS FREE_MB, EXTRA FROM
information_schema.FILES
WHERE FILE_TYPE="DATAFILE";
¼ÆËã×ܹ²Ê¹ÓÃÂÊ
SELECT SUM(EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 -
EXTENT_SIZE*FREE_EXTENTS/1024/1024) AS USED_MB,
SUM(EXTENT_SIZE*TOTAL_EXTENTS/1024/1024) AS TOTAL_MB FROM
information_schema.FILES
WHERE FILE_TYPE="DATAFILE" and extra='CLUSTER_NODE=9';
create table orders_dd ( `o_id` int(11) NOT NULL,
`o_d_id` tinyint(4) NOT NULL,
`o_w_id` smallint(6) NOT NULL,
`o_c_id` int(11) DEFAULT NULL,
`o_entry_d` datetime DEFAULT NULL,
`o_carrier_id` tinyint(4) DEFAULT NULL,
`o_ol_cnt` tinyint(4) DEFAULT NULL,
`o_all_local` tinyint(4) DEFAULT NULL,
PRIMARY KEY (`o_w_id`, `o_d_id`, `o_id`)
) tablespace NDB_TBSPC_01 storage disk engine= ndbcluster;
tpcc_load ³õʼ»¯
10¸öDW
ÄÚ´æ±í
time ./tpcc_load 10.25.43.6 tpcc tpcc tpcc 10 >> tpcc.log 2>&1
real 82m55.160s
user 0m53.644s
sys 0m51.201s
diskdata ±í
time ./tpcc_load 10.25.43.6 tpcc_dd tpcc tpcc 10 >> tpcc.log 2>&1
real 88m39.956s
user 0m53.840s
sys 0m51.097s
100¸öDW
ÄÚ´æ±í£º
time ./tpcc_load 10.25.43.6 tpcc tpcc tpcc 100 >> tpcc_load_memtab.log 2>&1
real 826m44.399s
user 8m56.636s
sys 8m25.012s
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length |
Data_length | Max_data_length | Index_length | Data_free | Auto_increment |
Create_time | Update_time | Check_time | Collation | Checksum |
Create_options | Comment |
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+
| customer | ndbcluster | 10 | Dynamic | 3000000 | 124 |
1494810624 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| district | ndbcluster | 10 | Dynamic | 1000 | 68 |
589824 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| history | ndbcluster | 10 | Dynamic | 3000000 | 68 |
293437440 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| item | ndbcluster | 10 | Dynamic | 100000 | 40 |
11501568 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| new_orders | ndbcluster | 10 | Fixed | 900000 | 36 |
32735232 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| order_line | ndbcluster | 10 | Fixed | 29997297 | 92 |
2776825856 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| orders | ndbcluster | 10 | Fixed | 3000000 | 64 |
192905216 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| stock | ndbcluster | 10 | Dynamic | 10000000 | 292 |
3450929152 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| warehouse | ndbcluster | 10 | Dynamic | 100 | 60 |
589824 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+
DISK±í
time ./tpcc_load 10.25.36.166 tpcc_dd tpcc tpcc 100 >>
tpcc_load_ddtab_201209181043.log 2>&1
real 888m54.743s
user 8m59.293s
sys 8m21.223s
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length |
Data_length | Max_data_length | Index_length | Data_free | Auto_increment |
Create_time | Update_time | Check_time | Collation | Checksum |
Create_options | Comment |
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+
| customer | ndbcluster | 10 | Dynamic | 3000000 | 48 |
1007124480 | 1207959552 | 0 | 559720704 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| district | ndbcluster | 10 | Dynamic | 1000 | 40 |
294912 | 603979776 | 0 | 600824928 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| history | ndbcluster | 10 | Dynamic | 3000000 | 40 |
120586240 | 603979776 | 0 | 372956928 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| item | ndbcluster | 10 | Dynamic | 100000 | 36 |
3833856 | 603979776 | 0 | 589598464 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| new_orders | ndbcluster | 10 | Fixed | 900000 | 36 |
32735232 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| order_line | ndbcluster | 10 | Fixed | 29999148 | 48 |
1445724160 | 2415919104 | 0 | 486536448 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| orders | ndbcluster | 10 | Fixed | 3000000 | 44 |
132775936 | 603979776 | 0 | 481620480 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| stock | ndbcluster | 10 | Dynamic | 10000000 | 40 |
401702912 | 3623878656 | 0 | 343180800 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| warehouse | ndbcluster | 10 | Dynamic | 100 | 36 |
294912 | 603979776 | 0 | 601607680 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+
| history | ndbcluster | 10 | Dynamic | 3000000 | 40 |
120586240 | 603979776 | 0 | 372956928 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| item | ndbcluster | 10 | Dynamic | 100000 | 36 |
3833856 | 603979776 | 0 | 589598464 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| new_orders | ndbcluster | 10 | Fixed | 900000 | 36 |
32735232 | 0 | 0 | 0 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| order_line | ndbcluster | 10 | Fixed | 29999148 | 48 |
1445724160 | 2415919104 | 0 | 486536448 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| orders | ndbcluster | 10 | Fixed | 3000000 | 44 |
132775936 | 603979776 | 0 | 481620480 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| stock | ndbcluster | 10 | Dynamic | 10000000 | 40 |
401702912 | 3623878656 | 0 | 343180800 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
| warehouse | ndbcluster | 10 | Dynamic | 100 | 36 |
294912 | 603979776 | 0 | 601607680 | NULL | NULL
| NULL | NULL | latin1_swedish_ci | NULL | |
|
+------------+------------+---------+------------+----------+----------------
+-------------+-----------------+--------------+-----------+----------------
+-------------+-------------+------------+-------------------+----------
+----------------+---------+

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (18)

Smoke-free movies
Smoke-free moviesSmoke-free movies
Smoke-free movies
 
Tanleab 1
Tanleab 1Tanleab 1
Tanleab 1
 
Can 2008 conference
Can 2008 conferenceCan 2008 conference
Can 2008 conference
 
Bunchculturedeck
BunchculturedeckBunchculturedeck
Bunchculturedeck
 
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
 
Why Video Over Ip
Why Video Over IpWhy Video Over Ip
Why Video Over Ip
 
Google And Search Engines
Google And Search EnginesGoogle And Search Engines
Google And Search Engines
 
Michigan's LICC Parent Handbook
Michigan's LICC Parent HandbookMichigan's LICC Parent Handbook
Michigan's LICC Parent Handbook
 
White House Travel Bloggers Summit - U.S. Study Abroad
White House Travel Bloggers Summit - U.S. Study AbroadWhite House Travel Bloggers Summit - U.S. Study Abroad
White House Travel Bloggers Summit - U.S. Study Abroad
 
Super Size Public Awareness 2008
Super Size Public Awareness 2008Super Size Public Awareness 2008
Super Size Public Awareness 2008
 
International Energy Day- 3rd May
International Energy Day- 3rd MayInternational Energy Day- 3rd May
International Energy Day- 3rd May
 
Politzer aypa 121101_svl
Politzer aypa 121101_svlPolitzer aypa 121101_svl
Politzer aypa 121101_svl
 
Early On101 Mcecc2009
Early On101 Mcecc2009Early On101 Mcecc2009
Early On101 Mcecc2009
 
Partners In Communication
Partners In CommunicationPartners In Communication
Partners In Communication
 
Making A Difference
Making A  DifferenceMaking A  Difference
Making A Difference
 
How Early On Works
How Early On Works How Early On Works
How Early On Works
 
Miaeyc early childhood_march_2011
Miaeyc early childhood_march_2011Miaeyc early childhood_march_2011
Miaeyc early childhood_march_2011
 
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
 

Ähnlich wie mysql cluster测试记录 - 20120905

Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuningGuy Harrison
 
Are you a monkey or an astronaut?
Are you a monkey or an astronaut?Are you a monkey or an astronaut?
Are you a monkey or an astronaut?Karen Morton
 
Think simple and spare yourself a facepalm - EN
Think simple and spare yourself a facepalm - ENThink simple and spare yourself a facepalm - EN
Think simple and spare yourself a facepalm - ENMichal Simonik
 
New features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in actionNew features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in actionSveta Smirnova
 
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8Philip Zhong
 

Ähnlich wie mysql cluster测试记录 - 20120905 (10)

Tek tutorial
Tek tutorialTek tutorial
Tek tutorial
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
 
DPC Tutorial
DPC TutorialDPC Tutorial
DPC Tutorial
 
Are you a monkey or an astronaut?
Are you a monkey or an astronaut?Are you a monkey or an astronaut?
Are you a monkey or an astronaut?
 
Perf Tuning Short
Perf Tuning ShortPerf Tuning Short
Perf Tuning Short
 
Vertica trace
Vertica traceVertica trace
Vertica trace
 
Columnstore
ColumnstoreColumnstore
Columnstore
 
Think simple and spare yourself a facepalm - EN
Think simple and spare yourself a facepalm - ENThink simple and spare yourself a facepalm - EN
Think simple and spare yourself a facepalm - EN
 
New features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in actionNew features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in action
 
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8
 

Mehr von Jinrong Ye

为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdfJinrong Ye
 
如何针对业务做DB优化
如何针对业务做DB优化如何针对业务做DB优化
如何针对业务做DB优化Jinrong Ye
 
程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍Jinrong Ye
 
MySQL运维那些事
MySQL运维那些事MySQL运维那些事
MySQL运维那些事Jinrong Ye
 
高效Linux SA
高效Linux SA高效Linux SA
高效Linux SAJinrong Ye
 
MySQL设计、优化、运维
MySQL设计、优化、运维MySQL设计、优化、运维
MySQL设计、优化、运维Jinrong Ye
 
我们的MySQL
我们的MySQL我们的MySQL
我们的MySQLJinrong Ye
 
MySQL数据库设计、优化
MySQL数据库设计、优化MySQL数据库设计、优化
MySQL数据库设计、优化Jinrong Ye
 
MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化Jinrong Ye
 
MySQL压力测试经验
MySQL压力测试经验MySQL压力测试经验
MySQL压力测试经验Jinrong Ye
 
Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用Jinrong Ye
 
Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329Jinrong Ye
 
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220Jinrong Ye
 
InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329Jinrong Ye
 
ibbackup vs mysqldump对比测试 - 20080718
ibbackup vs mysqldump对比测试 - 20080718ibbackup vs mysqldump对比测试 - 20080718
ibbackup vs mysqldump对比测试 - 20080718Jinrong Ye
 
Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427Jinrong Ye
 
Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422Jinrong Ye
 
dell服务器raid冷迁移方法
dell服务器raid冷迁移方法dell服务器raid冷迁移方法
dell服务器raid冷迁移方法Jinrong Ye
 
Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823Jinrong Ye
 
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223Jinrong Ye
 

Mehr von Jinrong Ye (20)

为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf
 
如何针对业务做DB优化
如何针对业务做DB优化如何针对业务做DB优化
如何针对业务做DB优化
 
程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍
 
MySQL运维那些事
MySQL运维那些事MySQL运维那些事
MySQL运维那些事
 
高效Linux SA
高效Linux SA高效Linux SA
高效Linux SA
 
MySQL设计、优化、运维
MySQL设计、优化、运维MySQL设计、优化、运维
MySQL设计、优化、运维
 
我们的MySQL
我们的MySQL我们的MySQL
我们的MySQL
 
MySQL数据库设计、优化
MySQL数据库设计、优化MySQL数据库设计、优化
MySQL数据库设计、优化
 
MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化
 
MySQL压力测试经验
MySQL压力测试经验MySQL压力测试经验
MySQL压力测试经验
 
Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用
 
Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329
 
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
 
InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329
 
ibbackup vs mysqldump对比测试 - 20080718
ibbackup vs mysqldump对比测试 - 20080718ibbackup vs mysqldump对比测试 - 20080718
ibbackup vs mysqldump对比测试 - 20080718
 
Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427
 
Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422
 
dell服务器raid冷迁移方法
dell服务器raid冷迁移方法dell服务器raid冷迁移方法
dell服务器raid冷迁移方法
 
Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823
 
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
 

Kürzlich hochgeladen

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Kürzlich hochgeladen (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

mysql cluster测试记录 - 20120905

  • 1. 1. ´´½¨»ùÓÚ´ÅÅ̵ı¾µØ±í¿Õ¼ä CREATE LOGFILE GROUP logfile_group ADD UNDOFILE 'undo_file' [INITIAL_SIZE [=] initial_size] [UNDO_BUFFER_SIZE [=] undo_buffer_size] [REDO_BUFFER_SIZE [=] redo_buffer_size] [NODEGROUP [=] nodegroup_id] [WAIT] [COMMENT [=] comment_text] ENGINE [=] engine_name a) ´´½¨ÈÕÖ¾±í¿Õ¼ä ×¢Ò⣺ 1) Ö»ÄÜÓÐÒ»¸ölogfile group 2) Ò»´ÎÖ»ÄÜÌí¼ÓÒ»¸öundofile 3) ÅäÖÃÎļþÖÐÒѾÉèÖÃredo_buffer_sizeµÄ»°£¬ÃüÁîÐÐÖв»¿ÉÐ޸ĻòÖØÐÂÉ趨 create logfile group NDB_LOGGRP ADD UNDOFILE 'NDB_UNDO_01.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter logfile group NDB_LOGGRP ADD UNDOFILE 'NDB_UNDO_02.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter logfile group NDB_LOGGRP ADD UNDOFILE 'NDB_UNDO_03.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; 2. ´´½¨Êý¾Ý±í¿Õ¼ä ×¢Ò⣺ 1) ¿ÉÒÔ´´½¨¶à¸öÊý¾Ý±í¿Õ¼äÎļþ 2) ¶à¸öÊý¾Ý±í¿Õ¼ä£¬°üÀ¨ÈÕÖ¾¿Õ¼ä£¬Îļþ²»¿ÉͬÃû 3) ɾ³ýÊý¾Ý±í¿Õ¼äÇ°£¬ÐèÒªÏÈɾ³ýÊý¾ÝÎļþ CREATE TABLESPACE tablespace_name ADD DATAFILE 'file_name' USE LOGFILE GROUP logfile_group [EXTENT_SIZE [=] extent_size] [INITIAL_SIZE [=] initial_size] [AUTOEXTEND_SIZE [=] autoextend_size] [MAX_SIZE [=] max_size] [NODEGROUP [=] nodegroup_id] [WAIT] [COMMENT [=] comment_text] ENGINE [=] engine_name create tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_01.dbf' USE LOGFILE GROUP NDB_LOGGRP EXTENT_SIZE = 64M INITIAL_SIZE = 1024M AUTOEXTEND_SIZE = 64M ENGINE = NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_02.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_03.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_04.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_04.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_05.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_06.dbf'
  • 2. INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_07.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_08.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_09.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_01 ADD DATAFILE 'NDB_TBSPC_10.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; create tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_001.dbf' USE LOGFILE GROUP NDB_LOGGRP EXTENT_SIZE = 64M INITIAL_SIZE = 1024M AUTOEXTEND_SIZE = 64M ENGINE = NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_002.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_003.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_004.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_005.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_006.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_007.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_008.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_009.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; alter tablespace NDB_TBSPC_02 ADD DATAFILE 'NDB_TBSPC_010.dbf' INITIAL_SIZE=1024M ENGINE=NDBCLUSTER; 4.±í¿Õ¼äµÄ¹ÜÀíÊý¾ÝÎļþµÄ¹ÜÀí SELECT TABLESPACE_NAME, FILE_NAME, EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 AS TOTAL_MB, EXTENT_SIZE*FREE_EXTENTS/1024/1024 AS FREE_MB, EXTRA FROM information_schema.FILES WHERE FILE_TYPE="DATAFILE"; | DATAFILE | | TABLESPACE | | UNDO LOG | SELECT TABLESPACE_NAME, FILE_NAME, EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 AS TOTAL_MB, EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 - EXTENT_SIZE*FREE_EXTENTS/1024/1024 as USED_MB,
  • 3. EXTENT_SIZE*FREE_EXTENTS/1024/1024 AS FREE_MB, EXTRA FROM information_schema.FILES WHERE FILE_TYPE="DATAFILE"; ¼ÆËã×ܹ²Ê¹ÓÃÂÊ SELECT SUM(EXTENT_SIZE*TOTAL_EXTENTS/1024/1024 - EXTENT_SIZE*FREE_EXTENTS/1024/1024) AS USED_MB, SUM(EXTENT_SIZE*TOTAL_EXTENTS/1024/1024) AS TOTAL_MB FROM information_schema.FILES WHERE FILE_TYPE="DATAFILE" and extra='CLUSTER_NODE=9'; create table orders_dd ( `o_id` int(11) NOT NULL, `o_d_id` tinyint(4) NOT NULL, `o_w_id` smallint(6) NOT NULL, `o_c_id` int(11) DEFAULT NULL, `o_entry_d` datetime DEFAULT NULL, `o_carrier_id` tinyint(4) DEFAULT NULL, `o_ol_cnt` tinyint(4) DEFAULT NULL, `o_all_local` tinyint(4) DEFAULT NULL, PRIMARY KEY (`o_w_id`, `o_d_id`, `o_id`) ) tablespace NDB_TBSPC_01 storage disk engine= ndbcluster; tpcc_load ³õʼ»¯ 10¸öDW ÄÚ´æ±í time ./tpcc_load 10.25.43.6 tpcc tpcc tpcc 10 >> tpcc.log 2>&1 real 82m55.160s user 0m53.644s sys 0m51.201s diskdata ±í time ./tpcc_load 10.25.43.6 tpcc_dd tpcc tpcc 10 >> tpcc.log 2>&1 real 88m39.956s user 0m53.840s sys 0m51.097s 100¸öDW ÄÚ´æ±í£º time ./tpcc_load 10.25.43.6 tpcc tpcc tpcc 100 >> tpcc_load_memtab.log 2>&1 real 826m44.399s user 8m56.636s sys 8m25.012s +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+ | Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment | +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+ | customer | ndbcluster | 10 | Dynamic | 3000000 | 124 | 1494810624 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | district | ndbcluster | 10 | Dynamic | 1000 | 68 |
  • 4. 589824 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | history | ndbcluster | 10 | Dynamic | 3000000 | 68 | 293437440 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | item | ndbcluster | 10 | Dynamic | 100000 | 40 | 11501568 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | new_orders | ndbcluster | 10 | Fixed | 900000 | 36 | 32735232 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | order_line | ndbcluster | 10 | Fixed | 29997297 | 92 | 2776825856 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | orders | ndbcluster | 10 | Fixed | 3000000 | 64 | 192905216 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | stock | ndbcluster | 10 | Dynamic | 10000000 | 292 | 3450929152 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | warehouse | ndbcluster | 10 | Dynamic | 100 | 60 | 589824 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+ DISK±í time ./tpcc_load 10.25.36.166 tpcc_dd tpcc tpcc 100 >> tpcc_load_ddtab_201209181043.log 2>&1 real 888m54.743s user 8m59.293s sys 8m21.223s +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+ | Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment | +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+ | customer | ndbcluster | 10 | Dynamic | 3000000 | 48 | 1007124480 | 1207959552 | 0 | 559720704 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | district | ndbcluster | 10 | Dynamic | 1000 | 40 | 294912 | 603979776 | 0 | 600824928 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | |
  • 5. | history | ndbcluster | 10 | Dynamic | 3000000 | 40 | 120586240 | 603979776 | 0 | 372956928 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | item | ndbcluster | 10 | Dynamic | 100000 | 36 | 3833856 | 603979776 | 0 | 589598464 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | new_orders | ndbcluster | 10 | Fixed | 900000 | 36 | 32735232 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | order_line | ndbcluster | 10 | Fixed | 29999148 | 48 | 1445724160 | 2415919104 | 0 | 486536448 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | orders | ndbcluster | 10 | Fixed | 3000000 | 44 | 132775936 | 603979776 | 0 | 481620480 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | stock | ndbcluster | 10 | Dynamic | 10000000 | 40 | 401702912 | 3623878656 | 0 | 343180800 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | warehouse | ndbcluster | 10 | Dynamic | 100 | 36 | 294912 | 603979776 | 0 | 601607680 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+
  • 6. | history | ndbcluster | 10 | Dynamic | 3000000 | 40 | 120586240 | 603979776 | 0 | 372956928 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | item | ndbcluster | 10 | Dynamic | 100000 | 36 | 3833856 | 603979776 | 0 | 589598464 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | new_orders | ndbcluster | 10 | Fixed | 900000 | 36 | 32735232 | 0 | 0 | 0 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | order_line | ndbcluster | 10 | Fixed | 29999148 | 48 | 1445724160 | 2415919104 | 0 | 486536448 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | orders | ndbcluster | 10 | Fixed | 3000000 | 44 | 132775936 | 603979776 | 0 | 481620480 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | stock | ndbcluster | 10 | Dynamic | 10000000 | 40 | 401702912 | 3623878656 | 0 | 343180800 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | | warehouse | ndbcluster | 10 | Dynamic | 100 | 36 | 294912 | 603979776 | 0 | 601607680 | NULL | NULL | NULL | NULL | latin1_swedish_ci | NULL | | | +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+