MySQL Forums
Forum List  »  Optimizer & Parser

Boolean search and 99% cpu
Posted by: Taiyo Rai
Date: June 27, 2006 07:17AM

Greetings,

I use a lot of Fulltext queries like AGAINST ('+"hello" +"kitty" +"bower"

+"golem" +"linger"' IN BOOLEAN MODE).

Our CPU is 99% and when i try 'show full processlist' i see that those type

of queries are just hanging it. When i do explain on the query i see that

it's using a simple search and where:
| 1 | SIMPLE | products | fulltext | idxN | idxN | 0 |

| 1 | Using where |

Yet out database chokes. Any ideas? Any tips about optimizing our database?

We run Linux FC4 SMP (Dual Processors Xeons 3.2), 64bit with fast drives.

Output from SHOW VARIABLES LIKE '%cache%':
+------------------------------+----------------------+
| Variable_name | Value |
+------------------------------+----------------------+
| binlog_cache_size | 32768 |
| have_query_cache | YES |
| key_cache_age_threshold | 300 |
| key_cache_block_size | 1024 |
| key_cache_division_limit | 100 |
| max_binlog_cache_size | 18446744073709551615 |
| query_cache_limit | 4194304 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 4194304 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| table_cache | 64 |
| thread_cache_size | 0 |
+------------------------------+----------------------+

I hope i provided enough information.

Thank you,

Tai.

Options: Reply• Quote


Subject
Views
Written By
Posted
Boolean search and 99% cpu
2903
June 27, 2006 07:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.