summaryrefslogtreecommitdiff
path: root/addons/base_graph/static/src/xml/base_graph.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-07-14 12:55:52 +0200
committerOlivier Dony <odo@openerp.com>2011-07-14 12:55:52 +0200
commit8504e6158bd943bd210ade35171327d1185303e5 (patch)
tree60794657796aba0b6c2cb911e9b66f7aee3c9d9c /addons/base_graph/static/src/xml/base_graph.xml
parente32df7bb5d594cce1adb22e1cc9a951014f18d83 (diff)
[IMP] sql_db: default cursor = serialized, deprecate serialized_cursor, add doc
In the context of OpenERP transaction, we really need the 'snapshot isolation' level provided by PostgreSQL because not being able to make repeatable reads within the same transaction is a very dangerous source of corrupted data, especially in a very concurrent system. The performance impact of switching from the default read_committed level to serializable/repeatable_read level has been measured and and was not distinguishable from the standard deviation - so it seems quite acceptable. User of PostgreSQL 9.1 might want to update to psycopg2 version 2.4.2 or later to properly use the regular snapshot isolation level, and not the newer, more expensive serializable level (see comments in Cursor docstring). bzr revid: odo@openerp.com-20110714105552-9tgofrjtdgjmgc4b
Diffstat (limited to 'addons/base_graph/static/src/xml/base_graph.xml')
0 files changed, 0 insertions, 0 deletions