Subject | Re: [firebird-support] Large volumes of data |
---|---|
Author | Kjell Rilbe |
Post date | 2005-02-18T16:41:36Z |
Edwin A. Epstein, III wrote:
would have thought that floating point numbers would be inherently
problemativ for such purposes, considering they will suffer
truncations/round-off errors as soon as you pass the through some API
that uses a different floating point number format, or to/from string
format.
Or am I missing something?
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
> I have a couple of databases with 20 million + rows in 2 or 3 tables linkedAre you saying that you're using a floating point type for PK/FK? I
> by indexed double precision fields. I have not needed to link them with a
> foreign key constraint. I have PK's on double precision fields in each of
> the tables. As far as speed goes, lookups on 2 joined tables takes about
> 0.062 seconds. Fetching 10K-100K records at a time takes me about 8-30
> seconds.
would have thought that floating point numbers would be inherently
problemativ for such purposes, considering they will suffer
truncations/round-off errors as soon as you pass the through some API
that uses a different floating point number format, or to/from string
format.
Or am I missing something?
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64