[ZODB-Dev] RelStorage - what tables and indexes should be present?

Shane Hathaway shane at hathawaymix.org
Tue Feb 1 12:33:13 EST 2011


On 02/01/2011 10:16 AM, Chris Withers wrote:
> I notice that one of my history-free storages only has 'new_oid' and
> 'object_state' tables while all the others have 'new_oid', 'object_ref',
> 'object_refs_added', 'object_state' and 'pack_object' tables.
>
> What's special about this storage?

It sounds like RelStorage didn't get a chance to finish creating the 
schema.  In MySQL, DDL statements are not transactional, so errors 
during schema creation (such as a timeout) leave a partial schema.

Shane


More information about the ZODB-Dev mailing list