Sorry to push this.
Can anyone take a look at this?
Thanks,
quarta-feira, 29 de Abril de 2015 às 11:30:46 UTC+1, Vitor Enes Duarte
escreveu:
>
> Hi,
>
> I was told to
> java ... -Dindex.embeddedToSbtreeBonsaiThreshold=-1
> if I wanted to avoid vertices's version increase when creating edges. But
> I can't make it work.
>
>
> OrientDB console v.2.0.7 (build UNKNOWN@r; 2015-04-14 11:18:06+0000) www.
> orientechnologies.com
> Type 'help' to display all the supported commands.
> Installing extensions for GREMLIN language v.2.6.0
>
> orientdb> connect remote:localhost root root
>
> Connecting to remote Server instance [remote:localhost] with user 'root'
> ...OK
> orientdb {server=remote:localhost/}> config get
> index.embeddedToSbtreeBonsaiThreshold
>
>
> Remote configuration: index.embeddedToSbtreeBonsaiThreshold = 40
>
> orientdb {server=remote:localhost/}> config set
> index.embeddedToSbtreeBonsaiThreshold
> -1
>
> Remote configuration value changed correctly
>
> orientdb {server=remote:localhost/}> config get
> index.embeddedToSbtreeBonsaiThreshold
>
>
> Remote configuration: index.embeddedToSbtreeBonsaiThreshold = -1
>
> orientdb {server=remote:localhost/}> create database remote:localhost/Test
> root root plocal
>
> Creating database [remote:localhost/Test] using the storage type [plocal
> ]...
> Disconnecting from remote server [remote:localhost/]...
> OK
> Connecting to database [remote:localhost/Test] with user 'admin'...OK
> Database created successfully.
>
> Current database is: remote:localhost/Test
> orientdb {db=Test}> create vertex set name = 'source'
>
> Created vertex 'V#9:0{name:source} v1' in 0.025000 sec(s).
>
> orientdb {db=Test}> create vertex set name = 'target'
>
> Created vertex 'V#9:1{name:target} v1' in 0.002000 sec(s).
>
> orientdb {db=Test}> select @version from V
>
> ----+------+-------
> # |@CLASS|version
> ----+------+-------
> 0 |null |1
> 1 |null |1
> ----+------+-------
>
> orientdb {db=Test}> create edge from #9:0 to #9:1
>
> Created edge '[E#10:0{out:#9:0,in:#9:1} v3]' in 0.010000 sec(s).
>
> orientdb {db=Test}> select @version from V
>
> ----+------+-------
> # |@CLASS|version
> ----+------+-------
> 0 |null |2
> 1 |null |2
> ----+------+-------
>
> What am I doing wrong?
>
>
--
---
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.