Skip to content

Fix hanging when deleting large number of records (#856) - #870

Merged
justinclift merged 2 commits into
sqlitebrowser:masterfrom
prutz1311:master
Nov 25, 2016
Merged

justinclift merged 2 commits into
sqlitebrowser:masterfrom
prutz1311:master

Conversation

@prutz1311

Copy link
Copy Markdown
Contributor

When trying to delete all records or large number of
them (~5000) (selecting them and pressing Delete Record on Data tab), it
takes too much time to execute this operation due to large number of
queries like DELETE * FROM 'table' WHERE '_rowid_' = id.

When trying to delete all records or large number of
them (~5000) (selecting them and pressing Delete Record on Data tab), it
takes too much time to execute this operation due to large number of
queries like `DELETE * FROM 'table' WHERE '_rowid_' = id`.
@justinclift

Copy link
Copy Markdown
Member

Awesome. 😄

Both @MKleusberg and I are taking a short break to recharge (back next week), so we'll get to this then.

Are you ok to figure out the Travis CI failure problem until then?

@vtronko

vtronko commented Nov 16, 2016 •

Copy link
Copy Markdown
Member

This is travis CI that breaks stuff during pre-build scenario.

Shell commands which do not produce any output are executed only for 10
minutes in Travis CI unless `travis_wait` option is specified (more at
https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received). It
caused the build to fail because of `-qq` options which are removed in this commit.
@justinclift
justinclift merged commit 17369b6 into sqlitebrowser:master Nov 25, 2016
@justinclift

Copy link
Copy Markdown
Member

Thank you @prutz1311, this should really help. 😄

@chrisjlocke Any interest in testing out the record deletion speed with tomorrow's nightly build?

@chrisjlocke

Copy link
Copy Markdown
Member

image

Surely can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants