Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

MySQL´æ´¢ÒýÇæ

MySQL³£ÓõĴ洢ÒýÇæΪMyISAM¡¢InnoDB¡¢MEMORY¡¢MERGE£¬ÆäÖÐInnoDBÌṩÊÂÎñ°²È«±í£¬ÆäËû´æ´¢ÒýÇ涼ÊÇ·ÇÊÂÎñ°²È«±í¡£
MyISAMÊÇMySQLµÄĬÈÏ´æ´¢ÒýÇæ¡£MyISAM²»Ö§³ÖÊÂÎñ¡¢Ò²²»Ö§³ÖÍâ¼ü£¬µ«Æä·ÃÎÊËٶȿ죬¶ÔÊÂÎñÍêÕûÐÔûÓÐÒªÇó¡£
InnoDB´æ´¢ÒýÇæÌṩÁ˾ßÓÐÌá½»¡¢»Ø¹öºÍ±ÀÀ£»Ö¸´ÄÜÁ¦µÄÊÂÎñ°²È«¡£µ«ÊDZÈÆðMyISAM´æ´¢ÒýÇ棬InnoDBдµÄ´¦ÀíЧÂʲîһЩ²¢ÇÒ»áÕ¼Óøü¶àµÄ´ÅÅÌ¿Õ¼äÒÔ±£ÁôÊý¾ÝºÍË÷Òý¡£
MEMORY´æ´¢ÒýÇæʹÓôæÔÚÄÚ´æÖеÄÄÚÈÝÀ´´´½¨±í¡£Ã¿¸öMEMORY±íֻʵ¼Ê¶ÔÓ¦Ò»¸ö´ÅÅÌÎļþ¡£MEMORYÀàÐ͵ıí·ÃÎʷdz£µÃ¿ì£¬ÒòΪËüµÄÊý¾ÝÊÇ·ÅÔÚÄÚ´æÖеģ¬²¢ÇÒĬÈÏʹÓÃHASHË÷Òý¡£µ«ÊÇÒ»µ©·þÎñ¹Ø±Õ£¬±íÖеÄÊý¾Ý¾Í»á¶ªÊ§µô¡£
MERGE´æ´¢ÒýÇæÊÇÒ»×éMyISAM±íµÄ×éºÏ£¬ÕâЩMyISAM±í±ØÐë½á¹¹ÍêÈ«Ïàͬ¡£MERGE±í±¾ÉíûÓÐÊý¾Ý£¬¶ÔMERGEÀàÐ͵ıí½øÐвéѯ¡¢¸üС¢É¾³ýµÄ²Ù×÷£¬¾ÍÊǶÔÄÚ²¿µÄMyISAM±í½øÐеġ£
MyISAM±í»¹Ö§³Ö3Öв»Í¬µÄ´æ´¢¸ñʽ£º
1 ¾²Ì¬±í
2 ¶¯Ì¬±í
3 ѹËõ±í
¾²Ì¬±íÊÇĬÈϵĴ洢¸ñʽ£¬¾²Ì¬±íÖеÄ×ֶζ¼ÊǷDZ䳤µÄ×ֶΣ¬ÓŵãÊÇ£º´æ´¢·Ç³£Ñ¸ËÙ£¬ÈÝÒ×»º´æ£¬³öÏÖ¹ÊÕÏÈÝÒ×»Ö¸´£»È±µãÊÇ£ºÕ¼ÓõĿռäͨ³£±È¶¯Ì¬±í¶à¡££¨×¢Ò⣺ Ôڴ洢ʱ£¬ÁеĿí¶È²»×ãʱ£¬Óÿոñ²¹×㣬µ±Ê±ÔÚ·ÃÎʵÄʱºò²¢²»»áµÃµ½ÕâЩ¿Õ¸ñ£©
¶¯Ì¬±íµÄ×Ö¶ÎÊDZ䳤µÄ£¬ÓŵãÊÇ£ºÕ¼ÓõĿռäÏà¶Ô½ÏÉÙ£¬µ«ÊÇƵ·±µØ¸üÐÂɾ³ý¼Ç¼»á²úÉúËéƬ£¬ÐèÒª¶¨ÆÚ¸ÄÉÆÐÔÄÜ£¬²¢ÇÒ³öÏÖ¹ÊÕϵÄʱºò»Ö¸´Ïà¶Ô±È½ÏÀ§ÄÑ¡£
ѹËõ±íÕ¼ÓôÅÅÌ¿Õ¼äС£¬Ã¿¸ö¼Ç¼ÊDZ»µ¥¶ÀѹËõµÄ£¬ËùÒÔÖ»Óзdz£Ð¡µÄ·ÃÎÊ¿ªÖ§¡£
MySQLÖ§³ÖÍâ¼ü´æ´¢ÒýÇæÖ»ÓÐInnoDB£¬ÔÚ´´½¨Íâ¼üµÄʱºò£¬ÒªÇ󸽱í±ØÐëÓжÔÓ¦µÄË÷Òý£¬×Ó±íÔÚ´´½¨Íâ¼üµÄʱºòÒ²»á×Ô¶¯´´½¨¶ÔÓ¦µÄË÷Òý¡£
InnoDB´æ´¢·½Ê½ÎªÁ½ÖÖ£º1 ʹÓù²Ïí±í¿Õ¼ä´æ´¢ 2 ʹÓöà±í¿Õ¼ä
MEMORYÀàÐ͵Ĵ洢ÒýÇæÖ÷ÒªÓÃÓÚÄÇЩÄÚÈݱ仯²»Æµ·±µÄ´úÂë±í£¬»òÕß×÷Ϊͳ¼Æ²Ù×÷µÄÖмä½á¹û±í£¬±ãÓÚ¸ßЧµØ¶ÑÖмä½á¹û½øÐзÖÎö²¢µÃµ½×îÖÕµÄͳ¼Æ½á¹û¡£¶ÔMEMORY´æ´¢ÒýÇæµÄ±í½øÐиüвÙ×÷Òª½÷É÷£¬ÒòΪÊý¾Ý²¢Ã»ÓÐʵ¼ÊдÈëµ½´ÅÅÌÖУ¬ËùÒÔÒ»¶¨Òª¶ÔÏ´ÎÖØÐÂÆô¶¯·þÎñºóÈçºÎ»ñµÃÕâЩÐ޸ĺóµÄÊý¾ÝÓÐËù¿¼ÂÇ¡£
MERGEÓÃÓÚ½«Ò»ÏµÁеÈͬµÄMyISAM±íÒÔÂß¼­·½Ê½×éºÏÔÚÒ»Æ𣬲¢×÷Ϊһ¸ö¶ÔÏóÒýÓÃËü¡£MERGE±íµÄÓŵãÔÚÓÚ¿ÉÒÔÍ»ÆƶԵ¥¸öMyISAM±í´óСµÄÏÞÖÆ£¬Í¨¹ý½«²»Í¬µÄ±í·Ö²¼ÔÚ¶à¸ö´ÅÅÌÉÏ£¬¿ÉÒÔÓÐЧµÄ¸ÄÉÆMERGE±íµÄ·ÃÎÊЧÂÊ¡£


