Hi Luca,

I understand that they are per server, but does OrientDB check all the 
indices on each server for a multi-clustered class when checking unique 
constraints on insert?

Thanks,

-Colin


On Wednesday, December 3, 2014 1:03:16 PM UTC-6, Lvc@ wrote:
>
> Hi Colin,
> Indexes are per-server, but this is covered by OrientDB automatically.
>
> Lvc@
>
>
> On 3 December 2014 at 19:55, Colin <[email protected] <javascript:>> 
> wrote:
>
>> If I create an index on a class's property and give it a unique 
>> constraint, and if I have that class sharded across multiple servers, if I 
>> do an insert with that property, do the indices on all servers where the 
>> data is sharded get checked for uniqueness?
>>
>> In other words, does the index unique constraint get distributed on all 
>> relevant servers automagically, or is there a chance that duplicate data 
>> could be inserted depending on which shard was chosen?
>>
>> Thank-you,
>>
>> -Colin
>>
>> -- 
>>
>> --- 
>> 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] <javascript:>.
>> 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