Book Contents

Book Index

Next Topic

Home

Logical Schema Design

From an SQL user's point of view, Vertica supports the standard relational data model, in which a schema consists of a collection of tables, each with a collection of columns (attributes) and rows (tuples), and other SQL objects.

Vertica does not support standard SQL views (stored queries). Instead, it provides projections, which are entirely transparent to SQL users other than the database administrator. These are discussed in the Projections section of this document.

As in most relational systems, specific columns in Vertica tables can be designated as a primary key, or as a foreign key that references a primary key in another table. The tables in a Vertica database are assumed to obey the Dimensional Modeling concepts of a star schema or snowflake schema design. These are typical schema designs used in data warehouses.

Star Schema

The star schema (sometimes called a star join schema) is the simplest data warehouse schema. In a star schema design there is a central fact table with a large number of tuples, optionally surrounded by a collection of dimension tables, each with a lesser number of tuples.  Every dimension table participates in a 1::n join with the fact table.

Snowflake Schema

A snowflake schema is the same as a star schema except that a dimension table can be normalized (hierarchically decomposed) into additional dimension tables. Every dimension table participates in a 1::n join with the fact table or another dimension table. 

Snowflake Schema (Glossary)