The weird thing I've noticed about it is that when you try to delete a collection for example, you'll still have the folder in the db folder! It's
This is a random behavior. I haven't quite been able to track it down. If you can tell me more about your platform, I can attempt to recreate it. I haven't noticed it on Solaris or Mac OS X in a while.
just doesn't get deleted. Furthermore; when I tried to add a big number of documents to a newly created collection then delete them, and I looked into the .tbl file inside the folder that reflects the collection name, I found that it's almost 15 MB of size although the documents size as text doesn't exceed 1 Mega!
Xindice uses a paged file system that maintains BTrees of information. A Page is 4k in size by default, so even if you add a document that is 100 bytes, it will consume 4k. You can tweak the size of pages when you create a collection, but generally it's a good idea to have them be a multiple of the file system's block size. In many file systems, it's 4k. Some are 512bytes.
-- Tom Bradford - http://www.tbradford.org Apache Xindice (Native XML Database) - http://xml.apache.org Project Labrador (Web Services Framework) - http://notdotnet.org
