I’m analyzing poor performance of one of my sites and found a slow queries log file of about 30MB for a single day. Upon analyzing it it seems most of hte queries are from rtmedia.
Here is my analyzis, any ideas?
# 300ms user time, 20ms system time, 55.46M rss, 100.63M vsz
# Current date: Tue Nov 11 20:46:06 2014
# Hostname: h2118175.stratoserver.net
# Files: mysql-slow.log.1
# Overall: 251 total, 8 unique, 0.00 QPS, 0.01x concurrency ______________
# Time range: 2014-11-10 00:00:04 to 22:52:45
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 965s 2s 6s 4s 6s 1s 4s
# Lock time 95ms 0 46ms 379us 98us 3ms 76us
# Rows sent 15.75k 0 12.22k 64.25 0.99 794.30 0.99
# Rows examine 15.75k 0 12.22k 64.26 0.99 794.30 0.99
# Query size 6.36M 6 3.69M 25.95k 34.95 286.13k 33.28
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M Item
# ==== ================== ============== ===== ====== ==== ===== =========
# 1 0xFEA6E6DD9CA0437D 937.3335 97.1% 242 3.8733 0.31 0.30 SHOW TABLES
# MISC 0xMISC 27.9992 2.9% 9 3.1110 NS 0.0 <7 ITEMS>
# Query 1: 0.01 QPS, 0.03x concurrency, ID 0xFEA6E6DD9CA0437D at byte 6701856
# This item is included in the report because it matches --limit.
# Scores: Apdex = 0.31 [1.0], V/M = 0.30
# Query_time sparkline: | ^ |
# Time range: 2014-11-10 14:10:29 to 22:52:45
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 96 242
# Exec time 97 937s 2s 6s 4s 6s 1s 4s
# Lock time 19 18ms 35us 136us 75us 93us 15us 76us
# Rows sent 1 164 0 1 0.68 0.99 0.46 0.99
# Rows examine 1 164 0 1 0.68 0.99 0.46 0.99
# Query size 0 8.11k 34 35 34.32 34.95 0.50 33.28
# String:
# Databases c1kk
# Hosts localhost
# Users c1kk
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+
SHOW TABLES LIKE 'kk_rt_rtm_media'\G