Forum Moderators: coopster

Message Too Old, No Replies

Stats in Mysql

         

turbohost

8:02 pm on May 29, 2004 (gmt 0)

10+ Year Member



Hi,

Is there a way to check via command line how many times a specific row in a mysql table has been accessed?

I also want to see which queries are running in real-time.

Thx,
Turbohost

turbohost

9:53 am on May 30, 2004 (gmt 0)

10+ Year Member



Anyone?

jatar_k

4:51 pm on May 30, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



not off the top of my head but maybe this bump will help ;)

coopster

4:30 pm on Jun 1, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



To the best of my knowledge, the only way to track row access/usage is the old "do-it-yourself" tracking method. One way would be to create an integer column that you increment on each
SELECT
query executed on that row. Another option would be to roll-your-own script that parsers the MySQL log files.
[dev.mysql.com...]