---
title: "Schema Definition"
description: "An overview of the database definition language."
component: "gsql-ref"
version: "4.3"
module: "ddl-and-loading"
html_url: "/gsql-ref/4.3/ddl-and-loading/"
canonical_url: "https://www.tigergraph.com/docs/gsql-ref/4.3/ddl-and-loading/"
markdown_url: "https://www.tigergraph.com/docs/gsql-ref/4.3/ddl-and-loading/index.md"
---

[View as HTML](https://www.tigergraph.com/docs/gsql-ref/4.3/ddl-and-loading/)

# Schema Definition

The GSQL ® Graph Database Language is more than just a query language. It also serves as a DDL (Database Definition Language).

You use the DDL syntax to define the _schema_, the blueprint for data elements in your database and how they relate to one another: _vertex types_, _edge types_, and _graphs_. A graph is a collection of vertex and edge types.

The DDL documentation is split into two logical parts:

* [Defining a graph schema](https://www.tigergraph.com/docs/gsql-ref/4.3/ddl-and-loading/defining-a-graph-schema.md)
* [Modifying a graph schema](https://www.tigergraph.com/docs/gsql-ref/4.3/ddl-and-loading/modifying-a-graph-schema.md)
