Logically deleted space is reused for new items. If you insert and delete a 50MB thing, then (in theory) the next 50 1MB things you insert will re-use that logically deleted space. I don't necessarily like this, but it's the way of most NoSQL DBs.
On Mon, Apr 7, 2014 at 12:40 PM, Nhat Nguyen <[email protected]>wrote: > Hi, > > i want to delete previously entered binary[] field entries from a cluster. > > Inserting 1 binary[] with the size of 50mb which i splitt into chunks via > ORecordBytes <https://code.google.com/p/orient/wiki/BinaryData>. Takes 1 > second. > > But when i delete this single binary[] it takes like 0.00025 ms. Great > that it does only take such a non existing time, but the downside is that > the storage still stays at the same size (database now @50mb). If i repeat > this to infinite my harddisc is full. At least thats what i am thinking of. > > Is there any solution or do i have to execute any command (java api) to > tell to reuse the space which is there but empty. > > The only file in my database that changes is the "default.pcl" it´s size > is like growing and growing. Do i have to execute a command so that the > <custom-class>.pcl file will grow and shrink? > > Regards, > Nhat > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
