Subject | Re: [firebird-support] Big DB |
---|---|
Author | Martijn Tonies |
Post date | 2004-08-25T17:10:43Z |
Hi Chad,
Not at all.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> We have an application that used to use big indexed flat files. Then wewell
> moved the indexes and some things into DBISAM but kept all the "blob" data
> external, and had ready made indexes external etc.. It all worked very
> except even the DB part was getting big and DBISAM occasionly wouldcorrupt
> things.difficult
>
> We've moved it to FB and deciced to move ALL data into the DB. The old
> system was VERY fast, but pruning itmes out of the blobs was very
> because you had to repack the file and update the ready made indexes,etc..
>DB
> So we've converted and my resulting GDB is 1.2 GB without any indexes. Im
> adding indexes now....
>
> 1) Any tips? Will FB have trouble with this DB or potentially larger? The
Not at all.
> structure is pretty small, just 6 tables or so. Most of the data is in twoBut
> tables. Tehre are very few joins, mostly simple lookups in fact.
> 2) One of the common lookups is by a unique integer field. No problem..
> one of the common lookups is on a varchar 100. In our old system we took alookup,
> 32 bit hash of this field and put it in a "index". When we wanted to
> we scaned for matching hashes. If more than one, then we comparedt ehactual
> text of those with matching hashes. Very fast....or
>
> Now I assume FB does something simlar for #2? Should we bother with this
> just index the varchar 100 and let FB takie care of it? Rigth now it's aIndexing a varchar 100 is fine.
> straight port, so its still doing it. Also how will FB store this as an
> idnex?
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com