天天看點

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
           

對比執行個體

這裡是搭建好的執行個體,安裝成功以後應該是這樣的。

https://blog.csdn.net/weixin_40469691/article/details/105388600.

官網的示例

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 .