Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Documentation
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
snac
Documentation
Commits
db4d67d7
Commit
db4d67d7
authored
Jun 03, 2016
by
Tom Laudeman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to discussion
parent
8c796b47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
Database Schema.md
Requirements/Database Schema.md
+12
-5
No files found.
Requirements/Database Schema.md
View file @
db4d67d7
### Introduction
### Introduction
This document gives background and some commentary about the schema. The details of schema are best seen by
SNAC data is saved and managed in an SQL Relational Database Management System called PostgreSQL or simply
reading the schema SQL files which contain extensive comments.
Postgres.
This document gives background and some commentary about the schema which in the RDBMS sense are the SQL
commands to create the tables of the database. The details of schema are best seen by reading the schema SQL
files which contain extensive comments.
There is a brief discussion of RDBMS technology:
[
Relational Databases
](
../Discussion/Relational
Databases.md)
A related document is the Data Overview:
[
Data Overview
](
Data
Overview.md)
A related document is the Data Overview:
[
Data Overview
](
Data
Overview.md)
...
@@ -28,9 +34,10 @@ indexes. The data files are for static data such as controlled vocabulary and pl
...
@@ -28,9 +34,10 @@ indexes. The data files are for static data such as controlled vocabulary and pl
### Background
### Background
It is important to realize that SNAC is not a document-oriented system. The database stores all the normal
It is important to realize that SNAC is not a document-oriented system. We do not save or edit XML files. The
EAC-CPF elements and attributes in a relational data model. This vastly improves every aspect of performance,
database stores all the supported EAC-CPF elements and attributes in a relational data database. This vastly
and guarantees data integrity as well as handling critical features such as database management.
improves every aspect of performance, and guarantees data integrity as well as handling critical features such
as database management.
The schema itself is fairly simple. Using Postgres we make extensive use of "sequences". A sequence is a
The schema itself is fairly simple. Using Postgres we make extensive use of "sequences". A sequence is a
special table that exists to generate unique numbers. We use a single sequence across all data tables. This
special table that exists to generate unique numbers. We use a single sequence across all data tables. This
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment