Hello
I have two speed problems.
The first, and least troublesome, is
selecting records out of a 3000 element table.
Although this takesa couple of seconds, I
can live with it.
The second, which could be done with a join
at the same time as the first, selects 1 to 30 records
from a table of 28319, for each record in the first select.
The whole picture is tainted by the fact that
this is running on a Cassiopeia (133 MH R4000) Pocket
PC. Not very fast at all.
I could be that Java is just not fast enough for
thie application on this machine. I hoip not though.
I am currently reducing the number of records by
using a intelligent selection process.
Thanks for your time.
dkr
-----Original Message-----
From: Peter Hearty [mailto:peter.hearty@lutris.com]
Sent: January 13, 2001 12:18 AM
To: instantDB@enhydra.org
Subject: Re: InstantDB: how to make it faster
Doug
An indexed lookup, testing for equality, will run at probably the same
speed regardless of the data type. InstantDB uses hash indexes instead of
b-trees so all comparisons are integer comparisons.
How big is the table and how slow is the lookup?
Regards
Pete
--
Peter Hearty peter.hearty@lutris.com
Lutris Technologies (UK) http://www.lutris.com
----- Original Message -----
From: "Doug Robinson" <drobinson@zicorp.com>
To: <instantDB@enhydra.org>
Sent: Friday, January 12, 2001 8:50 PM
Subject: InstantDB: how to make it faster
> Hello
>
> I have an InstantDB database running on a Cassoiopeia. (a pocket PC)
> I do a simple select on a indexed column. This column is always
> (or can be make so) a 2 character string.
>
> Would it be faster to convert the string into a
> short and run the select against that. Indexed or not?
>
> Would any improvement be significant?
>
> Thanks for your time.
> dkr
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>
----------------------------------------------------------------------------
-
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|