I noticed there is a "large_record_size" option with ZODB.DB, and I took it as a possibility of storing long texts in ZODB.
The first time I tried storing a corpus of texts (the total size of this corpus is 59.1 MB, 6000 texts and the length of the longest one was 82 KB), with "large_record_size" option set to 16777216, I started simply with connection.root(), and a warning was issued reporting the size of root PersistentMapping and saying that it was probably a bad idea to store an object this large.
Then I tried using an OOBTree to store the same lot of texts. No warning this time. The resulting database file was 59.2 MB, ideally small. I tested this file by randomly retrieving the texts in it. By the way, the retrieval speed is fairly fast. Apparently everything was how I had wanted it. However, I am a newbie to programming, I don't think I have enough understanding to make safe judgments.
Is ZODB a decent solution for storing texts?
Any suggestion would be appreciated.