Comments (5)
Yes, it is possible to get hotspots when using vertex indices with many vertices with the same label. Currently the vertex index is not hashed/salted in order to support range queries and pagination on vertex indices. It would be possible in the future to add an option to create vertex indices that do not support range queries and pagination, so that they can be salted.
from hgraphdb.
@rayokota thanks for your help. I do not need range queries and pagination, is there any simple way to solve this problem now? I used a different label but it didn't work, because rowkey of vertex index table always has a fixed prefix of "4", very strange!
from hgraphdb.
I've modified the vertex index format so that the combination of label and property key is salted. This will still mean hotspots if you use the same label and property key, but should otherwise distribute vertex indices among region servers. You will need to drop any existing vertex indices while on 1.x and recreate them after upgrading to 2.x.
from hgraphdb.
but how can i design the label when I presplit the hbase table by HexStringSplit style ? the system don't need the range query and pagination .
Thank you for taking the time to answer me!
from hgraphdb.
@teenyboy , unfortunately, if you frequently use the same label and property key for a vertex index, you may encounter hotspots.
from hgraphdb.
Related Issues (20)
- Insert array list as edge property in HgraphDB HOT 6
- Creating too many threads to hbase HOT 10
- [question] Does hgraphdb support bulkload HOT 1
- Handle Exception if an edge does not have a property HOT 6
- Issue accessing Hgraphdb from Gremlin console HOT 1
- duplicated vertexes and edges HOT 1
- Data traversal query delay HOT 1
- [Question] Spark DataFrame Bulkload to HgraphDB HOT 1
- Insert data with spark, some data can not be queried out HOT 6
- how to query vertex if I do not know what label is HOT 2
- Any release notes?
- Can JanusGraph be a final product of this project? HOT 1
- why edgeindex has CREATED_AT HOT 1
- How to parallelize hbase ops? HOT 7
- using Spark GraphFrames
- Parallel loading performance still has some method to optimize HOT 2
- Hbase 2.0+ Support HOT 3
- Edge Indices Problem when using bulk loader HOT 1
- Transaction support
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 hgraphdb.