cubicweb #577952 avoid fsyncing with sqlite [rejected]
when running tests, syncing slows down everything (and on a shared machine everyone pays) there's a http://www.sqlite.org/pragma.html#pragma_synchronous to use | |
priority | normal |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2009/12/03 18:50, written by acampeas
-
2009/12/18 08:19, written by acampeas
-
2009/12/22 20:21, written by sthenault
add commenthmm I've tried to set a cursor.execute('pragma synchronous = OFF') line in native.py to see what we get (still not sure it's the right place to set it) and things went incredibly slower ...
in all fairness, what bothered me most was the slowness of blob retrieval (which is not supposed to involve syncs at all)
I've done several test with different options without much success (hence I didn't commit anything). Rejecting for now.