On Mon, Aug 13, 2001 at 06:16:10AM +0100, Corin Hartland-Swann wrote:
>
> I have also set tmp_table_size to 1024M, which according to the
> manual should mean that temporary tables will be created in RAM
> unless they're going to be bigger than that. When I do the following
> query:
>
> SELECT char_field,COUNT(*) AS c FROM table GROUP BY char_field
> HAVING c > 3 ORDER BY char_field
>
> It creates a temporary table on disk even though it was only about 200MBs
> - huh?
Can you run EXPLAIN on that query and show us the output?
Jeremy
--
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936
MySQL 3.23.41-max: up 0 days, processed 393,861 queries (101/sec. avg)
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php