[go: up one dir, main page]

0% found this document useful (0 votes)
7 views4 pages

Database Implementation Requirements

The document outlines requirements for implementing a database including normalization, defining tables and relationships, enforcing data integrity constraints, creating indexes, stored procedures, user-defined functions, triggers, views, transactions, sample data, security, and documentation. The deliverables are SQL scripts, documentation, and a test plan and results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Database Implementation Requirements

The document outlines requirements for implementing a database including normalization, defining tables and relationships, enforcing data integrity constraints, creating indexes, stored procedures, user-defined functions, triggers, views, transactions, sample data, security, and documentation. The deliverables are SQL scripts, documentation, and a test plan and results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE IMPLEMENTATION REQUIREMENTS.

Your database design and implementation must meet the following requirements:

1. Normalization:

• The database should be normalized to at least the 3rd Normal Form (3NF).

• Provide documentation of the normalization process, including the unnormalized


form (UNF), 1NF, 2NF, and 3NF.

2. Tables and Relationships:

• Define all necessary tables and their relationships.

• Ensure that all tables have primary keys.

• Implement foreign keys to establish relationships between tables.

3. Data Integrity and Constraints:

• Use appropriate data types for each column.

• Implement NOT NULL constraints where applicable to ensure data completeness.

• Use UNIQUE constraints to enforce the uniqueness of specific columns.

• Implement CHECK constraints to enforce domain integrity.

• Define FOREIGN KEY constraints to maintain referential integrity.

• Implement any other crucial constraints which are necessary for your tables.

4. Indexes:

• Create indexes on columns that are frequently used in query conditions to


optimize performance.

• Justify the choice of indexed columns.


5. Stored Procedures:

• Implement stored procedures to handle any common operations such as


inserting new records, updating existing records, and complex queries.

• Ensure procedures are efficient and handle potential exceptions.

6. User-Defined Functions (UDFs):

• Create user-defined functions to encapsulate frequently used calculations or data


retrieval operations.

• Ensure functions are efficient and well-documented.

7. Triggers:

• Define at least two triggers to enforce business rules or maintain data integrity
automatically.

• Ensure triggers are efficient and do not cause unwanted side effects.

8. Views:

• Create at least two views to simplify complex queries and provide data
abstraction.

• Ensure views are efficient and meet the needs of the application.

9. Transactions:

• Implement transaction management to ensure data consistency and integrity.

• Use BEGIN, COMMIT, and ROLLBACK statements to manage transactions.

10. Sample Data:

• Populate each table with at least 100 records of sample data.

• Ensure that sample data covers a range of test cases, including edge cases.
11. Security:

• Implement user roles and permissions to restrict access to certain tables and
operations for different users in your system.

• Ensure that sensitive data is protected and only accessible by authorized users.

12. Documentation:

• Provide comprehensive documentation including:

• ER Diagram

• Relational Schema

• Normalization steps

• SQL scripts for creating tables, indexes, stored procedures, functions,


triggers, and views

• Sample data used for testing

• Detailed explanations of how each requirement is met

• Test cases and results

13. Performance:

• Conduct performance testing to ensure the database operates efficiently under


expected load conditions.

• Optimize queries for better performance.

Deliverables:

1. SQL Scripts:

• Scripts for creating the database and tables.

• Scripts for inserting sample data.


• Scripts for creating indexes, stored procedures, user-defined functions, triggers,
and views.

2. Documentation:

• Detailed documentation covering all the above requirements.

3. Test Plan and Results:

• A test plan outlining the test cases used to verify the functionality and
performance of the database.

• Results of the tests including any issues found and resolved.

Evaluation Criteria:

1. Completeness:

• All deliverables are submitted and all requirements are met.

2. Accuracy:

• Correctness of the database design and SQL code.

3. Efficiency:

• Efficient use of SQL constructs and performance optimization.

4. Documentation:

• Clarity, thoroughness, and professionalism of the documentation.

By following these requirements, you will gain a thorough understanding of database design
and implementation using PostgreSQL or any other SQL related DBMS, as they cover both
fundamental and advanced aspects of DBMS

You might also like