apache /age

Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL.

★ 4,936⑂ 544
CCreated 2020-07-01age.apache.org
4,936
stars
+9+9+62
544
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions

README

is a leading multi-model graph database 
     


Graph Processing & Analytics for Relational Databases








                                                                                                    
  
    
  
   
  
    
  
   
  
    
  
   
  
    
  
   
  
    
  
   
  
    
  






  What is Apache AGE?

Apache AGE is an extension for PostgreSQL that enables users to leverage a graph database on top of the existing relational databases. AGE is an acronym for A Graph Extension and is inspired by Bitnine's AgensGraph, a multi-model database fork of PostgreSQL. The basic principle of the project is to create a single storage that handles both the relational and graph data model so that the users can use the standard ANSI SQL along with openCypher, one of the most popular graph query languages today. There is a strong need for cohesive, easy-to-implement multi-model databases. As an extension of PostgreSQL, AGE supports all the functionalities and features of PostgreSQL while also offering a graph model to boot.











  Overview

Apache AGE is :

- Powerful: adds graph database support to the already popular PostgreSQL database: PostgreSQL is used by organizations including Apple, Spotify, and NASA.
- Flexible: allows you to perform openCypher queries, which makes complex queries much easier to write. It also enables querying multiple graphs at the same time.
- Intelligent: allows you to perform graph queries that are the basis for many next-level web services such as fraud detection, master data management, product recommendations, identity and relationship management, experience personalization, knowledge management, and more.

  Features








- Cypher Query: supports graph query language
- Hybrid Querying: enables SQL and/or Cypher
- Querying: enables multiple graphs
- Hierarchical: graph label organization
- Property Indexes: on both vertices(nodes) and edges
- Full PostgreSQL: supports PG features



  Documentation

Refer to our latest Apache AGE documentation to learn about installation, features, built-in functions, and  Cypher queries.



  Pre-Installation

Install the following essential libraries according to each OS. Building AGE from the source depends on the following Linux libraries:

- CentOS
bash
yum install gcc glibc glib-common readline readline-devel zlib zlib-devel flex bison

- Fedora
bash
dnf install gcc glibc bison flex readline readline-devel zlib zlib-devel

- Ubuntu
bash
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison


  Installation

Apache AGE is intended to be simple to install and run. It can be installed with Docker and other traditional ways. 


 Install PostgreSQL


You will need to install an AGE compatible version of Postgres, for now AGE supports Postgres 11, 12, 13, 14, 15, 16, 17 & 18. Supporting the latest versions is on AGE roadmap.


 Installation via Package

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON