Hi Stefan,
With 1.7.9-SNAPSHOT adding a new cluster to the class doesn't cause a
rebuild of the index, but just add the new one. What release are you using?

Lvc@



On 3 September 2014 23:51, <[email protected]> wrote:

> Hi,
>
> I'm creating Vertex types on the fly to accommodate tenant dependent
> Entity types but all entities share a common property "stream_id" which is
> indexed in a unique hash index.
>
> This index does get very big but it's the most efficient type for
> non-range queries etc.
>
> Now I notice that this index is rebuilt every time a Vertex sub-type is
> created:
>
> [ClusterSystem-akka.actor.default-dispatcher-4] WARN
> com.activitystream.historical.graph.GraphUtilities - createVertexType :
> TMSomeVertexType
> Sep 03, 2014 9:43:33 PM com.orientechnologies.common.log.OLogManager log
> INFO: - Rebuilding index tenant.idx_StreamItemSignature (estimated XXXX
> items)...
> Sep 03, 2014 9:43:33 PM com.orientechnologies.common.log.OLogManager log
> INFO: --> OK, indexed XXXX items in XXXX ms
>
>
> This is terrible (to say the least) for us as this rebuilding can take
> hours.
>
> Can you please tell me how to avoid this?
>
> Regards,
>  -Stefán
>
> --
>
> ---
> 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.

Reply via email to