Re: Ultra fast db access & searching?
- From: Dyreatnews@xxxxxxx
- Date: Fri, 25 Nov 2005 14:28:26 +0100
"Aerodyne" <aerodynex@xxxxxxxxx> writes:
> Thanks IchBin .... but I'm sure even with HSQLDB searching through
> millions of unique user names can be optimize in some way or another.
> What are the best solutions for this task or do most just leave the
> database do it with out a good design.
>
> Hotmail has 150+ million users ... yet they get back to you very
> quickly as if the user name is already in use & several suggestions!
>
> I'm just looking for good database design if any or tricks for fast
> searching... ie instead of putting the complete city name in a field
> (LosAngeles) you just use LA, that way you only have to search for two
> characters rather than all 10 for equality or like wise for all other
> cities ... just a 3 letter acronym.
You are on to something here. I believe it is called hashing :)
--
dt
However, experience shows that for many people and many applications a
dose of paranoia is reasonable - Bjarne Stroustrup
.
- Follow-Ups:
- Re: Ultra fast db access & searching?
- From: IchBin
- Re: Ultra fast db access & searching?
- References:
- Ultra fast db access & searching?
- From: Aerodyne
- Re: Ultra fast db access & searching?
- From: IchBin
- Re: Ultra fast db access & searching?
- From: Aerodyne
- Ultra fast db access & searching?
- Prev by Date: Re: Ultra fast db access & searching?
- Next by Date: Re: Ultra fast db access & searching?
- Previous by thread: Re: Ultra fast db access & searching?
- Next by thread: Re: Ultra fast db access & searching?
- Index(es):
Relevant Pages
|