TigerGraph入门
测试机器配置
1G内存,1个核,CentOS Linux release 7.4.1708 (Core)的云主机,一块50G HDD的云主机。
1. 安装
下载了目前最新的开发者版本,下载链接:https://www.tigergraph.com/developer/
tar -xzvf tigergraph-developer-latest.tar.gz cd tigergraph-2.1.2-developer/ sudo ./install.sh
摁空格到下面,第一个填y,其他直接回车。
等一会安装完之后直接进入自己创建的tigergraph用户。
查看:
[tigergraph@VM_0_8_centos ~]$ gadmin status Welcome to TigerGraph Developer Edition, for non-commercial use only. === zk === [SUMMARY][ZK] process is up [SUMMARY][ZK] /home/tigergraph/tigergraph/zk is ready === kafka === [SUMMARY][KAFKA] process is down [SUMMARY][KAFKA] queue is ready === gse === [SUMMARY][GSE] process is up [SUMMARY][GSE] id service has NOT been initialized (not_ready) === dict === [SUMMARY][DICT] process is up [SUMMARY][DICT] dict server is ready === ts3 === [SUMMARY][TS3] process is up [SUMMARY][TS3] ts3 is ready === graph === [SUMMARY][GRAPH] graph has NOT been initialized === nginx === [SUMMARY][NGINX] process is up [SUMMARY][NGINX] nginx is ready === restpp === [SUMMARY][RESTPP] process is up [SUMMARY][RESTPP] restpp is ready === gpe === [SUMMARY][GPE] process is up [SUMMARY][GPE] graph has NOT been initialized (not_ready) === gsql === [SUMMARY][GSQL] process is up [SUMMARY][GSQL] gsql is ready === Visualization === [SUMMARY][VIS] process is up (VIS server PID: 4802) [SUMMARY][VIS] gui server is up
[tigergraph@VM_0_8_centos ~]$ gsql --version GSQL version: 2.1 GSQL commit number: ad1bc1a231591a0fb26c76aa7e5d22e2311e7771 GSQL commit date: 2018-06-11 15:40:11 -0700 Copyright (c) 2014-2018 TigerGraph(R), Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws.
Basic installation is now finished!
Learning To Use TigerGraph
什么是图
图是数据实体与它们之间连接的集合,即它是一个数据实体的网络。
大多数人叫一个数据实体为一个node,在TigerGraph中叫顶点,复数为vertices。我们叫关系为边,顶点和边都可以有属性。
具体Gsql文档:https://doc.tigergraph.com/GSQL-101.html#GSQL101-WhatisaGraph?