Issue #2540: How to check what is taking most space in DB file

Type: Feature requestVersion: 2.8.2Priority: NormalStatus: FixedReplies: 5
#1

Hi,

we are using Object DB for quite a while.
And some of our DB files are growing to bigger sizes that we would love to.

We started to deleting Entity instances which we don't need anymore, but without much luck of preventing the growth.

Are there some Tools that we can use to find out which entities occupies biggest portion of file space?

For example, to be able to see how many space individual entity classes (not single instances, but all of particular class) takes up would be really helpful for us.

#2

Unfortunately this information is currently inaccessible.

However, it seems relatively easy to expose it in the Explorer, so following your request we will try to implement it soon.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

Thanks, that would be great.

I will be awaiting that.

#4

Can you be more specific about how "soon"?

#5

ObjectDB 2.8.3 adds information in the Explorer (on the Schema tab) about the space in bytes that each entity type consumes (for storing the objects) and each index consumes.

This information is currently available only when the Explorer runs in embedded mode.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#6

Thank You very much for this update.
It works like we expected.


We found out an entity consuming more than 50% of space (we have over 100 entity classes), which we can investigate now.


Post Reply

To post a reply and/or subscribe to update notifications - please login