I use java edition of BerkeleyDB, DPL.
While parsing a data to BerkeleyDB I store some temporal information in specific PrimaryIndex. This PrimaryIndex takes lot of space and I want to drop all data stored there and to free the space used on HD.
What is the simpliest way to do this?
Thanks.
Without knowing more details, you may nee to re-write the data without the information you want to drop. However, Unless you are looking to save hundreds of GB, I wouldn't bother. I would get more disk space if you need it.