I am trying to put together some ‘points’ and organize a class for basic Oracle relational data base design 101 Something basic, very basic that all data base users (developers) and especially people who design the data base should (read: must) know and follow. On one hand I would like to cover basic, basic stuff, and not to go too deep, on the other hand I would like it to be the base to go deeper into the subject later (in another class, maybe).
If anyone can add to it or modify it, I would appreciate it.
---------------------[blue]
ORACLE Relational Database Design 101
Using Tools for Oracle Application Development (TOAD)
Definition of ‘database’
Definition of ‘relational’
Table: Create, Alter, Rebuild, Truncate, Drop
Tables:
• Naming conventions
• Naming size limits
• Structure
• Look-up tables
• Limits of numbers of fields in a table (logical vs. Oracle’s limit)
• Fields:
[ul]
[li] Types[/li]
[li] Size[/li]
[li] NULLs[/li]
[li] Default values[/li]
[li] Constrains:[/li]
[/ul] [ul]
[li]Primary Key[/li]
[li] Foreign Key(s)[/li]
[li] Unique[/li]
[li] Checks[/li]
[/ul]• Sequences – setting and re-setting
• Triggers
• Indexes
• Grant and Revoke privileges
Views
Database model
ER Diagram
Referential data integrity
Normalization (and de-normalization) of data[/blue]
---------------------
I do realize another huge portion of this class could be (should it be?) what not to do, what to avoid, common mistakes, costs (and nightmares) of doing it wrong, etc.
Have fun.
---- Andy
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.
If anyone can add to it or modify it, I would appreciate it.
---------------------[blue]
ORACLE Relational Database Design 101
Using Tools for Oracle Application Development (TOAD)
Definition of ‘database’
Definition of ‘relational’
Table: Create, Alter, Rebuild, Truncate, Drop
Tables:
• Naming conventions
• Naming size limits
• Structure
• Look-up tables
• Limits of numbers of fields in a table (logical vs. Oracle’s limit)
• Fields:
[ul]
[li] Types[/li]
[li] Size[/li]
[li] NULLs[/li]
[li] Default values[/li]
[li] Constrains:[/li]
[/ul] [ul]
[li]Primary Key[/li]
[li] Foreign Key(s)[/li]
[li] Unique[/li]
[li] Checks[/li]
[/ul]• Sequences – setting and re-setting
• Triggers
• Indexes
• Grant and Revoke privileges
Views
Database model
ER Diagram
Referential data integrity
Normalization (and de-normalization) of data[/blue]
---------------------
I do realize another huge portion of this class could be (should it be?) what not to do, what to avoid, common mistakes, costs (and nightmares) of doing it wrong, etc.
Have fun.
---- Andy
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.