Please wait while updating issue type...
This issue is blocking the next release
Access to this issue is restricted, which means only users with access to internal issues can see this issue.
This issue has been closed with status "New" and resolution "Not determined".
Description
a kind of Edit->Optimize database to export current/switch to new/remove old database.
recently, my database was broken, so, using sqlite3, I dump the current dabase to sql, import it the a new one, then switch the current and hte new one.
In fact, the advantage of doing this was that cleaning database was far more faster (a couple of tens of minutes for series) than before (several hours) !
manual actions taken :
then clean MyVideo46.emm.$(date +%Y%m%d%H%M%S) whenever you want.
PS : don't know how .PRAGMA optimize may be helpfull in this context ? nothing to do here, but, do you "PRAGMA shrink_memory;" sometimes to free up memory ?
recently, my database was broken, so, using sqlite3, I dump the current dabase to sql, import it the a new one, then switch the current and hte new one.
In fact, the advantage of doing this was that cleaning database was far more faster (a couple of tens of minutes for series) than before (several hours) !
manual actions taken :
$ sqlite3 MyVideo46.emm
pragma integrity_check;
.output MyVideo46.sql
.dump
.exit
$ sqlite3 MyVideo46.emm.new < MyVideo46.sql
$ mv MyVideo46.emm MyVideo46.emm.$(date +%Y%m%d%H%M%S)
$ mv MyVideo46.emm.new MyVideo46.emm
then clean MyVideo46.emm.$(date +%Y%m%d%H%M%S) whenever you want.
PS : don't know how .PRAGMA optimize may be helpfull in this context ? nothing to do here, but, do you "PRAGMA shrink_memory;" sometimes to free up memory ?
How to reproduce
Attachments0
Drop the file to upload it
Subtasks0
Important details
User pain
-
Type of bugNot triaged
-
LikelihoodNot triaged
-
EffectNot triaged
Affected by this issue 0
Times and dates
-
Estimated time No time estimated
-
Time spent No time spent
People involved
Other details
This issue has been deleted
This message will disappear when you reload the page.
Post a comment and get things done