sqlite3 performance problems only in python

S

Stef Mientki

hello,

until now I used only small / simple databases in Python with sqlite3.
Now I've a large and rather complex database.

The most simple query (with just a result of 100 rows),
takes about 70 seconds.
And all that time is consumed in "cursor.fetchall"

Using the same database in Delphi,
using the same query,
takes less than 5 seconds (including displaying the full table in a grid).

Are there in Python faster ways to get the query results ?
Would it be faster if I used an ODBC coupling and PyODBC to interface
the database ?

thanks,
Stef Mientki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top