Hello
I have a database that uses a lot of collections (several thousand) and
wanted to move from xindice 1.1 beta2 to 1.1 beta4, and found the
following problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=31159
Looking at the code (Paged.java) I see that in both beta2 and beta4 the
pagesize was 4096, and pagecount was 1024, but looking at the .tbl files
on the disk (just a 'blank' database with system collection) shows great
difference in size between beta2 (12Kb per .tbl) and beta4 (6Mb per
.tbl). So what really changed ?
Having a database with many collections upgrading to beta4 means a lot
of space.
So what can I do ?
Looking at the code, I can edit Paged.java and changed the pagesize and
pagecount to match my needs. Does anyone have any suggestion on finding
the right ones (I assume changing these can impact performance) ? Have
anyone played with these ?
And moreover, is there a way so I can change through the configuration
file the pagesize for all the collections created (some of their names
are IDs computed at runtime)? I did not succeeded in setting pagesize
in the configuration file not even per collection name, for a single
collection.
Also since collections in my case are created through XML RPC, can I
supply a pagesize option when creating a collection ? (as an alternate
method, relying on the client instead of server).
Thanks
Catalin Braica
- pagesize/pagecount change in beta4 Catalin Braica
-