apache /age
Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL.
★ 4,943⑂ 546👁 77⑃ 1,565● 939▤ 35
-1
日增长
+16
周增长
+61
月增长
4,943
stars
546
forks
77
watchers
1,565
prs
939
issues
35
releases
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 PackageTop issues
#2111PostgreSQL 17 not supported58 comments · 2024-09-15#998Add Support for Apache AGE on Amazon RDS54 comments · 2023-06-18#290Initial Research for Supporting GraphQL48 comments · 2022-09-12#353AGE Onboarding - Setup Developer Environment Group 243 comments · 2022-11-14#1121Proposal: Vector handling with extension(pgvector)36 comments · 2023-08-02#45unique properties / indexing25 comments · 2021-03-17#355AGE Onboarding - Learn Postgres Basics Group 124 comments · 2022-11-14#354AGE Onboarding - Learn Postgres Basics Group 224 comments · 2022-11-14
Discussions
#2426GraphML Support for AGE0 comments · 2026-05-12#2324Age Plotter - a query tool for AGE (and Neo4j) graph databases1 comments · 2026-01-30#2318Website question2 comments · 2026-01-21#2314How to Optimize Query Performance With Large Edge Label Count?3 comments · 2026-01-21#23052026 roadmap, release cadence, and PG17/PG18 support (production)7 comments · 2026-01-16#2304Benchmarking Bulk Data Insert Strategies1 comments · 2026-01-13#2261Apache AGE 3rd party integrations0 comments · 2025-12-05#2228Master branch with PostgreSQL 180 comments · 2025-10-01
Latest release
Release v1.8.0 for PG18 PG18/v1.8.0-rc0 2026-07-09Release Notes for Apache AGE release 1.8.0 for PG18 branch WARNING! Always back up your database before executing any upgrade scripts WARNING! Apache AGE 1.8.0 - Release Notes Merge master into PG18: advance to Apache AGE 1.8.0 Advance master branch to Apache AGE version 1.8.0 (2455) Fix installcheck fetch-depth parameter to 100 (2461) Fix segfault on CREATE/MERGE/SET with generated or extra label columns (2458) Propagate null through unnest and single() three-valued logic (2406) Add automatic header-dependency tracking to the Makefile (2454) ci: pin Build/Regression runne