Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Mysql Learning Notes (3-related terms)

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Transaction (Transaction): organize multiple operations as a whole, either all or none at all

"Roll back", rollback

Whether a storage system supports transactions, test criteria:

ACID:

A: atomicity

C: consistency

I: isolation

D: persistence

Databases: data collection

Table: to meet the requirements of paradigm design, split a dataset into multiple

Constraints: constraint, restrictions to follow when inserting data into a data table

Primary key: a combination of one or more fields in which the data in the primary key must be different from the existing data; it cannot be empty.

Foreign key: data that can be inserted in a field in a table, depending on the data in the primary key of another table

Unique key: a combination of one or more fields in which the data in the unique key must be different from the existing data; it can be empty.

Checking constraints: depending on the requirements of the expression

Index: extract one or more fields from a table and organize them into a unique data structure.

Commonly used index types:

Tree type:

Hash:

Note: it helps to read the request, but not to write the request

Relational operation:

Select: pick out rows that meet the criteria

Projection: pick the columns that meet your needs

Join: associating multiple tables

Data abstraction:

Physical layer: determines the storage format of the data, that is, how to organize the data into physical files

Logic layer: describes what data DB stores and what relationships exist between the data

View layer: describing part of the data in DB

Classification of relational models:

Relation model

Entity-relation model

Object-based relational model

Semi-structured relation model

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report