Jump to content

Recommended Posts

Posted

Hello everybody,

 

I've downloaded the entire DMOZ datas and parsed them with dmoz2mysql PHP script.

I've added IDs on tables.

 

From now, when I do requests like this one, it's really slow (60sec) the first time it's done (thanks to MySQL cache)

 

SELECT DISTINCT
`content_links`.`topic`,
`content_links`.`resource`,
`content_description`.`title`,
`content_description`.`description`
FROM
`content_links` ,
`content_description`
WHERE
`content_links`.`topic` LIKE "Top/Shopping/Publications/Books/Arts" AND
`content_description`.`externalpage` = `content_links`.`resource`

 

Is there a way to optimize my query/tables?

 

Thanks a lot...

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...