orientdb {db=zDummy}> create class TestItem extends V
Class created successfully. Total classes in database now: 13
orientdb {db=zDummy}> create class TestEdge extends E
Class created successfully. Total classes in database now: 14
orientdb {db=zDummy}> insert into TestItem set name = "TestItem 0"
Inserted record 'TestItem#13:0{name:TestItem 0} v1' in 0.002000 sec(s).
orientdb {db=zDummy}> insert into TestItem set name = "TestItem 1"
Inserted record 'TestItem#13:1{name:TestItem 1} v1' in 0.001000 sec(s).
orientdb {db=zDummy}> select from TestItem
----+-----+--------+----------
# |@RID |@CLASS |name
----+-----+--------+----------
0 |#13:0|TestItem|TestItem 0
1 |#13:1|TestItem|TestItem 1
----+-----+--------+----------
2 item(s) found. Query executed in 0.002 sec(s).
orientdb {db=zDummy}> display 0
+-------------------------------------------------------------------------------------------------+
| Document - @class: TestItem @rid: #13:0 @version: 1 |
+-------------------------------------------------------------------------------------------------+
| Name | Value |
+-------------------------------------------------------------------------------------------------+
| name | TestItem 0 |
+-------------------------------------------------------------------------------------------------+
orientdb {db=zDummy}> display 1
+-------------------------------------------------------------------------------------------------+
| Document - @class: TestItem @rid: #13:1 @version: 1 |
+-------------------------------------------------------------------------------------------------+
| Name | Value |
+-------------------------------------------------------------------------------------------------+
| name | TestItem 1 |
+-------------------------------------------------------------------------------------------------+
orientdb {db=zDummy}> create edge TestEdge from #13:0 to #13:1
Created edge '[TestEdge#14:0{out:#13:0,in:#13:1} v3]' in 0.004000 sec(s).
orientdb {db=zDummy}> select from TestItem
----+-----+--------+----------+------------+-----------
# |@RID |@CLASS |name |out_TestEdge|in_TestEdge
----+-----+--------+----------+------------+-----------
0 |#13:0|TestItem|TestItem 0|[size=1] |null
1 |#13:1|TestItem|TestItem 1|null |[size=1]
----+-----+--------+----------+------------+-----------
2 item(s) found. Query executed in 0.001 sec(s).
orientdb {db=zDummy}> display 0
+-------------------------------------------------------------------------------------------------+
| Document - @class: TestItem @rid: #13:0 @version: 2 |
+-------------------------------------------------------------------------------------------------+
| Name | Value |
+-------------------------------------------------------------------------------------------------+
| name | TestItem 0 |
| out_TestEdge | [#14:0] |
+-------------------------------------------------------------------------------------------------+
orientdb {db=zDummy}> display 1
+-------------------------------------------------------------------------------------------------+
| Document - @class: TestItem @rid: #13:1 @version: 2 |
+-------------------------------------------------------------------------------------------------+
| Name | Value |
+-------------------------------------------------------------------------------------------------+
| name | TestItem 1 |
| in_TestEdge | [#14:0] |
+-------------------------------------------------------------------------------------------------+
orientdb {db=zDummy}> delete edge #14:0
Delete record(s) '1' in 0.003000 sec(s).
orientdb {db=zDummy}> select from TestItem
----+-----+--------+------------+----------+-----------
# |@RID |@CLASS |out_TestEdge|name |in_TestEdge
----+-----+--------+------------+----------+-----------
0 |#13:0|TestItem|[size=0] |TestItem 0|null
1 |#13:1|TestItem|null |TestItem 1|[size=0]
----+-----+--------+------------+----------+-----------
2 item(s) found. Query executed in 0.001 sec(s).
orientdb {db=zDummy}> display 0
+-------------------------------------------------------------------------------------------------+
| Document - @class: TestItem @rid: #13:0 @version: 3 |
+-------------------------------------------------------------------------------------------------+
| Name | Value |
+-------------------------------------------------------------------------------------------------+
| out_TestEdge | [] |
| name | TestItem 0 |
+-------------------------------------------------------------------------------------------------+
orientdb {db=zDummy}> display 1
+-------------------------------------------------------------------------------------------------+
| Document - @class: TestItem @rid: #13:1 @version: 3 |
+-------------------------------------------------------------------------------------------------+
| Name | Value |
+-------------------------------------------------------------------------------------------------+
| in_TestEdge | [] |
| name | TestItem 1 |
+-------------------------------------------------------------------------------------------------+
orientdb {db=zDummy}> properties
PROPERTIES:
+-------------------------------+--------------------------------+
| NAME | VALUE |
+-------------------------------+--------------------------------+
| collectionMaxItems | 10 |
| backupBufferSize | 1048576 |
| debug | false |
| backupCompressionLevel | 9 |
| limit | 20 |
| width | 150 |
| maxBinaryDisplay | 150 |
| ignoreErrors | false |
| ridBag.embeddedToSbtreeBonsaiThreshold| -1 |
| verbose | 2 |
+-------------------------------+--------------------------------+
orientdb {db=zDummy}> config
LOCAL SERVER CONFIGURATION:
+------------------------------------+--------------------------------+
| NAME | VALUE |
+------------------------------------+--------------------------------+
...
| ridBag.sbtreeBonsaiToEmbeddedToThreshold= -1 |
...
+------------------------------------+--------------------------------+