What is the difference between the various ZODB blobstorage layouts?

前端 未结 2 827
旧时难觅i
旧时难觅i 2020-12-19 11:28

The ZODB blobstorage directory contains a .layout file with the string \'lawn\', \'bushy\'.

What is the difference between the various blob storage directory formats

2条回答
  •  死守一世寂寞
    2020-12-19 12:20

    It is explained here: http://svn.zope.org/ZODB/trunk/src/ZODB/tests/blob_layout.txt?rev=101802&view=markup

    FTA:

    ======================

    Blob directory layouts

    The internal structure of the blob directories is governed by so called layouts. The current default layout is called bushy.

    The original blob implementation used a layout that we now call lawn and which is still available for backwards compatibility.

    Layouts implement two methods: one for computing a relative path for an OID and one for turning a relative path back into an OID.

    Our terminology is roughly the same as used in DirectoryStorage.

    It also explains the formats in detail.

提交回复
热议问题