This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"readSpeedFromCacheInMB": 890, | |
"readSpeedFromCacheInPages": 14248, | |
"readSpeedFromFileInPages": -1, | |
"readSpeedFromFileInMB": -1, | |
"amountOfPagesReadFromCache": 18, | |
"writeSpeedInCacheInPages": 109048, | |
"writeSpeedInCacheInMB": 6815, | |
"amountOfPagesWrittenInCache": 10, | |
"amountOfPagesReadFromFile": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
orientdb {db=profiler}> profile storage on | |
Profiling of storage is switched on. | |
orientdb {db=profiler}> insert into account (id, name, surname, salary) values (1, 'John', 'Smith', 1000) | |
Inserted record 'account#26:0{id:1,name:John,surname:Smith,salary:1000} v1' in 0.003000 sec(s). | |
orientdb {db=profiler}> insert into account (id, name, surname, salary) values (2, 'Mark', 'Smith', 2000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.orientechnologies.orient.graph.blueprints; | |
import com.orientechnologies.orient.core.db.record.OIdentifiable; | |
import com.orientechnologies.orient.core.id.ORID; | |
import org.testng.annotations.Test; | |
import com.orientechnologies.orient.core.db.document.ODatabaseDocumentPool; | |
import com.tinkerpop.blueprints.Edge; | |
import com.tinkerpop.blueprints.Vertex; | |
import com.tinkerpop.blueprints.impls.orient.OrientGraph; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oct 16, 2013 3:56:20 PM com.orientechnologies.common.log.OLogManager log | |
INFO: Following c library functions were found memmove : yes , bcopy : yes. | |
-> Started the test of 'NotUniqueIndexSpeedTest' (50000 cycles) | |
10% lap elapsed: 5756ms, total: 5756ms, delta: +0%, forecast: 57571ms | |
20% lap elapsed: 7855ms, total: 13611ms, delta: +36%, forecast: 68061ms | |
30% lap elapsed: 12001ms, total: 25612ms, delta: +52%, forecast: 85379ms | |
40% lap elapsed: 15500ms, total: 41112ms, delta: +29%, forecast: 102785ms | |
50% lap elapsed: 21544ms, total: 62656ms, delta: +38%, forecast: 125317ms | |
60% lap elapsed: 25065ms, total: 87721ms, delta: +16%, forecast: 146206ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.orientechnologies.orient.test.internal; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.testng.Assert; | |
import org.testng.annotations.Parameters; | |
import org.testng.annotations.Test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
orientdb> create database plocal:bi_new admin admin plocal | |
Creating database [plocal:bi_new] using the storage type [plocal]... | |
Database created successfully. | |
Current database is: plocal:bi_new | |
orientdb> close | |
Disconnecting from the database [bi_new]... | |
OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* OrientDB client binding for YCSB. | |
* | |
* Submitted by Luca Garulli on 5/10/2012. | |
* | |
*/ | |
package com.yahoo.ycsb.db; | |
import java.util.Collection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files\Java\jdk1.7.0_21\bin\java" -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.7.0_21\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jfxrt.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\localedata.jar;C:\Prog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files\Java\jdk1.7.0_21\bin\java" -Didea.launcher.port=7533 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.7.0_21\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jfxrt.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.7.0_21\jre\lib\ext\localedata.jar;C:\Prog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public class TxTest { | |
public void testTx() { | |
OGlobalConfiguration.TX_COMMIT_SYNCH.setValue(true); | |
int TOP_COUNTER = 0, BOTTOM_COUNTER = 0, LINK_COUNTER = 0; | |
OGraphDatabase database = new OGraphDatabase("plocal:D:/Temp/my_db_orient").create(); | |
long ts = System.currentTimeMillis(); | |
ODocument firstLayerVertex, secondLayerVertex; |
NewerOlder