Suche senden
Hochladen
mysql cluster测试记录 - 20120905
•
Als TXT, PDF herunterladen
•
1 gefällt mir
•
428 views
Jinrong Ye
Folgen
mysql cluster测试记录
Weniger lesen
Mehr lesen
Technologie
Gesundheit & Medizin
Melden
Teilen
Melden
Teilen
1 von 6
Jetzt herunterladen
Empfohlen
11o Φ.Α. 8.1.pdf
11o Φ.Α. 8.1.pdf
Anthimos Misailidis
ΛΥΣΕΙΣ - 11o Φ.Α. 8.1.pdf
ΛΥΣΕΙΣ - 11o Φ.Α. 8.1.pdf
Anthimos Misailidis
The Ring programming language version 1.2 book - Part 50 of 84
The Ring programming language version 1.2 book - Part 50 of 84
Mahmoud Samir Fayed
The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184
Mahmoud Samir Fayed
Red Flags of Development Birth to 48 Months
Red Flags of Development Birth to 48 Months
Early On Michigan
Niepowtarzalna lekcja prehistorii nauczyciele i dyrekcja
Niepowtarzalna lekcja prehistorii nauczyciele i dyrekcja
skony71
Bpclfinalbrochure 110721130723-phpapp02
Bpclfinalbrochure 110721130723-phpapp02
Bharat Petroleum
Child Find Webinar 2008
Child Find Webinar 2008
Early On Michigan
Empfohlen
11o Φ.Α. 8.1.pdf
11o Φ.Α. 8.1.pdf
Anthimos Misailidis
ΛΥΣΕΙΣ - 11o Φ.Α. 8.1.pdf
ΛΥΣΕΙΣ - 11o Φ.Α. 8.1.pdf
Anthimos Misailidis
The Ring programming language version 1.2 book - Part 50 of 84
The Ring programming language version 1.2 book - Part 50 of 84
Mahmoud Samir Fayed
The Ring programming language version 1.5.3 book - Part 79 of 184
The Ring programming language version 1.5.3 book - Part 79 of 184
Mahmoud Samir Fayed
Red Flags of Development Birth to 48 Months
Red Flags of Development Birth to 48 Months
Early On Michigan
Niepowtarzalna lekcja prehistorii nauczyciele i dyrekcja
Niepowtarzalna lekcja prehistorii nauczyciele i dyrekcja
skony71
Bpclfinalbrochure 110721130723-phpapp02
Bpclfinalbrochure 110721130723-phpapp02
Bharat Petroleum
Child Find Webinar 2008
Child Find Webinar 2008
Early On Michigan
Smoke-free movies
Smoke-free movies
Campaign for Tobacco-Free Kids
Tanleab 1
Tanleab 1
Antonio Skynet
Can 2008 conference
Can 2008 conference
Early On Michigan
Bunchculturedeck
Bunchculturedeck
guest5cf4599
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Tomoya Narita
Why Video Over Ip
Why Video Over Ip
djgood
Google And Search Engines
Google And Search Engines
Alan Leewllyn Bivera
Michigan's LICC Parent Handbook
Michigan's LICC Parent Handbook
Early On Michigan
White House Travel Bloggers Summit - U.S. Study Abroad
White House Travel Bloggers Summit - U.S. Study Abroad
U.S. Department of State
Super Size Public Awareness 2008
Super Size Public Awareness 2008
Early On Michigan
International Energy Day- 3rd May
International Energy Day- 3rd May
Bharat Petroleum
Politzer aypa 121101_svl
Politzer aypa 121101_svl
djpolitzer
Early On101 Mcecc2009
Early On101 Mcecc2009
Early On Michigan
Partners In Communication
Partners In Communication
Early On Michigan
Making A Difference
Making A Difference
Heartland Alliance for Human Needs & Human Rights
How Early On Works
How Early On Works
Early On Michigan
Miaeyc early childhood_march_2011
Miaeyc early childhood_march_2011
Early On Michigan
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
Tomoya Narita
Tek tutorial
Tek tutorial
Ligaya Turmelle
Oracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
DPC Tutorial
DPC Tutorial
Ligaya Turmelle
Are you a monkey or an astronaut?
Are you a monkey or an astronaut?
Karen Morton
Weitere ähnliche Inhalte
Andere mochten auch
Smoke-free movies
Smoke-free movies
Campaign for Tobacco-Free Kids
Tanleab 1
Tanleab 1
Antonio Skynet
Can 2008 conference
Can 2008 conference
Early On Michigan
Bunchculturedeck
Bunchculturedeck
guest5cf4599
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Tomoya Narita
Why Video Over Ip
Why Video Over Ip
djgood
Google And Search Engines
Google And Search Engines
Alan Leewllyn Bivera
Michigan's LICC Parent Handbook
Michigan's LICC Parent Handbook
Early On Michigan
White House Travel Bloggers Summit - U.S. Study Abroad
White House Travel Bloggers Summit - U.S. Study Abroad
U.S. Department of State
Super Size Public Awareness 2008
Super Size Public Awareness 2008
Early On Michigan
International Energy Day- 3rd May
International Energy Day- 3rd May
Bharat Petroleum
Politzer aypa 121101_svl
Politzer aypa 121101_svl
djpolitzer
Early On101 Mcecc2009
Early On101 Mcecc2009
Early On Michigan
Partners In Communication
Partners In Communication
Early On Michigan
Making A Difference
Making A Difference
Heartland Alliance for Human Needs & Human Rights
How Early On Works
How Early On Works
Early On Michigan
Miaeyc early childhood_march_2011
Miaeyc early childhood_march_2011
Early On Michigan
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
Tomoya Narita
Andere mochten auch
(18)
Smoke-free movies
Smoke-free movies
Tanleab 1
Tanleab 1
Can 2008 conference
Can 2008 conference
Bunchculturedeck
Bunchculturedeck
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Ruby会議2009:Ruby, Railsによる「ケータイ」ポータルの作り方
Why Video Over Ip
Why Video Over Ip
Google And Search Engines
Google And Search Engines
Michigan'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 Abroad
Super Size Public Awareness 2008
Super Size Public Awareness 2008
International Energy Day- 3rd May
International Energy Day- 3rd May
Politzer aypa 121101_svl
Politzer aypa 121101_svl
Early On101 Mcecc2009
Early On101 Mcecc2009
Partners In Communication
Partners In Communication
Making A Difference
Making A Difference
How Early On Works
How Early On Works
Miaeyc early childhood_march_2011
Miaeyc early childhood_march_2011
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
TitaniumでiOS/Android同時リリース:NIFTY-Serveの事例
Ähnlich wie mysql cluster测试记录 - 20120905
Tek tutorial
Tek tutorial
Ligaya Turmelle
Oracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
DPC Tutorial
DPC Tutorial
Ligaya Turmelle
Are you a monkey or an astronaut?
Are you a monkey or an astronaut?
Karen Morton
Perf Tuning Short
Perf Tuning Short
Ligaya Turmelle
Vertica trace
Vertica trace
Zvika Gutkin
Columnstore
Columnstore
George Tavares
Think simple and spare yourself a facepalm - EN
Think simple and spare yourself a facepalm - EN
Michal Simonik
New features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in action
Sveta Smirnova
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8
Philip Zhong
Ähnlich wie mysql cluster测试记录 - 20120905
(10)
Tek tutorial
Tek tutorial
Oracle sql high performance tuning
Oracle sql high performance tuning
DPC Tutorial
DPC Tutorial
Are you a monkey or an astronaut?
Are you a monkey or an astronaut?
Perf Tuning Short
Perf Tuning Short
Vertica trace
Vertica trace
Columnstore
Columnstore
Think 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 action
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8
Mehr von Jinrong Ye
为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf
Jinrong Ye
如何针对业务做DB优化
如何针对业务做DB优化
Jinrong Ye
程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍
Jinrong Ye
MySQL运维那些事
MySQL运维那些事
Jinrong Ye
高效Linux SA
高效Linux SA
Jinrong Ye
MySQL设计、优化、运维
MySQL设计、优化、运维
Jinrong Ye
我们的MySQL
我们的MySQL
Jinrong Ye
MySQL数据库设计、优化
MySQL数据库设计、优化
Jinrong Ye
MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化
Jinrong Ye
MySQL压力测试经验
MySQL压力测试经验
Jinrong Ye
Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用
Jinrong Ye
Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329
Jinrong Ye
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
Jinrong Ye
InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329
Jinrong Ye
ibbackup vs mysqldump对比测试 - 20080718
ibbackup vs mysqldump对比测试 - 20080718
Jinrong Ye
Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427
Jinrong Ye
Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422
Jinrong Ye
dell服务器raid冷迁移方法
dell服务器raid冷迁移方法
Jinrong Ye
Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823
Jinrong Ye
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
PC服务器阵列卡管理简易手册 叶金荣@CYOU-20121223
Jinrong Ye
Mehr von Jinrong Ye
(20)
为什么学习MySQL-20220530.pdf
为什么学习MySQL-20220530.pdf
如何针对业务做DB优化
如何针对业务做DB优化
程序猿都该知道的MySQL秘籍
程序猿都该知道的MySQL秘籍
MySQL运维那些事
MySQL运维那些事
高效Linux SA
高效Linux SA
MySQL设计、优化、运维
MySQL设计、优化、运维
我们的MySQL
我们的MySQL
MySQL数据库设计、优化
MySQL数据库设计、优化
MySQL技术分享:一步到位实现mysql优化
MySQL技术分享:一步到位实现mysql优化
MySQL压力测试经验
MySQL压力测试经验
Cgroup lxc在17173 iaas应用池中应用
Cgroup lxc在17173 iaas应用池中应用
Tpcc mysql使用手册 - 20120329
Tpcc mysql使用手册 - 20120329
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
InnoDB引擎数据表压缩特性测试 - 20120329
InnoDB引擎数据表压缩特性测试 - 20120329
ibbackup vs mysqldump对比测试 - 20080718
ibbackup vs mysqldump对比测试 - 20080718
Xtrabackup工具使用简介 - 20110427
Xtrabackup工具使用简介 - 20110427
Handler socket测试报告 - 20110422
Handler socket测试报告 - 20110422
dell服务器raid冷迁移方法
dell服务器raid冷迁移方法
Hp dl380 g7测试结果报告 - 20100823
Hp dl380 g7测试结果报告 - 20100823
PC服务器阵列卡管理简易手册 叶金荣@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.pptx
Malak Abu Hammad
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
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...
Igalia
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
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 slide
vu2urc
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The 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
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK 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...
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...
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.pptx
A 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...
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 CV
How 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 organization
Boost 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)
Histor 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 Mount
CNv6 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 2024
Tata 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...
How 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.pptx
Understanding 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...
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 | | | +------------+------------+---------+------------+----------+---------------- +-------------+-----------------+--------------+-----------+---------------- +-------------+-------------+------------+-------------------+---------- +----------------+---------+
Jetzt herunterladen