¡¾Ô´´¡¿MySQLÊý¾Ý¿â´æ´¢ÒýÇæºÍ·ÖÖ§ÏÖ×´
[Ô´´] MySQLÊý¾Ý¿â´æ´¢ÒýÇæºÍ·ÖÖ§ÏÖ×´
ÔÚMySQL¾ÀúÁË2008ÄêSunµÄÊÕ¹ººÍ2009ÄêOracleÊÕ¹ºSunµÄ¹ý³ÌÖУ¬»ù±¾´¦ÓÚÍ£ÖÍ·¢Õ¹µÄÇé¿ö£¬ÔÚ¿ÉÒÔÔ¤¼ûµÄδÀ´£¬MySQLÊǿ϶¨»á±»Oracle¸éÖò¢ÇÒÖð²½Ñ©²ØÏûÃðµôµÄ¡£MySQLËæ×ÅÏàÓ¦µÄ¸÷Ö÷´´ºÍÄÚ²¿¿ª·¢ÈËÔ±µÄÀëÈ¥£¬µÞÔìÁ˸÷¸ö²»Í¬µÄÒýÇæºÍ·ÖÖ§£¬ÈÃMySQLÓÐÏ£Íû¼ÌÐø·¢Ñï¹â´óÆðÀ´¡£
±¾ÎÄ´óÖ½²½âÒ»ÏÂMySQLÄ¿Ç°³ýÁËÖ÷ÒªµÄ MyISAM¡¢InnoDB¡¢Heap(Memory)¡¢NDB µÈÒýÇæÖ®ÍâµÄÆäËûÒýÇæµÄ·¢Õ¹ºÍÏÖ×´£¬ÒÔ¼°MySQLÖ÷¸ÉÒÔÍâµÄ·ÖÖ§µÄ×´¿ö£¬ÎªÁËÎÒÃÇδÀ´¸üºÃµÄʹÓÃMySQL»òÕßÆäËû·ÖÖ§½¨Á¢Ò»¸öÁ˽â»ù´¡¡£
ÒªÁ˽âÖ÷Òª´æ´¢ÒýÇ棬Çë²Î¿¼Êֲ᣺http://dev.mysql.com/doc/refman/5.1/zh/index.html
»òÕßÏà¹Ø½éÉÜÎÄÕ£ºhttp://www.javaeye.com/topic/211951
¡¾MySQL´æ´¢ÒýÇæ½éÉÜ¡¿
[ Falcon´æ´¢ÒýÇæ ]
Falcon´æ´¢ÒýÇæÊÇMySQLµ±Ê±¼ÄÒÔºñÍûµÄ´æ´¢ÒýÇ棬Ö÷ÒªÊÇΪÁËÃæ¶Ôµ±Ê±OracleÊÕ¹ºÁËInnoBase¹«Ë¾µÄÇé¿ö£¬ÓÃÀ´È¡´úInnoDBµÄÒ»¸ö´æ´¢ÒýÇæ¡£FalconÒýÇæµÄÖ÷µ¼ÈËÔ±ÊÇÊý¾Ý¿â´óʦJim Starkey£¬´Ó2006Ä꿪ʼ¿ª·¢£¬µ½2008Äê·¢²¼Beta°æ±¾£¬ÖÁ½ñΪֹҲûÓÐ×ßÈëÖ÷Á÷¡£2008ÄêÖÐÑ®£¬FalconµÄÖ÷¼Ü¹¹Ê¦Jim StarkeyÐû²¼´ÓMySQL¹«Ë¾´ÇÖ°£¬¼ÓÈëÁËÒ»¼Ò´´Òµ¹«Ë¾NimbusDBµ£ÈÎCEO£¬È¥Éè¼ÆºÍ¿ª·¢ÔËÐÐÔÚÔƼÆËãÉÏÃæµÄ¹Øϵ/ÓïÒåÊý¾Ý¿â£¬°´ÕÕ2010ÄêÄ¿Ç°NoSQLÊг¡µÄ·¢Õ¹À´¿´£¬ËûµÄÑ¡ÔñÊÇÕýÈ·µÄ£¬µ«ÊÇ´øÀ´µÄ½á¹ûÊÇFalconÏÝÈëÒ»¸öûÓÐÖ÷µ¼ÈËÔ±µÄµØ²½£¬µ¼ÖÂÁËÖÁ½ñ¶¼ÊôÓÚÐÔÄÜÔã¸â£¬°ëËÀ²»»îµÄ״̬¡£
FalconÒýÇæÊÇMySQL AB¹«Ë¾»ùÓÚNetfrastrucure¹«Ë¾µÄ²úÆ·¿ª·¢µÄ(Netfrastrucure¹«Ë¾±»MySQL ABÊÕ¹º)£¬Falcon µ±³õµÄÄ¿±êÊÇǶÈëµ½MySQL 6.0ÖÐÓÃÀ´È¡´úInnoDBÒýÇ棬»ù±¾ºÜ¶à¹¦ÄÜÉè¼Æ¶¼ÊÇ°´ÕÕInnoDBµÄÄ¿±êÈ¥Éè¼ÆµÄ¡£
FalconÊÇÃæÏò¶àCPU¡¢ÓµÓдóÁ¿ÄÚ´æµÄµ±´úÓ²¼þ»·¾³ºÍµäÐÍWebÓ¦ÓõÄÊý¾Ý¿â²Ù×÷Ìصã¶ø¿ª·¢µÄ£¬Ö÷Òª¹¦ÄÜ°üÀ¨¶à°æ±¾²¢·¢¿ØÖÆ¡¢ÍêÉƵÄACIDÖ§³Ö¡¢Ö§³Öǰ׺ѹËõµÄB+Ê÷Ë÷Òý¡¢Êý¾ÝҳѹËõ£¨ÔÚ´ÅÅÌÉÏÒÔѹËõÐÎʽ´æ´¢£¬ÔÚÄÚ´æÖÐÒÔ·ÇѹËõÐÎʽ´æ´¢£©¡¢³É×éÌá½»µÈ¡£´Ó¹¦ÄÜ·½ÃæÀ´ËµÃ»ÓÐʲôÐÂÏÊÊ£¬´óÌåÒ²¾ÍʵÏÖÁËÒ»¸öÊÂÎñÐÍ´æ´¢ÒýÇæ±ØÐëÒªÓеŦÄÜ£¨ºÜ¶à¸ß¼¶µÄ¹¦ÄÜÈç¶à±í¿Õ¼ä¡¢·ÖÇøµÈ¶¼»¹Ã»ÓУ©£¬µ«Æä¼Ü¹¹ÉÏÈ´Óкܶà¶ÀÌØÖ®´¦¡£
ͨ¹ýÍøÉϵÄһЩ²âÊÔ½á¹ûFalconµÄÐÔÄÜ»¹ÊǺÜÔã¸âµÄ£¬Ð´ÈëËÙ¶ÈÊÇ MyISAM µÄ 1/10 ~ 1/20£¬Select µÄÓÅ»¯Ò²ÓÐÎÊÌ⣬Ìí¼ÓÁËË÷Òý¸Ð¾õ»¹»á½øÐÐÈ«±íɨÃè¡£ËùÒÔ£¬ÎÒÖÕ¾¿¸Ð¾õ Falcon ÊǸö±¾ßµÄÒýÇæ¡£
FalconÌØÐÔ£ºhttp://dev.mysql.com/doc/falcon/en
Ïà¹ØÎĵµ£º
Ò»ÏÂÊÇÒ»¸öSQLµÄСÎÊÌ⣬À§ÈÅÁË3·ÖÖÓ£¬Ð´ÏÂÀ´¼Ç¼һÏ¡£
Êý¾Ý¿âÊÇMYSQL 5, ±íµÄ½á¹¹ºÜ¼òµ¥, ¾ÍÒ»¸ö×Ö¶ÎÊÇabc£¬ÕûÐÍ¡£
Ò»ÏÂÓï¾äÔËÐеĽá¹ûÊÇÒ»ÑùµÄ¡£×Ô¼º²»ÁôÉñ£¬µ¼ÖÂÀ§ÈÅÁË3·ÖÖÓ¡£
select * from table1 from abc = '123'
select * from table1 from abc = '123_1'
ÒÔÉÏÓï¾äÔÀ´ÊDzéÕÒÊÇ·ñÊý¾Ý´æÔÚ£¬½á¹û123_1ºÍ1 ......
http://hi.baidu.com/xiyouwang/blog/item/9f15bbee99b0ce202df5349e.html
ÏÖÔڵĻ¥ÁªÍøÉÏ£¬ºÜ¶àÍøÕ¾¶¼ÌṩÁËÈ«ÎÄËÑË÷¹¦ÄÜ£¬ä¯ÀÀÕß¿ÉÒÔͨ¹ýÊäÈë¹Ø¼ü×Ö»òÕßÊǶÌÓïÀ´ËÑË÷Ìض¨µÄ×ÊÁÏ¡£ÔÚPHP+MySQL¹¹¼ÜµÄÍøÕ¾ÖУ¬Í¨³£µÄ×ö·¨ÊÇͨ¹ýSELECT²éѯµÄLikeÓï¾äÀ´½øÐÐËÑË÷£¬ÕâÒ»°ì·¨´æÔÚËÑË÷²»¹»¾«È·¡¢ÒÔ¼°Ð§Âʷdz£µÍϵÄȱµã¡£±ÈÈç¶Ô ......
ÔÚ×ÀÃæÉÏн¨Ò»¸ö¿ÕµÄÎı¾Îļþmysql.txt,ÖØÃüÃûΪmysql.udl,Ë«»÷Õâ¸ömysql.udlÎļþ£¬´ò¿ª“Êý¾Ý¿âÁ¬½ÓÊôÐÔ”¶Ô»°¿ò£¬ÔÚ“Ìṩ³ÌÐò”ҳѡÔñ”Micrsoft Ole DB Provider for ODBC Drivers“£¬ µã»÷ÏÂÒ»²½£¬ÔÚ“Á¬½Ó”Ò³µÄ,"Ö¸¶¨Êý¾ÝÔ´"Ñ¡Ôñ"ʹÓÃÁ¬½Ó×Ö·û´®",µã» ......
1.ÏÂÔØ MySQL 6.0Ãâ°²×°°æ
http://dev.mysql.com/get/Downloads/MySQL-6.0/mysql-noinstall-6.0.9-alpha-win32.zip/from/pick#mirrors
2.½« MySQL6.0 ½âѹµ½´ý°²×°Ä¿Â¼(×Ô¼º¾ö¶¨·Åµ½ÄÄ£©¡£½âѹºóĬÈÏÎļþ¼ÐÃû³ÆΪ£ºmysql-6.0.9-alpha-win32£¨µ±È»¿ÉÒÔ×Ô¼º¸ü¸Ä£©£¬È»ºóÔÚ»·¾³±äÁ¿ÖÐÉèÖÃMYSQL_HOME£¨ÕâÑù£¬ÒÔºó¿ÉÒÔÓÃ%MYSQL ......
ÔÎÄת×Ôhttp://www.mysqlsystems.com/2009/04/mysql_sanbox.html
һȺº£ëàÔÚÊôÓÚ×Ô¼ºµÄº£Ì²ÉÏ×ÔÓɵÄÍæË££¬¾¡¹ÜÖ»ÊÇÒ»¸ö·½ºÐµÄ´óС£¬µ«ÊÇÉ豸һÑù
µÄÆëÈ«£¬Í¬Ñù¿ÉÒÔÍæµÄºÜ¿ªÐÄ£¬Õâ¾ÍÊÇÎÒ½ñÌìҪ˵µÄ——MySQL Sandbox2.0£¬3.0Ò²½«ÒªÍƳö¡£
MySQL
SandboxÊÇÒ»¸ö·Ç³£¼òµ¥¿ì½Ý²¿ÊðMySQL¼¼ÊõµÄÒ»¸ö¹¤¾ßÌ×¼þ£¬Ëü¿É ......