Unix Technical Forum

trace in mysql

This is a discussion on trace in mysql within the MySQL forums, part of the Database Server Software category; --> Hello! I work on Oracle databases and I use trace list to know what query is the most costable ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 11:29 AM
K.
 
Posts: n/a
Default trace in mysql

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 11:29 AM
Captain Paralytic
 
Posts: n/a
Default Re: trace in mysql

On 30 Oct, 14:21, "K." <halinaciern...@poczta.onet.pl> wrote:
> 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


I know it and so does the manual. It is called the slow query log.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 11:29 AM
MZ
 
Posts: n/a
Default Re: trace in mysql


Uzytkownik "Captain Paralytic" <paul_lautman@yahoo.com> napisal w wiadomosci
news:1193762788.091731.16080@v3g2000hsg.googlegrou ps.com...
> On 30 Oct, 14:21, "K." <halinaciern...@poczta.onet.pl> wrote:
>> 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

>
> I know it and so does the manual. It is called the slow query log.
>


Ok Thank you for information. I have read such web page:

http://www.petefreitag.com/item/233.cfm

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com