Home » Performance » MySQL » 13GB DB - Performance Question
icon2.gif  13GB DB - Performance Question [message #1295] Wed, 23 May 2007 16:22 Go to previous message
GeoffreyF67  is currently offline GeoffreyF67
Messages: 21
Registered: May 2007
Junior Member

I have a 13 GB MYSQL table with the following definition:

CREATE TABLE `WikiParagraphs` (
  `ID` int(10) unsigned NOT NULL auto_increment,
  `Paragraph` text NOT NULL,
  PRIMARY KEY  (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=73035281 ;


I query it like this:

select Paragraph from WikiParagraphs where ID in (1,2,3,4)


the 1,2,3,4 bit comes from the Sphinx FullText engine that gives me the IDs I need that match my query within about 500 milliseconds.

But retrieving the data itself takes approximately 3-6 seconds.

Obviously, I'd like to speed this query up.

Any ideas?


G-Man

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:InnoDB innodb_log_file_size
Next Topic:Innodb Index cardinality keep change
Goto Forum:

  


Current Time: Sat Jul 4 15:34:37 EDT 2009

Total time taken to generate the page: 0.46638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.