gStore图数据库管理系统安装指南

笔者近期在对比目前较为火热的图数据库管理系统的过程中挖掘到一个国产的开源图数据库管理系统Gstore,在对比neo4j和Jena后发现其处理速度相比较快并且API较为丰富,但是安装的过程相对较为复杂一些。虽然复杂但是最为重要的一点是国产软件,并且提供单机版能够用于个人或内部搭建使用,在安装过一次后决定安利给大家。

系统要求

ubuntu
cent OS
其他LINUX(原理上应该可行但是没有实际操作过)

项目地址

https://github.com/pkumod/gStore

安装步骤

绝大多数的ubuntu镜像中都自带安装git,所以在此不在赘述。

下载代码

git clone https://github.com/pkumod/gStore.git

安装依赖库

在帮助文档中列出了gstore中需要的依赖库

sudo apt-get install unzip zip
sudo apt-get install openjdk-8-jdk
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install libreadline-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libcurl4 libcurl4-openssl-dev

这里需要注意的是,最后一个curl依赖库在ubuntu16.04安装过程中应该会报错,所以我们采用另一种方式进行安装

wget https://curl.haxx.se/download/curl-7.55.1.tar.gz
tar -xzvf curl-7.55.1.tar.gz
cd curl-7.55.1
./configure
make
make install

安装

!!这一步是最为重要的,建议大家使用特权账户进行操作!!
(当然,也可以在当前账户下每次前面加sudo)

cd gStore
make pre
make
make
bin/ginit

对比实例

这里是搭建好的实例,安装成功以后应该是这样的。
http://openkg.gstore-pku.com

参考文献

  1. Lei Zou, Jinghui Mo, Lei Chen,M. Tamer Özsu, Dongyan Zhao, gStore: Answering SPARQL Queries Via Subgraph Matching, Proc. VLDB 4(8): 482-493, 2011.
  2. Xuchuan Shen, Lei Zou, M. Tamer Özsu, Lei Chen, Youhuan Li, Shuo Han, Dongyan Zhao, A Graph-based RDF Triple Store, in Proc. 31st International Conference on Data Engineering (ICDE), 2015.
  3. Dong Wang, Lei Zou, Yansong Feng, Xuchuan Shen, Jilei Tian, and Dongyan Zhao,S-store: An Engine for Large RDF Graph Integrating Spatial Information, in Proc. 18th International Conference on Database Systems for Advanced Applications (DASFAA), pages 31-47, 2013.
  4. Dong Wang, Lei Zou and Dongyan Zhao, gst-Store: An Engine for Large RDF Graph Integrating Spatiotemporal Information, in Proc. 17th International Conference on Extending Database Technology (EDBT), pages 652-655, 2014.
  5. Peng Peng, Lei Zou, Lei Chen, Dongyan Zhao, Query Workload-based RDF Graph Fragmentation and Allocation. EDBT (2016) , EDBT.
  6. Lei Zou, Yueguo Chen, A Survey of Large-Scale RDF Data Management, Comunications of CCCF Vol.8(11): 32-43, 2012 .
发布了6 篇原创文章 · 获赞 5 · 访问量 421

猜你喜欢

转载自blog.csdn.net/weixin_40469691/article/details/105368388