





































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
the teacher give me good refer and merit
Typology: Schemes and Mind Maps
1 / 45
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 10/10/2023 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name TRAN QUOC ANH Student ID BH Class SE206.06 Assessor name DAO TRAN CHUNG 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 QUANH Grading grid
Grade: Assessor Signature: Date: Signature & Date:
Figure 8: Network Database..................................................................................................................................................... 11 Figure 9: RDSMSs ..................................................................................................................................................................... 12 Figure 10: Oracle Features ....................................................................................................................................................... 14 Figure 11: PostgreSQL .............................................................................................................................................................. 16 Figure 12: ER diagram .............................................................................................................................................................. 27 Figure 13:FPT shop database management ............................................................................................................................. 34 Figure 14:Shop table ................................................................................................................................................................ 34 Figure 15:CATEGORY table ....................................................................................................................................................... 35 Figure 16:SUPPLIER table ......................................................................................................................................................... 35 Figure 17: PRODUCT table........................................................................................................................................................ 35 Figure 18: STAFF table .............................................................................................................................................................. 36 Figure 19: CUSTOMER table ..................................................................................................................................................... 36 Figure 20: FEEDBACK table ....................................................................................................................................................... 36 Figure 21: ORDERS table .......................................................................................................................................................... 37 Figure 22: DETAIL ORDER table ................................................................................................................................................ 37 Figure 23:FPT shop database management diagram ............................................................................................................... 38 Figure 24:FPT Shop Manage Database..................................................................................................................................... 39
In a small business, network administrators or developers also serve as database administrators (DBAs). In bigger companies, there may be hundreds of DBAs with distinct areas of expertise, such as design and architecture, maintenance, development, etc. No matter what area of IT you work in, you will eventually need to store data, thus it doesn't hurt for most people to have a basic understanding of databases and how they operate. This tutorial's objective is to give this fundamental introduction. We'll cover the fundamentals of what a database is and how it works, as well as its history, understanding relational databases, basic concepts like columns and rows, other types of databases, additional concepts to be aware of, and a quick review of the most important commercial systems available today. [1]
For the most part there are no prerequisites to this tutorial other than basic computing knowledge. Figure 1 : database
a) Centralized Databased: Figure 3 : Types of Database
Advantages of centralized Database:
c) Relational Database: This database is built on a relational data architecture, which stores data as rows (also known as tuples) and columns (also known as attributes), which together make up a table (also known as a relation). SQL is used by relational databases to store, manipulate, and preserve data. In 1970, E.F. Codd created the database. Every table in the database has a key that distinguishes the data from other tables. Properties of Relational Database: There are following four commonly known properties of a relational model known as ACID properties, where:
Figure 6 : Cloud Database d) NoSQL Database: SQL-Free/Not Only A variety of different data sets can be stored in a SQL database type. It is not a relational database since it stores data in a variety of formats in addition to tabular form. It was created as the need for creating contemporary applications grew. In order to meet the expectations, NoSQL offered a wide range of database technologies. The following four types of NoSQL databases can be further separated.
g) Network Databases: Figure 8 : Network Database The network data model is often followed by the database. Data is represented in this instance as a network of nodes that are linked together. It permits each record to have several children and parent nodes to construct a generalized graph structure, in contrast to a hierarchical database.
Stands for "Relational Database Management System." An RDBMS is a DBMS designed specifically for relational databases. Therefore, RDBMSes are a subset of DBMSes. A database that uses rows and columns to store data in an organized manner is referred to as a relational database. As a result, it is simple to find and retrieve particular values inside the database. It is referred to as "relational" because the values in each table are connected to one another. Additionally, tables may be connected to other tables. Queries may be executed simultaneously across several tables because to the relational nature.[5]
Figure 9 : RDSMSs RDBMS refers to the database program itself, whereas a relational database refers to the kind of database that RDBMS handles. The program is responsible for doing queries on the data, including those that add, update, and look for values. The data may be represented visually by an RDBMS as well. For instance, it may provide data in tables, much like a spreadsheet, allowing you to see and even modify specific numbers. You can design forms in several RDBMS applications that will make it easier to input, amend, and delete data. Most well known DBMS applications fall into the RDBMS category. Examples include Oracle Database, MySQL, Microsoft SQL Server, and IBM DB2. Some of these programs support non-relational databases, but they are primarily used for relational database management. Examples of non-relational databases include Apache HBase, IBM Domino, and Oracle NoSQL Database. These types of databases are managed by other DBMS programs that support NoSQL, which do not fall into the RDBMS category.[6]
a) MySQL The most popular free open source database management system in the world, MySQL, is widely used in the creation of applications. Because MySQL is a quick, dependable, and simple-to-use database management system, it can run on many different operating systems and offer a wide range of powerful utility features. MySQL is appropriate for applications that access databases on the Internet because of its great speed and security. From the webpage, users may free download MySQL.. MySQL has many versions for different operating systems:
b) Oracle Relational database management systems include Oracle database. Additionally, it goes under the names Oracle DB and Oracle. Oracle Corporation is in charge of its production and promotion. It was developed in 1977 by engineers Lawrence Ellison and others. It is one of the most widely used relational database engines for storing, organizing, and retrieving data on the IT market.[11] The first DB created specifically for data warehousing and corporate grid computing was Oracle. The most adaptable and economical method of managing data and applications is provided by enterprise grid computing. It communicates with the database using SQL queries as the language. [4] Features of Oracle: Oracle database manages data with the help of an open, complete, and integrated approach. The following are features that complete the demand for powerful database management: Availability: It never goes offline or out of commission, ensuring the database's availability around-the-clock. Because of the Oracle Data Guard capabilities, it offers high availability of databases. Due to its feature, the secondary database can serve as a backup for the primary database in the event of a breakdown. As a consequence, none of the regular operations, including backups and partial failures, stop the database from being utilized. [12] Security: Oracle has a system in place for managing and accessing the database that guards against unauthorized use. Because of the Oracle Advanced Security features, it offers great security. It provides TDE (Transparent Data Encryption) and data redaction as two options for safeguarding databases. Data encryption is supported by TDE both at the source and after export. Application-level redaction takes place. Other security features offered by Oracle include Oracle Label Security and Oracle Database Vault, which controls user privileges. Figure 10 : Oracle Features
Scalability: It provides features like RAC (Real Application Cluster) and Portability, which makes an Oracle database scalable based on usage. In a clustered environment, it includes capabilities such as rolling instance migrations, performing upgrades, maintaining application continuity, quality of service management, etc. Performance: The performance improvement technologies offered by Oracle include Oracle Advanced Compression, Oracle Database In-Memory, Oracle Real Application Testing, and Oracle TimesTen Application-Tier Database Cache. Their major goal is to achieve the best degree of system performance. Analytics: Oracle has the following solutions in the field of analytics:
e) MongoDB: MongoDB is a document-oriented NoSQL database used for high volume data storage. Instead of using tables and rows as in the traditional relational databases, MongoDB makes use of collections and documents. Documents consist of key-value pairs which are the basic unit of data in MongoDB. Collections contain sets of documents and functions which is the equivalent of relational database tables. MongoDB is a database which came into light around the mid-2000s. Features of MongoDB: