Hi,

Now that I've completed my SQLite application (written in Pyxia's IBasic), using
the SQLite DLL, I have some questions

My database is about 37mb, and has 114,380 records (rows)

If I open and query the database locally (ie, the .db file is in the same folder as
the application), things move pretty quick. I can do a query for a certain range
of records (59,840) in about 4 seconds

Doing the same query with the same .db on a network server is taking 18 seconds.
Is this acceptable? I find that pretty slow!

Most of my queries are fashioned so that they use indexes - I try not to use
the "like" operator

We have a certified 100mb network, with Cisco gigabit switches, and I am running
the application from a 2.4gHz P4 PC

How do other users deal with querying large amounts of information over a network?
Are you paging in records, say 500 at a time, and then paging in the next 500
records?

Could I set my database up differently?
At the moment, when the .db loads up, I am setting:
pragma cache_size=8192;
pragma synchronous=off;
pragma count_changes=off;

Are there any other tweaks I could set in this area?

If anyone has any ideas or suggestions as to how to improve the query
speed over a network, I would love to hear them

Thanks a lot,

Brian Pugh
Halifax, England

Reply via email to