Ïà¹ØÎĵµ£º

MysqlÂÒÂë

PHP ´æÈ¡ MySQL ÂÒÂëÎÊÌâ
ÉÏһƪ / ÏÂһƪ  2007-06-04 03:33:50 / ¸öÈË·ÖÀࣺPHPѧϰ
²é¿´( 239 ) / ÆÀÂÛ( 0 ) / ÆÀ·Ö( 0 / 0 )
MySQL µÄ×Ö·û¼¯Ö§³Ö(Character Set Support)ÓÐÁ½¸ö·½Ã棺×Ö·û¼¯(Character set)ºÍÅÅÐò·½Ê½(Collation)¡£¶ÔÓÚ×Ö·û¼¯µÄÖ§³Öϸ»¯µ½Ëĸö²ã´Î: ·þÎñÆ÷(server)£¬Êý¾Ý¿â(database)£¬Êý¾Ý±í ......

mysqlÊý¾Ý¿âµÄµ¼Èëµ¼³ö

Ò»¡¢MYSQLµÄµ¼³ö
½øÈëmysql°²×°Ä¿Â¼£¬½øÈëbin
ÔÚÃüÁîÐÐģʽÏ´òÈ룺
 ³ÌÐò´úÂë
mysqldump -u root -p hibernate > c:/hibernate.sql
ÆäÖÐ-u ±íʾÓû§
    -p±íʾÓû§ÐèÒªÈÏÖ¤
    hibernate±íʾҪµ¼³öµÄÊý¾Ý¿â
    > c:/hibernate ±íʾ½«Ê ......

