Professional Documents
Culture Documents
GWFOS Design Database
GWFOS Design Database
GWFOS Design Database
DESIGN DATABASE
Version 1.0
GURUACADEMY
Do Vu Dung
Approved by
PROJECT INFORMATION
DOCUMENT INFORMATION
URL
Access
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
REVERSION HISTORY
Document Approval
The following signatures are required for approval of this document
Mentor Hung, Dang Viet Date
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
1.2. Purpose.........................................................................................................1
Advantage..........................................................................................................2
Disadvantage.....................................................................................................3
2.2. Versioning....................................................................................................3
V. DIAGRAMS.....................................................................................................7
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
I. OVERVIEW.
I.1. Introduction.
This database design provides the basis for designing an online teaching and
learning website database that integrates AI chatbot. It defines the database that will
support the online teaching and learning website data model integrated with the AI
chatbot. It describes both logical and physical definitions, non-functional problems,
and database interfaces. The storage aspects are defined in the physical database
designs.
Database design for online teaching and learning website integrated with AI
chatbot including definitions for database objects obtained by entity-based input
into tables, attributes for columns, unique identifiers for unique keys and
relationships with foreign keys.
I.3. Related documents.
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
II.1. Introduction.
Advantage
- Because MongoDB uses data storage in the form of Document JSON, each
collection will have different sizes and documents, flexible in data storage,
so developer can insert whatever they want.
- Data in MongoDB has no mutual constraints, there is no join like in
RDBMS, so when inserting, deleting or updating it does not need to take
time to check if it satisfies the data constraints like in RDBMS.
- MongoDB is very scalable (Horizontal Scalability). In MongoDB, there is a
cluster concept that is a cluster of nodes containing data that communicate
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
with each other, when we want to expand the system, we just need to add a
node to the cluster.
- The data field "_id" is always automatically indexed (indexed) for the
highest performance information query speed.
- When there is a data query, the record is cached to Ram memory, to serve the
following query faster without having to read from the hard drive.
- High performance: The query speed (find, update, insert, delete) of
MongoDB is much faster than that of relational database management
systems (RDBMS). With a large enough amount of data, the test shows that
the insert speed of MongoDB can be up to 100 times faster than MySQL.
Disadvantage
II.2. Versioning.
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
This section covers the decisions that were made when designing the database
for the application Building an online teaching website with an AI chatbot.
Problems, alternatives and motivational choices are listed below.
III.1. Assumption:
When entities entered the tables, the following rules were applied:
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
GURUACADEMY
DESIGN DATABASE GURUACADEMY - WEBSITE FOR ONLINE STUDYING -
2022
V. DIAGRAMS.
Diagram.
GURUACADEMY