Database purge ?
Message boards : Number crunching : Database purge ?
Author | Message | |
---|---|---|
When, if ever, does the database get purged of old results ?
|
||
ID: 7028 | Rating: 0 | rate: / | ||
When, if ever, does the database get purged of old results ? I suppose not before it causes some serious problems again (look at: Consistant 0% Progress topic). Although right now I can't really remember if it was the main reason.. oh well. |
||
ID: 7029 | Rating: 0 | rate: / | ||
It should be fixed now. We purge the database regularly, the reason that the result did not get removed if because that the "client state" of that result was "uploading" for some reason, so the database purger did not remove it.
When, if ever, does the database get purged of old results ? |
||
ID: 7035 | Rating: 0 | rate: / | ||
I guess the database purge doesn't work as expected as it most likely uses the workunit table as the leading relation.
|
||
ID: 7051 | Rating: 0 | rate: / | ||
Message boards : Number crunching : Database purge ?
Database Error: The MySQL server is running with the --read-only option so it cannot execute this statement
array(3) { [0]=> array(7) { ["file"]=> string(47) "/boinc/projects/docking/html_v2/inc/db_conn.inc" ["line"]=> int(97) ["function"]=> string(8) "do_query" ["class"]=> string(6) "DbConn" ["object"]=> object(DbConn)#9 (2) { ["db_conn"]=> resource(72) of type (mysql link persistent) ["db_name"]=> string(7) "docking" } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(51) "update DBNAME.thread set views=views+1 where id=714" } } [1]=> array(7) { ["file"]=> string(48) "/boinc/projects/docking/html_v2/inc/forum_db.inc" ["line"]=> int(60) ["function"]=> string(6) "update" ["class"]=> string(6) "DbConn" ["object"]=> object(DbConn)#9 (2) { ["db_conn"]=> resource(72) of type (mysql link persistent) ["db_name"]=> string(7) "docking" } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(BoincThread)#3 (16) { ["id"]=> string(3) "714" ["forum"]=> string(1) "2" ["owner"]=> string(5) "26814" ["status"]=> string(1) "0" ["title"]=> string(16) "Database purge ?" ["timestamp"]=> string(10) "1361920074" ["views"]=> string(2) "76" ["replies"]=> string(1) "3" ["activity"]=> string(19) "5.4830167390323e-30" ["sufferers"]=> string(1) "0" ["score"]=> string(1) "0" ["votes"]=> string(1) "0" ["create_time"]=> string(10) "1360513255" ["hidden"]=> string(1) "0" ["sticky"]=> string(1) "0" ["locked"]=> string(1) "0" } [1]=> &string(6) "thread" [2]=> &string(13) "views=views+1" } } [2]=> array(7) { ["file"]=> string(63) "/boinc/projects/docking/html_v2/user/community/forum/thread.php" ["line"]=> int(184) ["function"]=> string(6) "update" ["class"]=> string(11) "BoincThread" ["object"]=> object(BoincThread)#3 (16) { ["id"]=> string(3) "714" ["forum"]=> string(1) "2" ["owner"]=> string(5) "26814" ["status"]=> string(1) "0" ["title"]=> string(16) "Database purge ?" ["timestamp"]=> string(10) "1361920074" ["views"]=> string(2) "76" ["replies"]=> string(1) "3" ["activity"]=> string(19) "5.4830167390323e-30" ["sufferers"]=> string(1) "0" ["score"]=> string(1) "0" ["votes"]=> string(1) "0" ["create_time"]=> string(10) "1360513255" ["hidden"]=> string(1) "0" ["sticky"]=> string(1) "0" ["locked"]=> string(1) "0" } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(13) "views=views+1" } } }query: update docking.thread set views=views+1 where id=714