Stefan,
Please can go in debug in the code on createVertexType() and see in what
case rebuilds the entire index? Otherwise I'd need a test case to check it
fast.

Lvc@


On 4 September 2014 00:57, <[email protected]> wrote:

> Luca,
>
> I'm not adding a new cluster. I'm creating a subclass
>
>
>    - graph.createVertexType(newClass, partentClass)
>
> Regards,
>  -Stefán
>
>
> On Wednesday, 3 September 2014 22:56:13 UTC, [email protected]
> wrote:
>>
>>
>> 1.7.9-SNAPSHOT
>>
>> On Wednesday, 3 September 2014 22:33:42 UTC, Lvc@ wrote:
>>>
>>> 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.
>

-- 

--- 
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