The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
long_query problem
Hello everybody ;
I have some problems with long-query-log , the forum is very stable but it's not ok in the log , i explain : I have set up this configuration on my.cnf : Code:
# Here you can see queries with especially long duration log_slow_queries = /var/log/mysql/mysql-slow.log long_query_time = 4 Code:
Time Id Command Argument # Time: 090627 1:00:11 # User@Host: xxx[xxx] @ localhost [] # Query_time: 6 Lock_time: 0 Rows_sent: 239788 Rows_examined: 239788 use database; SELECT /*!40001 SQL_NO_CACHE */ * FROM `post`; # Time: 090627 1:00:20 # User@Host: xxxx[xxxx] @ localhost [] # Query_time: 8 Lock_time: 0 Rows_sent: 3741271 Rows_examined: 3741271 SELECT /*!40001 SQL_NO_CACHE */ * FROM `postindex`; And this is , my log error with this configuration when i added ( > log-queries-not-using-indexes ) on my.cnf Code:
# Here you can see queries with especially long duration log_slow_queries = /var/log/mysql/mysql-slow.log long_query_time = 4 log-queries-not-using-indexes Some one can explain me , what can i do to resolve this problem ? Thanks ! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|