Hi,
We already have this issue:
https://github.com/orientechnologies/orientdb/issues/694

With Graph elements the update of links is transparent. This command will
be very important when you want to refactor your graph on multiple clusters
using the SHARDING.

Lvc@


On 16 June 2014 13:45, Andrey Lomakin <[email protected]> wrote:

> Hi
> It is possible to copy record to other cluster and then delete it from
> original cluster.
> Just use:
>
> document.copy().save(clusterName)
> document.delete();
>
> That is if record does not belong to class.
> If it does belong to class you should add clusrter to list of clusters
> which are used by document's class.
> So you can issue query (look at
> https://github.com/orientechnologies/orientdb/wiki/SQL-Alter-Class#examples
> ) :
>
> ALTER CLASS Account ADDCLUSTER account2
>
>
>
>
>
> On Mon, Jun 16, 2014 at 1:06 PM, Dmitry <[email protected]> wrote:
>
>>
>> Is it possible to move the record (and all references to it) to another
>> cluster?
>>
>> Thanks!
>>
>> --
>>
>> ---
>> 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.
>>
>
>
>
> --
> Best regards,
> Andrey Lomakin.
>
> Orient Technologies
> the Company behind OrientDB
>
>  --
>
> ---
> 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