´óÊý¾ÝÁ¿¸ß²¢·¢µÄÊý¾Ý¿âÓÅ»¯(4)
3¡¢°ÑËùÓÐÐèÒªÌá¸ß²éѯËٶȵÄ×ֶζ¼¼Ó½ø¾Û¼¯Ë÷Òý£¬ÒÔÌá¸ß²éѯËÙ¶È
ÉÏÃæÒѾ̸µ½£ºÔÚ½øÐÐÊý¾Ý²éѯʱ¶¼Àë²»¿ª×ֶεÄÊÇ¡°ÈÕÆÚ¡±»¹ÓÐÓû§±¾ÉíµÄ¡°Óû§Ãû¡±¡£¼ÈÈ»ÕâÁ½¸ö×Ö
¶Î¶¼ÊÇÈç´ËµÄÖØÒª£¬ÎÒÃÇ¿ÉÒÔ°ÑËûÃǺϲ¢ÆðÀ´£¬½¨Á¢Ò»¸ö¸´ºÏË÷Òý£¨compound index£©¡£
ºÜ¶àÈËÈÏΪֻҪ°ÑÈκÎ×ֶμӽø¾Û¼¯Ë÷Òý£¬¾ÍÄÜÌá¸ß²éѯËٶȣ¬Ò²ÓÐÈ˸е½ÃÔ»ó£ºÈç¹û°Ñ¸´ºÏµÄ¾Û¼¯Ë÷Òý
×ֶηֿª²éѯ£¬ÄÇô²éѯËٶȻá¼õÂýÂ𣿴ø×ÅÕâ¸öÎÊÌ⣬ÎÒÃÇÀ´¿´Ò»ÏÂÒÔϵIJéѯËٶȣ¨½á¹û¼¯¶¼ÊÇ25Íò
ÌõÊý¾Ý£©£º£¨ÈÕÆÚÁÐfariqiÊ×ÏÈÅÅÔÚ¸´ºÏ¾Û¼¯Ë÷ÒýµÄÆðʼÁУ¬Óû§ÃûneibuyonghuÅÅÔÚºóÁУ©
ÎÒÃÇ¿ÉÒÔ¿´µ½Èç¹û½öÓþۼ¯Ë÷ÒýµÄÆðʼÁÐ×÷Ϊ²éѯÌõ¼þºÍͬʱÓõ½¸´ºÏ¾Û¼¯Ë÷ÒýµÄÈ«²¿ÁеIJéѯËÙ¶ÈÊǼ¸
ºõÒ»ÑùµÄ£¬ÉõÖÁ±ÈÓÃÉÏÈ«²¿µÄ¸´ºÏË÷ÒýÁл¹ÒªÂԿ죨ÔÚ²éѯ½á¹û¼¯ÊýÄ¿Ò»ÑùµÄÇé¿öÏ£©£»¶øÈç¹û½öÓø´ºÏ
¾Û¼¯Ë÷ÒýµÄ·ÇÆðʼÁÐ×÷Ϊ²éѯÌõ¼þµÄ»°£¬Õâ¸öË÷ÒýÊDz»ÆðÈκÎ×÷Óõġ£µ±È»£¬Óï¾ä1¡¢2µÄ²éѯËÙ¶ÈÒ»ÑùÊÇ
ÒòΪ²éѯµÄÌõÄ¿ÊýÒ»Ñù£¬Èç¹û¸´ºÏË÷ÒýµÄËùÓÐÁж¼ÓÃÉÏ£¬¶øÇÒ²éѯ½á¹ûÉٵĻ°£¬ÕâÑù¾Í»áÐγɡ°Ë÷Òý¸²¸Ç
¡±£¬Òò¶øÐÔÄÜ¿ÉÒÔ´ïµ½×îÓÅ¡£Í¬Ê±£¬Çë¼Çס£ºÎÞÂÛÄúÊÇ·ñ¾³£Ê¹ÓþۺÏË÷ÒýµÄÆäËûÁУ¬µ«ÆäÇ°µ¼ÁÐÒ»¶¨Òª
ÊÇʹÓÃ×îƵ·±µÄÁС£
£¨Èý£©ÆäËû×¢ÒâÊÂÏî
¡°Ë®¿ÉÔØÖÛ£¬Òà¿É¸²ÖÛ¡±£¬Ë÷ÒýÒ²Ò»Ñù¡£Ë÷ÒýÓÐÖúÓÚÌá¸ß¼ìË÷ÐÔÄÜ£¬µ«¹ý¶à»ò²»µ±µÄË÷ÒýÒ²»áµ¼ÖÂϵͳµÍ
Ч¡£ÒòΪÓû§ÔÚ±íÖÐÿ¼Ó½øÒ»¸öË÷Òý£¬Êý¾Ý¿â¾ÍÒª×ö¸ü¶àµÄ¹¤×÷¡£¹ý¶àµÄË÷ÒýÉõÖÁ»áµ¼ÖÂË÷ÒýËéƬ¡£
ËùÒÔ˵£¬ÎÒÃÇÒª½¨Á¢Ò»¸ö¡°Êʵ±¡±µÄË÷ÒýÌåϵ£¬ÌرðÊǶԾۺÏË÷ÒýµÄ´´½¨£¬¸üÓ¦¾«ÒæÇ󾫣¬ÒÔʹÄúµÄÊý¾Ý
ÍƼöÐÅÏ¢
- ¡¾ÊÓƵ²¥·Å¡¿JplayerÊÓƵ²¥·ÅÆ÷µÄʹÓÃ
- memcacheÄÚ´æÔÀí
- Memcache¼¼Êõ·ÖÏí£º½éÉÜ¡¢Ê¹Óᢴ洢¡¢Ëã·¨¡¢ÓÅ»¯....
- php³£ÓÃÕýÔò±í´ïʽ
- phpÐÔÄܼà²âÄ£¿éXHProf
- ÈÃCI¿ò¼ÜÖ§³Öservice²ã
- ʹÓÃPHPÉú³É´øLOGOµÄ¸öÐÔ»¯¶þάÂëͼÏñ
- ¹ØÓÚCodeIgniterÄã¿ÉÄܲ»ÖªµÀµÄ5¸ö֪ʶµã
- Memcache ºÁÃ뼶³¬Ê±¼°ÆäËû³£¼ûÎÊÌâ»ã×Ü
- [PHP±Ê¼Ç]PHPQueryÒ»¸ö´¦ÀíDOMµÄÀûÆ÷
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- PHP»ñÈ¡Óû§µÄÕæʵIP£¬²¢ÅжÏÊÇ·ñÄÚÍøIP
- PHP ´íÎóÈÕÖ¾ error_log
- ÀûÓÃbigpipe»úÖÆʵÏÖÒ³ÃæÄ£¿éµÄÒì²½äÖȾ chunked¼¼Êõ
- php¿ØÖÆÎļþÏÂÔØËÙ¶È
- js + php ¶ÁÈ¡¡¢²¥·ÅÊÓƵÁ÷ ¼æÈÝfirefox£¬c....
- ¡¾ÊÓƵ²¥·Å¡¿JplayerÊÓƵ²¥·ÅÆ÷µÄʹÓÃ
- UNICODE Óë UTF-8 µÄ¹Øϵ
- memcacheÄÚ´æÔÀí
- Memcache¼¼Êõ·ÖÏí£º½éÉÜ¡¢Ê¹Óᢴ洢¡¢Ëã·¨¡¢ÓÅ»¯....
- phpʹÓÃmb_detect_encoding¼ì²â×Ö·û´®±àÂë
ÆÀÂÛ