Well, it's an InnoDb database and has some decent memory pools.

| innodb_additional_mem_pool_size | 33554432

| innodb_buffer_pool_size         | 536870912


-----Original Message-----
From: Joseph Bueno [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 11:47 AM
To: Nathan Cassano
Cc: '[EMAIL PROTECTED]'
Subject: Re: Select distinct speed on an indexed column


Since your primary key is used, maybe you should consider adding an
index on PostedZpdi field only.

You may also check 'key_buffer_size' value (show variables like 'key%').
Since your primary key is more than 200 MB big, allocating a "big" key
buffer (> 256MB) may help.

Joseph Bueno

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to