The first chapter of nosql after-school exercises

1.5 Exercises
1. Basic knowledge
1. Write the following Chinese and English names and abbreviations
DB: Database (Database)
RDB: Relational Database (Realational Database)
DBMS: Database Management System, Database Management System.
TRDB: Traditional Relational Database, Traditional Relational Database.
NoSQL: non-relational database, Not Only SQL
NewSQL: new relational database, New SQL
SSD:: solid state drive, Solid State Drives
NDFS: Hadoop distributed file system

2. Write the English abbreviations of the top 10 units of computer data storage.
B (bytes), KB (kilobytes), MB (megabytes), GB (gigabytes), TB (terabytes), PB (petabytes), EB (exabytes), ZB ( Ze byte), YB (Yao byte), BB (Per byte)
3. Write the conversion relationship between seconds, milliseconds, microseconds, and nanoseconds.
1s=10 3ms=10 6μs=10^9ns
4. What does the pattern mean in the database?
Definition: Also known as logical mode, it is the description of the logical structure and characteristics of all data in the database, and is the common data view for all users.
A database has only one mode; it
is the view of the database data at the logical level; the
database mode is based on a certain data model;
when defining the mode, it is not only necessary to define the logical structure of the data (such as which data items constitute the data record, and the data item Name, type, value range, etc.), and define the security and integrity requirements related to the data, and define the relationship between these data.
2. Comprehensive application
1. Briefly describe the technical characteristics of TRDB and NoSQL.
TRDB:
(1) Use strong storage mode technology.
(2) Use SQL technical standards to define and operate the database
(3) Use strong transactions to ensure availability and security
(4) Mainly use the stand-alone centralized processing (CP, Centralized Processing) method.
NoSQL:
(1) Use weak storage model technology
(2) Not use SQL technical standards to define and operate the database
(3) Use weak transactions to ensure data availability and security or no transaction processing mechanism at all.
(4) Mainly adopt multi-machine distributed processing mode.
2. Briefly describe the main difference between NoSQL and NewSQL.
NoSQL adopts the principle of eventual consistency. NewSQL chose to draw on the advantages of SQL and NewSQL, hoping to combine ACID with scalability and high performance, but for now, it is not suitable for all scenarios.
3. Whether an Internet online e-commerce website can use MongoDB, Redis, Oracle databases and explain the reasons.
In essence, it is possible, but due to factors such as capital and time consumption, it is not necessary to use a large database like Oracle for some small websites. If the storage capacity of the website is too large, consider storing each module in the website separately corresponding to a database. This is easier to manage. But in most cases, it is recommended to use the MOngoDB database. MongoDB is a document storage-oriented database that is relatively simple and easy to operate.
4. What problem was the initial issue of NoSQL technology to solve?
1. Solve data storage and access problems that cannot be solved by traditional relational databases.
2. To solve the big data application problem.
3. To solve the application problems on the Internet.
4. To solve the problem of processing speed response and massive data storage.
5. How to learn NoSQL technology well?
1. A variety of NoSQL technology comprehensive websites, such as NoSQL official website, CSDN forum, etc.
2. Various source downloads and learning addresses of NoSQL, such as MongoDB official website, Redis Chinese website, etc.
3. Purchase some big boss courses, communicate with classmates and teachers, etc.
6. What is the core physical difference between distributed and centralized technologies?
Centralized: refers to a bunch of servers connected together, which belongs to the concept of physical centralized connection
Distributed: It is a way of processing software on cluster servers and is based on the concept of software systems.

Guess you like

Origin blog.csdn.net/m0_46202060/article/details/115250394