MySqlµÄ±íÀàÐÍ
create database sample;
create table 't_user' (
'id' int(11) not null auto_increment,
'name' varchar(100) not null default '',
primary key ('id')
) type=myisam;
Ñ¡ÏîÖ»ÔÚMySQL 3.23ºÍÒÔºó°æ±¾Öб»ÊµÏÖ¡£
²»Í¬µÄ±íÀàÐÍÊÇ£º
ISAM ÔÀ´µÄ±í´¦ÀíÆ÷
MyISAM ȫжþ½øÖÆ¿ÉÒÆÖ²µÄ±í´¦ÀíÆ÷
HEAP ÓÃÓڸñíµÄÊý¾Ý½ö½ö´æ´¢ÔÚÄÚ´æÖÐ
ûÓÐtype=myisamÓï¾äÒ²ÐУ¬ÒòΪ´Ó3.23°æ±¾ÒÔºó£¬Ä¬È϶¼ÊÇmyisamÀàÐÍ
Ïà¹ØÎĵµ£º
This section is a “How-To
” that describes the basics
for how to plan, install, configure, and run a MySQL Cluster.
Whereas the examples in
Chapter 3, MySQL Cluster Configuration
provide more in-depth
information on a variety of clustering options and co ......
½ñÔçÊÕµ½ÁËMySQLµÄÓʼþ£¬È«ÎÄÈçÏ£º
Ç×°®µÄÕü¾ÈMySQLµÄÖйúÇ©ÃûÖ§³ÖÕߣ¬
Å·ÃË¿ÉÄÜÎÞ·¨Õü¾ÈMySQL,ÖйúºÍ¶íÂÞ˹¿ÉÄÜÊÇÕü¾ÈMySQLµÄÏ£ÍûÖ®ËùÔÚ¡£ÖйúÓµÓÐÇ¿´ó¡¢¶ÀÁ¢ÒÔ¼°×ÔÐŵķ´Â¢¶ÏÖ÷¹Ü»ú¹Ø£¬Òò´Ë£¬ÎÒ±¾ÈËÔÚ´ËÇëÇóÄúµÄ°ïÖú¡£¶ÔÓÚÄúÔÚhttp://www.helpmysql.org/ru/petitionµÄÇ©Ãû£¬ÎÒÃÇÉî±í¸Ðл¡£Èç¹û¿ÉÒԵϰ£¬ÎÒÃÇÐèÒªÄúµ ......
Administration ¹ÜÀí
Kill a Thread ½áÊøÒ»¸öÏß³Ì
mysql > KILL 999;
Optimize Table ÓÅ»¯±í
mysql > OPTIMEZE TABLE foo;
Reload Users Permissions Ë¢ÐÂMySQLϵͳȨÏÞÏà¹Ø±í
mysql > FLUSH PRIVILEGES;
Repair Table ÐÞ¸´±í
mysql > ......
To support MySQL Cluster, you will need to update
my.cnf
as shown in the following example.
You may also specify these parameters on the command line when
invoking the executables.
Note
The options shown here should not be confused with thos ......