









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
1622 - Database Design and Development - Assignment 1
Typology: Papers
1 / 17
This page cannot be seen from the preview
Don't miss anything!










Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 04: Database Design & Development Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Há» Ngá»c KhĂĄnh Student ID GCS Class GCD0901 Assessor name Phan Thanh TrĂ Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Studentâs signature Khanh Grading grid
Grade: Assessor Signature: Date: Signature & Date:
In this report, I will be focusing on the problem of managing library of the Greenwich University. Since that, this report will show the standards, requirements and the how the code will be executed in the future. Libraries are pretty typical in universities, as the result, they are obvious and effortlessly manageable. In addition, the program must have CRUD actions which will be included below.
CRUD actions:
o I want to add more books into the shelf with specific information so that I can have more books for borrowers to lend o I want to manage the books which stay on the shelf so that I can effortlessly manage the books in each department
HIERARCHICAL DATABASE: A hierarchical database is the design of data items with a one-to-one connection. Hierarchical database models employ a tree structure that connects several different items to a principal record "owner," or "parent." Figure 2 : HIERARCHICAL DATABASE EXAMPLE ADVANTAGES:
RELATIONAL DATABASE: It employs a structure to identify and access data from another part of the database. Data are often arranged into tables in a relational database. Figure 3 : RELATIONAL DATABASE EXAMPLE ADVANTAGES:
common languages like Perl, Python, Tcl, etc. Partitioning methods Tables can be distributed across several files (horizontal partitioning); sharding through federation. Declarative partitioning (by range or by list) since PostgreSQL 10.0. Concurrency Has underdeveloped concurrency and you can easily get various locked, blocked, and deadlocked reports in the log. Thus, the performance of the database, as well as the application, will be slower. Has a better concurrency management system. It handles very well the case where multiple processes can access and modify shared data at the same time. Scalability Offers compression out of the box but you have to implement it manually. Offers it for free and the entire process is automatic. Scriptability Is more driven through a GUI. Can be driven entirely from the command line Replication Supports snapshot replication, transactional replication, merge replication. Uses master-slave replication. In-memory capabilities Supports Doesnât support Table 1 : COMPARISON SQL SERVER AND POSTGRESQL CONCLUSION: After the comparison, I had a more proper view and a different perspective to decide on the platform that I will use to code for the application. I decided to choose SQL Server as a platform for my application. TECHNICAL SYSTEM REQUIREMENTS:
Thus, the Database Library System is meant to facilitate library activities online, such as setting up a new borrower, offering borrowers with books, and preservation of a list of all the department's books. This will also assist librarians by offering information like books, information about the department, the books, etc.
Figure 4 : HIGH LEVEL ER DIAGRAM
Figure 7 : BOOKS_INFO AND DEPARTMENTS
Figure 11 : DATABASE DIAGRAM
ER Diagram Database Diagram Tables Both diagrams still maintain the good quality for tables since they show the attributes very well as well as the relationships between them Attributes The attributes include the data types in them The attributes donât include the data types Relationships The relationships show what type of relationship those are, such as one-to- one, one-to-many or many-to-many The relationships are simple, just connection between the same attributes, yet still show the primary key between tables Table 2 : COMPARISON BETWEEN ER DIAGRAM AND DATABASE DIAGRAM To sum up everything that has been stated so far, Database diagram still satisfy our needs of comprehending the database system as well as the need of preparation for coding for database in the future. However, the ER Diagram is better since it shows the types of relationship so we can have a more proper view to the database for the programming.