Topic: Log file analysis
Hello,
could anybody tell me something about the following part of my log file?
Rendered categories/_options (0.01718)
Topic Load (0.000233) SELECT * FROM `topics` WHERE (category_id = 1) ORDER BY last_post_id DESC LIMIT 1
CACHE (0.000000) SELECT * FROM `topics` WHERE (category_id = 1) ORDER BY last_post_id DESC LIMIT 1
Topic Columns (0.001730) SHOW FIELDS FROM `topics`
Post Load (0.000185) SELECT * FROM `posts` WHERE (topic_id = 3338) ORDER BY posts.id DESC LIMIT 1
Post Columns (0.001362) SHOW FIELDS FROM `posts`
CACHE (0.000000) SELECT * FROM `topics` WHERE (category_id = 1) ORDER BY last_post_id DESC LIMIT 1
CACHE (0.000000) SELECT * FROM `topics` WHERE (category_id = 1) ORDER BY last_post_id DESC LIMIT 1
SQL (0.000180) SELECT count(*) AS count_all FROM `posts` WHERE (`posts`.topic_id = 3338)
CACHE (0.000000) SELECT * FROM `topics` WHERE (category_id = 1) ORDER BY last_post_id DESC LIMIT 1
Post Load (0.000132) SELECT * FROM `posts` WHERE (`posts`.topic_id = 3338) ORDER BY posts.id DESC LIMIT 1
Rendered categories/_category (0.22172)
I mean what exactly does Topic Load and Post Load mean?
And how many queries are executed for this partial at all?
What does CACHE mean ... MySQL Query Cache?
How to analyse the entire log file? Are there any good tools for Linux?
cheers,
oerdec