CREATE/ALTER CLUSTER command enhancement
Hi,
What about the following enhancement request:
new SIZE attribute for CREATE CLUSTER and ALTER CLUSTER commands:
- CREATE CLUSTER - to specify initial size (replace the defaults)
- ALTER CLUSTER - shrink/enlarge cluster's size
Thank you.
I definitely support this proposal.
I'm using OrientDB as a local object store for a client application. There I have quite a few classes which will have only a handful of records each, e.g. to populate dropdown controls etc. Currently the "local" storage seems to always allocate a cluster file of 1 MB per class so the overall solution grows unnecessarily fast.
Btw. the method "to change the default settings of new clusters" you describe in your wiki seems to have no effect on the initial cluster file size, or am I missing something here? https://github.com/orientechnologies/orientdb/wiki/Configuration
Hi, Initial size of cluster in plocal storage is about 65K. I do not think that it will cause problems, does not it ?
There used to be a comment in your wiki that plocal storage doesn't support transactions - this was the main reason i chose the older local storage. I can't find this comment anymore, so are transactions supported with plocal storage as of ODB 1.5.1 or newer? Can i migrate schema and data without loss from local to plocal? Would it make sense to combine this with a migration to version 1.6?
Hi, plocal is 100% transactional. The only "new" thing not yet transactional are hash index. So Use plocal and SBTree indexes (the default one in 1.6) if you want to stay transactional.
Lvc@
On 1 November 2013 10:25, dxxr [email protected] wrote:
There used to be a comment in your wiki that plocal storage doesn't support transactions - this was the main reason i chose the older local storage. I can't find this comment anymore, so are transactions supported with plocal storage as of ODB 1.5.1 or newer? Can i migrate schema and data without loss from local to plocal? Would it make sense to combine this with a migration to version 1.6?
— Reply to this email directly or view it on GitHubhttps://github.com/orientechnologies/orientdb/issues/1337#issuecomment-27554837 .
Thanks for the quick responses, I'll go for plocal when I migrate to 1.6.
Not relevant anymore. Closing it.