SSH+MySQL¿ª·¢ÖеÄÖÐÎÄÂÒÂëÎÊÌâ

Ò»¡¢±íµ¥Ìá½»ÂÒÂë½â¾ö·½·¨
    ±íµ¥Öк¬ÓÐÖÐÎÄÌá½»ÂÒÂ룬¶ÔÓÚ×ÖĸºÍÊý×ÖÔò²»»áÂÒÂ룬ÎÒÑ¡ÓõÄ×Ö·û¼¯utf-8(ÒÔÏÂͬ)¡£
 1¡¢ÔÚapache-tomcat-6.0.18\webapps\examples\WEB-INF\classes\filtersĿ¼ÏÂÕÒµ½ÎļþSetCharacterEncodingFilter.java ºÍRequestDumperFilter.javaÎļþ£¬²¢½«Æ临ÖƵ½ÏîÄ¿src ......

MysqlÖÐÎÄÂÒÂëÎÊÌâÖ®·ÖÎö

MysqlÖÐÎÄÂÒÂëÎÊÌâ
֮ǰ±»mysqlÖÐ×ÜÊdzöÏÖÖÐÎÄÂÒÂë¸ãµÃÔÆÀïÎíÀÔÚÍøÉÏÒ²ËÑÁËЩÏà¹Ø×ÊÁÏ£¬¿É½á¹û¸üÈÃÎÒ¾õµÃ×Ö·û¼¯µÄת»»ÊÇÏ൱¸´ÔÓ£¬ÉõÖÁÓÐÁ˵ִ¥ÐÄÀí£¬²»¹ý»¹ºÃÔÚ×îºóËѵ½¼¸Æª¾­µäµÄÎÄÕ£¬¾­¹ýÑжÁ×ÜËãÃ÷°×¹ýÀ´£¡ºÃÎÄÕ£¬²»¸Ò¶ÀÏí£¬ÏÖ½«ÎÄÕÂÉÔ×÷ÕûÀíÓë´ó¼Ò·ÖÏí¡£
×Ö·û¼¯»ù±¾¸ÅÄ
http://home.phpchina.com/space.php ......

MySQL°²×°

MysqlµÄ°²×°Îļþ¿ÉÒÔÖ±½Óµ½ http://www.mysql.com ÏÂÔØ£¬»ñµÃfor win32µÄ.zip°ü£¬½¨ÒéÑ¡Ôñ4.0.20d°æ±¾¡£ÕâÀï²»Ïêϸ˵Ã÷¡£
¡¡¡¡ÏÂÔØ»ñµÃMysqlµÄfor win32°²×°°üºó£¬ÓÃwinzip½âѹËõ£¬Ö±½ÓÔËÐÐsetup.exe£¬ÐèҪעÒâµÄÊÇÑ¡ÔñÒ»¸ö°²×°Â·¾¶£¬µ±È»£¬°²×°Â·¾¶¿ÉÒÔÈÎÒ⣬½¨ÒéÑ¡ÔñC:\MySQLĿ¼¡£°²×°Íê³ÉºóMySQLÒ²¾ÍÍê³ÉÁË¡£Ä¬ÈϵÄÓû ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