Hi Hugo,

In v 2.2 OrientDB creates, for each class, as many clusters as the number
of cores available on your machine. This gives advantages when doing
multi-thread operations.
If you want, you can return to the previous behavior setting
minimumClusters=1 (see
http://orientdb.com/docs/last/Database-Management.html)

Thanks

Luigi




2016-07-02 13:20 GMT+02:00 Hugo <[email protected]>:

> Hello,
>
> I have a script that creates a DB, creates all the clusters, classes and
> properties, and finally does an initial dump of basic data into the DB.
> This has been working until v2.1, but on v2.2 I am getting a lot of extra
> clusters that are impacting my initial dump, as it has a lot of links and
> linksets.
>
> e.g.
> CLUSTERS (collections)
> +----+---------+----+---------+-----------------+-----+
> |#   |NAME     |  ID|CLASS    |CONFLICT-STRATEGY|COUNT|
> +----+---------+----+---------+-----------------+-----+
> |0   |default  |   3|         |                 |    0|
> |1   |e        |  21|E        |                 |    0|
> |2   |e_1      |  22|E        |                 |    0|
> |3   |e_10     |  31|E        |                 |    0|
> |4   |e_11     |  32|E        |                 |    0|
> |5   |e_2      |  23|E        |                 |    0|
> |6   |e_3      |  24|E        |                 |    0|
> |7   |e_4      |  25|E        |                 |    0|
> |8   |e_5      |  26|E        |                 |    0|
> |9   |e_6      |  27|E        |                 |    0|
> |10  |e_7      |  28|E        |                 |    0|
> |11  |e_8      |  29|E        |                 |    0|
> |12  |e_9      |  30|E        |                 |    0|
> |13  |index    |   1|         |                 |    0|
> |14  |internal |   0|         |                 |    3|
> |15  |manindex |   2|         |                 |    0|
> |16  |ofunction|   6|OFunction|                 |    0|
> |17  |orole    |   4|ORole    |                 |    3|
> |18  |oschedule|   8|OSchedule|                 |    0|
> |19  |osequence|   7|OSequence|                 |    0|
> |20  |ouser    |   5|OUser    |                 |    3|
> |21  |v        |   9|V        |                 |    0|
> |22  |v_1      |  10|V        |                 |    0|
> |23  |v_10     |  19|V        |                 |    0|
> |24  |v_11     |  20|V        |                 |    0|
> |25  |v_2      |  11|V        |                 |    0|
> |26  |v_3      |  12|V        |                 |    0|
> |27  |v_4      |  13|V        |                 |    0|
> |28  |v_5      |  14|V        |                 |    0|
> |29  |v_6      |  15|V        |                 |    0|
> |30  |v_7      |  16|V        |                 |    0|
> |31  |v_8      |  17|V        |                 |    0|
> |32  |v_9      |  18|V        |                 |    0|
> +----+---------+----+---------+-----------------+-----+
> |    |TOTAL    |    |         |                 |    9|
> +----+---------+----+---------+-----------------+-----+
>
> Before, when I created a new DB, I only had 9 clusters, but now I have 32,
> I've been reading about the default minimumCluster configuration but I
> don't know if it's related to that.
>
> What are those clusters used for? can I delete them? Is there any way that
> I can create the DB without them? I am not using graph, only document type.
>
> Regards,
> Hugo.
>
> --
>
> ---
> 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