Skip to content

Deleting items from database is very slow... #99

Answered by utelle
MortenMacFly asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know if this question belongs here, so please be patient with me.

Questions, if they are not related directly to the wxSQLite3 wrapper, but to SQLite itself (like about query optimization or performance of certain SQL commands), are usually better asked on the SQLite user forum.

I am having a rather simple use-case for wxsqlite3: A DB with 3 tables, where 2 tables are basically parameter logs that grow with time. There is a clean-up function that allows the user to remove any old logs that are no longer useful. The database file is around 10-15 MB in size.

SQLite can handle databases which have many GBs in size, so 10-15 MB should not impose a problem.

For the clean-up I use …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@MortenMacFly
Comment options

@MortenMacFly
Comment options

@utelle
Comment options

Answer selected by MortenMacFly
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants