Databases

  1. Database Design
    1. Conceptual Design
      1. Entity-Relationship Model (ER Model)
        1. Entities and Attributes
          1. Definition of Entities
            1. Types of Attributes (Simple, Composite, Multi-Valued)
              1. Attribute Constraints
              2. Relationships
                1. Types of Relationships (One-to-One, One-to-Many, Many-to-Many)
                  1. Cardinality and Participation Constraints
                    1. Weak Entities and Identifying Relationships
                    2. Enhancements to ER Model
                      1. Specialization and Generalization
                        1. Aggregation
                          1. Ternary and Higher-Order Relationships
                        2. Unified Modeling Language (UML)
                          1. Class Diagrams
                            1. Classes and Properties
                              1. Associations, Aggregations, and Compositions
                                1. Multiplicity in UML
                                2. Sequence Diagrams
                                  1. Interaction among Objects
                                    1. Lifelines and Activation Bars
                                      1. Messages and their Types
                                      2. State Diagrams
                                        1. States and Transitions
                                          1. Initial, Final, and Composite States
                                            1. Events, Actions, and Activities
                                        2. Logical Design
                                          1. Schema Design
                                            1. Translating ERD to Relational Schema
                                              1. Mapping Entities and Relationships
                                                1. Designing Tables, Attributes, and Integrity Constraints
                                                  1. Integrity Constraints (Primary Key, Foreign Key, Unique, Not Null)
                                                  2. Normalization Process
                                                    1. Objectives and Benefits of Normalization
                                                      1. First Normal Form (1NF)
                                                        1. Second Normal Form (2NF)
                                                          1. Third Normal Form (3NF)
                                                            1. Boyce-Codd Normal Form (BCNF)
                                                              1. Higher Normal Forms (4NF, 5NF)
                                                              2. Denormalization
                                                                1. Purpose and When to Denormalize
                                                                  1. Advantages and Disadvantages
                                                                    1. Denormalization Techniques
                                                                      1. Balancing Performance and Data Integrity
                                                                    2. Physical Design
                                                                      1. Storage Structures
                                                                        1. File Organization (Heap, Sequential, Hashing, Clustered)
                                                                          1. Page Layouts and Record Formats
                                                                            1. Data Compression and Storage Optimization
                                                                            2. Indexing
                                                                              1. Types of Indexes (Single-Level, Multi-Level, Bitmap)
                                                                                1. B-Tree and B+ Tree Structures
                                                                                  1. Hash Indexing
                                                                                    1. Indexing Strategies and Performance Impact
                                                                                    2. Partitioning
                                                                                      1. Types of Partitioning (Range, List, Hash, Composite)
                                                                                        1. Benefits of Partitioning
                                                                                          1. Partitioning Strategies for Performance and Manageability
                                                                                            1. Partition Management Techniques
                                                                                            2. Materialized Views
                                                                                              1. Definition and Use Cases
                                                                                                1. Refresh Strategies (Immediate, Deferred)
                                                                                                  1. Storage and Maintenance Considerations
                                                                                                  2. Database Tuning
                                                                                                    1. Identifying Performance Bottlenecks
                                                                                                      1. Using Query Plan Explainers
                                                                                                        1. Resource Allocation and Scheduling for Optimization