Re: Question about a data structure
- From: Arjen <dont@xxxxxxx>
- Date: Mon, 29 Jan 2007 17:23:44 +0100
Michael Fesser schreef:
.oO(Arjen)
I had to do the same thing for a project im working on. Worst case I had to join 10+ tables on the fly with more then 10k entries. Performance was terrible so I join the data overnight and dig in the large pool of data with a simple select :-)
10k entries are _nothing_ for a database, which is able to handle
millions of records. Even a join over 10+ tables shouldn't be much of a
problem, except maybe on a real high-traffic site. Are you sure the
tables were properly indexed? That's one of the most important things.
If every constraint or join requires a full table scan because of
missing or improperly defined indexes, then of course the performance
will be very poor.
Micha
Yup im sure. Indexes are ok (checked with explain and common sense) and we have had quite a few specilists that have worked on it. The server is relatively new. But it's a busy website indeed. Too bad I cant show you since the data is private. Anyway it works like a charm now :-)
--
Arjen
http://www.hondenpage.com
.
- Follow-Ups:
- Re: Question about a data structure
- From: Arjen
- Re: Question about a data structure
- References:
- Question about a data structure
- From: Larry in Honolulu
- Re: Question about a data structure
- From: Arjen
- Re: Question about a data structure
- From: asdf
- Re: Question about a data structure
- From: Arjen
- Re: Question about a data structure
- From: Michael Fesser
- Question about a data structure
- Prev by Date: Re: Question about a data structure
- Next by Date: Re: Question about a data structure
- Previous by thread: Re: Question about a data structure
- Next by thread: Re: Question about a data structure
- Index(es):
Relevant Pages
|