Ê×Ò³ | ¹«Ë¾¼ò½é | Êý¾Ý»Ö¸´ | ±¸·Ý·þÎñ | ³É¹¦°¸Àý | ¼¼ÊõÖÐÐÄ | ¿Í»§·þÎñ | ·þÎñ±¨¼Û | Êý¾Ý»Ö¸´Èí¼þ | ÁªÏµÎÒÃÇ | ±±ÑDz©¿Í  
 
  ±±¾©×ܲ¿£º 4006-505-646
  Ìì ½ò ²¿£º 4006-505-646
  ÉÏ º£ ²¿£º 4006-505-646
  Éî ÛÚ ²¿£º 4006-505-646
  ¹ã ÖÝ ²¿£º 4006-505-646
  ÖØ Çì ²¿£º 4006-505-646
  ÄÏ ¾© ²¿£º 4006-505-646
  ÆäËüµØÇø£º 4006-505-646
±±ÑÇÊý¾Ý»Ö¸´Èí¼þWindowsרҵ°æ
ÈýÐÇÊÖ»úÊý¾Ý»Ö¸´Èí¼þV1.0
±±ÑÇÆ»¹ûÊÖ»úÊý¾Ý»Ö¸´Èí¼þV2.0
±±ÑÇÓ²Å̼Ïñ»úÊý¾Ý»Ö¸´Èí¼þ V
±±ÑÇvmwareÐéÄâ»úÊý¾Ý»Ö¸´Èí¼þ
±±ÑÇÕÕƬÊý¾Ý»Ö¸´Èí¼þ
±±ÑÇÉãÏñ»úÊý¾Ý»Ö¸´Èí¼þ v2.1
±±ÑÇSybaseÊý¾Ý¿âÐÞ¸´Èí¼þ V2.
raid´ÅÅÌÕóÁÐÓ¦¼±·½°¸
HP EVA4400/6400/8400/P6000
iphone Í¨Ñ¶Â¼¶ªÊ§ÈçºÎ»Ö¸´£¿
xen server ´æ´¢¿â(sr)Ë𻵺ó
RAID6½á¹¹Ô­ÀíÏê½â£¨±±ÑÇÊý¾Ý
AIXÏÂɾ³ýLVºóµÄÏÖ³¡±£»¤ºÍÊý
RAIDË𻵺ó ¶ÔÊý¾ÝµÄÍêÕû±¸·Ý
Äúµ±Ç°µÄλÖãºÊ×Ò³ >> ¼¼ÊõÖÐÐÄ >> Êý¾Ý¿âÐÞ¸´ÎÄÀ¸ >> ÕýÎÄ

MySQL SQL ProfilerÐÔÄÜ·ÖÎöÆ÷

ÉêÇëÁËMySQL°æÖ÷£¬ËµÒª15ÌìµÄ¿¼²ìÆÚ
¿´À´ÒªºÃºÃ±íÏÖÁË¡£²»ÄÜÔÙDZˮÁË¡£

¿´µ½ºÜ¶àÅóÓÑÎÊMySQLµÄÐÔÄÜ·ÖÎöÆ÷
ÒòΪMySQLÔÚÕâ·½Ãæ×öµÃ±È½Ï²î£¬Ò²¿ÉÄÜÎÒ²»ÖªµÀ
ûÓÐMicrosoftµÄSQL Profiler,ҲûÓÐOracleµÄAuditºÍAWR
ËùÒÔÎÒÃǺÜÄѵõ½Ò»Ð©SQLÓï¾äµÄͳ¼Æ£¬ÕâÒ²¸øÎÒÃǵ÷ÓÅ´øÀ´ÁËÀ§ÄÑ
¸üÄѵÄÊǶÔMySQLµÄ×·×Ù
ÒÔǰд¹ý¸ö£¬²»¹ýÔÚ¿´¹ýmysqlÍøÕ¾ÉϵÄÒ»¸öbash½Å±¾ºó£¬¾õµÃ×Ô¼ºµÄÄǸö¾ÍÊÇСÎ×¼û´óÎ×ÁË
ÏÖÄÃÀ´·ÖÏí¸ø´ó¼Ò£¬ºÜ¼òµ¥
# È¡µÃÍø¿¨eth0ÉϵÄËùÓвÙ×÷
time tcpdump -i eth0 -s 1500 -w 20060427-db-traffic-01.dmp 
# Õâ¸ö¿ÉÒÔÖ¸¶¨Ìض¨IPÇëÇóµÄ²Ù×÷£¬¿ÉÓÃÓÚ×·×Ù
time tcpdump -i eth0 -s 1500 src host 192.168.2.10 -w 20060427-db-traffic-01.dmp 
# Õâ¸öÊǸñʽ»¯Êä³öÄãÒª½á¹û
strings 20060427-db-traffic-01.dmp | grep -i 'select' | awk '{printf("%s %s %s %s\n", $1,$2,$3, $4);}'| sort| uniq -c | awk '{printf("%06ld %s %s %s %s\n", $1,$2,$3,$4,$5);}'|sort

µÃµ½µÄ½á¹û:
cpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 1500 bytes
12000 packets captured
12000 packets received by filter
0 packets dropped by kernel
real 0m8.666s
user 0m0.006s
sys 0m0.016s
--------
000001 select last_insert_id() from system_parameter
...
000122 select count(1) from visit_tracking
000122 select visitor_id
000800 select web_page_id , web_page_type_id
000800 select web_page_type_id , name
003200 select count(1) from hit_count
006400 select pd.parameter_value,
006400 select rp.user_id , rp.update_time 

¿ÉÒÔ¿´µ½Ö´Ðи÷ÖÖselectµÄ´ÎÊý£¬µ±È»¸ÄһϾͿÉÒÔ¿´insert,updateÕâÖÖ²Ù×÷´ÎÊý
ÅäºÏlog-slow-queries£¬Äã¿ÉÒÔ½øÒ»²½µÄÓÅ»¯

ÉÏһƪ£º¹ØÓÚ OracleÊý¾Ý¿âµÄ±¸·ÝÓë»Ö¸´
ÏÂһƪ£ºLinux 9iÏÂDataguardÅäÖÃ
·µ»ØÊ×Ò³ | ÁªÏµÎÒÃÇ | ¹ØÓÚÎÒÃÇ | ÕÐƸÐÅÏ¢ | ÓÑÇéÁ´½Ó | ÍøÕ¾µØͼ | ºÏ×÷»ï°é
°æȨËùÓÐ ±±¾©±±ÑÇå·ÐǿƼ¼ÓÐÏÞ¹«Ë¾
È«¹úͳһ¿Í·þÈÈÏߣº4006-505-646
±±¾©×ܲ¿£º±±¾©Êк£µíÇøÓÀ·á»ùµØ·á»ÛÖз7ºÅвÄÁÏ´´Òµ´óÏÃB×ù205ÊÒ
¾©ICP±¸09039053ºÅ

¹1½ºóEÖ