Comments (4)
Hi,
Checking this I noticed that the underlying query for checking and migrating data, that look like more or less select from Class where field.type() <> "TYPE"
in case the field had a value link it would load the linked record for do the check of link.type() <> "LINK"
this is not needed so I did a couple of optimizations on the query engine (1562d7a , 0825ad6) to avoid linked record to load when not needed, this will improve the performance also of other queries not only of this use cases.
This change will be released in 3.2.24 and should bring the performance of this operations to the same level of 3.2.14
Regards
from orientdb.
Hi,
Because OrientDB has support for schema-less properties, when a property is created we need to check if all the records present have a compatible data with the specific property, and run a migration of all the records attaching the new property, this take more time the first time it runs because of the data conversion, and less time the second run because the data is already converted.
There have been changes between 3.2.14 and 3.2.23 to this logic in the specific the old query engine has been swapped with the new query engine, I will double check the performance for this change.
Anyway the property creation is a data migration in OrientDB so if you can consider to define property ahead of time, if you can't, be aware that some time may be need for the data migration, also be aware that the data migration happen for all the classes in the hierarchy.
Bye
from orientdb.
Hi,
3.2.24 has been released, closing
from orientdb.
Hi @tglman,
I tried OrientDB version 3.2.24, and we experienced a performance improvement, but when using the same database and scenario mentioned above, it still took some more time to create a property compared to 3.2.14.
I captured the average time for creating a property.
- On 3.2.14, it took 14.18 seconds.
- On 3.2.24, it took 23.98 seconds.
Was this the expected time?
Thanks
from orientdb.
Related Issues (20)
- Add createEdge method to the schema HOT 4
- Add short cut links to speed up traversal between vertexes in case of regular edges HOT 3
- Do not force schema changes to be executed in standalone transaction
- Create WAL implementation that will use MMAP to write data to the file system. HOT 2
- Implement TX snapshot isolation level in OrientDB HOT 4
- The database instance is not set in the current thread. Be sure to set it with: ODatabaseRecordThreadLocal.instance().set(db); HOT 1
- Consider to add support of HOMA protocol to the OrientDB server
- Rollback only last leaf page changes in B-Tree index.
- Implementation of the serializable level of isolation in OrientDB
- Store write set of OrientDB transaction in temporary directory with files backed by MMAP.
- Resole all reported compiler warnings HOT 1
- Add configuration property to define limit of clusters per class HOT 3
- Replace OrientDB embedded profiler by one based on JFR events.
- Reimplement Sequence funcitionality.
- Error: com.orientechnologies.orient.core.exception.ODatabaseException: Cannot open database 'testing' HOT 1
- Regarding OrientDB database version 3.0 set update operation
- Have you ever thought of integrating OrientDB as a node level store for Apache Spark? HOT 1
- ClassCastException in com.orientechnologies.orient.core.sql.executor.OResultInternal#getProperty Method Due to Direct Casting of OVertexDelegate Instead of Using getRecord() HOT 5
- Fail to import graphson file to Orientdb in Docker
- Fail to save 2 new records of the same class on OrientDB embedded mode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orientdb.