Hi Rudy,
Just att a cluster to your logical entity, the class. Example for class
"Log":

CREATE CLUSTER Log_201410
ALTER CLASS Log ADDCLUSTER Log_201410

When you save a record from Java API use:

document.save( "Log_201410" );

or via SQL with:

INSERT INTO Log CLUSTER Log_201410 VALUES ...

Lvc@




On 19 November 2014 09:24, Python Rudy <[email protected]> wrote:

> Hi,
> I want to use orientdb to create logic cluster that contains the past
> month record
> it will improve the performance, if I direct query that cluster.
> How to do it?
> 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.
>

-- 

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