Pick of the Week at NebulaGraph - PRs to Improve Performance and Stability of NebulaGraph
Normally the weekly issue covers NebulaGraph Updates and Community Q&As. If something major happens, it will also be covered in the additional Events of the Week section.
Events of the Week
During the last month, no big changes happened to the ranking of Graph DBMS. However, NebulaGraph is still advancing, now ranking at 19th.
Here are some updates in the last week:
• Supports using the
FETCH PROP ON statement to retrieve the properties of multiple tags for more than one vertex. When this syntax is used together with another syntax in one statement, the pipe (
|) can be used to pass the output of the previous syntax as the input of the
FETCH PROP ON syntax. The
FETCH PROP ON * statement supports retrieving the properties for multiple vertices. For more information, check the following pull requests: https://github.com/vesoft-inc/nebula/pull/2222 https://github.com/vesoft-inc/nebula-docs/pull/117
• Supports exposing RocksDB statistics through Webservice. For more information, check this pull request: https://github.com/vesoft-inc/nebula/pull/2262
• Removed the lock for FunctionManager, improving the performance of frequent invocation by multiple threads. For more information, check this pull request: https://github.com/vesoft-inc/nebula/pull/2273
• Fixed the issue that Leader vote may fail during the BALANCE LEADER execution. For more information, check this pull request: https://github.com/vesoft-inc/nebula/pull/2232
• Restructured VertexHolder::getDefaultProp, improving the performance of retrieving the default value of a property. For more information, check this pull request: https://github.com/vesoft-inc/nebula/pull/2249
Q: NebulaGraph grows so quickly. I may need to upgrade my cluster. Is there anything important I should know to do the upgrade? I installed the cluster by using the rpm package. Is there a document introducing how to do that? Thanks.
A: Since you installed the cluster by using the rpm package, before the upgrade, you must do a compatibility check of your data. If you are using a very old version of NebulaGraph, the data may be incompatible in the upgraded version and you must import the data again. In our release notes, you can find the data compatibility requirements. If the data is compatible, follow these steps:
- Step 1. Stop services.
- Step 2. Uninstall the old rpm package.
- Step 3. Install the latest rpm package.
- Step 4. Do a check of the configuration. Update the configurations if necessary and then start the services. If not, start the services directly.
The upgrade is done.
Recommended for You
Why recommended: In this article, we took an nGQL statement as an example to show how to become a quick learner of NebulaGraph. The author used GDB to trace the data stream and the invocation and execution mechanisms in NebulaGraph after the SHOW SPACES statement was input on the client side.