Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
-none-

-none-

2007-10-04       - By Baron Schwartz

 Back
I wouldn't be surprised if this feature is broken in 3.23.  You said you
installed it yourself.  Can you possibly upgrade to 4.1 instead?

thomas Armstrong wrote:
> It looks like mySQL is taking ok the "long_query_time" value by using
> -- -----
> set-variable=long_query_time=5
> -- -----
>
> If I display mySQL parameters:
> -- ---
> long_query_time       current value: 10
> -- ---
>
> However, there are tons of lines like this one:
> -- ---
> # User@(protected): root[root] @ localhost []
> # Query_time: 0  Lock_time: 0  Rows_sent: 1  Rows_examined: 20
> -- -----
>
> This is not a slow query, is it?
>
>
> On 10/4/07, J?rn Dahl-Stamnes <sql03@(protected)> wrote:
>> On Thursday 04 October 2007 14:06, thomas Armstrong wrote:
>>> Hi.
>>>
>>> I'm suffering a severe slowness of my server (mySQL 3.23), and want to
>>> detect Slow Queries.
>>>
>>> I installed mySQL on '/usr/local/mysql', and works ok. But if I insert
>>> this line into '/etc/my.cnf':
>>> -- --
>>> log-slow-queries = /usr/local/mysql/log/slow-queries.log
>>> long_query_time = 5
>>> -- --
>>> it won't restart. If I comment the second line, it works ok.
>> Try to remove the spaces in the two lines. If my memory is correct, I had the
>> same problem some time ago and it went away when removing the spaces.
>>
>> --
>> J?rn Dahl-Stamnes
>> homepage: http://www.dahl-stamnes.net/dahls/
>>
>


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@(protected)