trace in mysql
by K. » Wed, 31 Oct 2007 23:21:43 GMT
Hello!
I work on Oracle databases and I use trace list to know what
query is the most costable and why it generate for so long time.
Having such trace list I know which queries from Oracle Forms
are the most costable etc.
I have a web page with mysql database.
I would like to know if such trace list is possible to generate
in Mysql database or maybe TOAD for Mysql or phpmyadmin?
Do you know it?
Thank you in advance for help
Marcin
Re: trace in mysql
by Captain Paralytic » Thu, 01 Nov 2007 01:46:28 GMT
I know it and so does the manual. It is called the slow query log.
Re: trace in mysql
by MZ » Thu, 01 Nov 2007 03:01:39 GMT
Uzytkownik "Captain Paralytic" < XXXX@XXXXX.COM > napisal w wiadomosci
Ok Thank you for information. I have read such web page:
http://www.**--****.com/
I use home.pl hosting domain and I don`t know where I can find my.cnf
file to implement the following parameters:
log-slow-queries = /var/log/mysql/mysql-slow.log
long_query_time = 1Can you tell me how can I do that?Thank you in advanceMarcin