java - OrientDB managing multiple graphs -


in application i'm using orientdb data storage, management , organization. came point i'd have multiple graphs in same db separate each other. know orientdb has multitenancy partitioning, graphs have belong same user (and vertices moved between them) doesn't fulfill needs (its meant organizing data, not security). there'll many queries on either graphs.

at moment see 2 ways accomplish need:

  • defining root nodes , traversing there each time query made. think make performance lot worse be.
  • supplying indexed property each vertex mark graph belongs to. faster means having more maintainance , opportunities bugs , inconsistencies.

are there more/better options? i'm using java, maybe gremlin has offer?

edit example usecase: lot of data generated in highly concentrated intervals. pruning, making connections, etc. requires lot of time won't able live besides basic connections (e.g. links timeseries data). idea store data first in temporary graph , when have time i'd take datapoints there, calculations , move them persistent graph.

you have 1 root vertex per user , connect subgraphs root vertex. when need traverse graph, start form root vertex.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -