Home > Database > Mysql Tutorial > body text

Analysis of basic specifications used by mysql

PHPz
Release: 2023-05-27 14:33:22
forward
1262 people have browsed it

1. InoDB must be used as table storage engine.

2. The table character set uses utf8 by default, and utf8mb4 when necessary.

3. It is forbidden to use stored procedures, views, triggers and events.

4. It is forbidden to store large files in the database.

Large files such as photos can be stored in object storage systems and databases.

Prohibit database stress testing in online environments.

Testing, development, and online database environments must be isolated.

Example

说明:
1)通用,无乱码风险,汉字3字节,英文1字节
2)`utf8mb4` 是 `utf8` 的超集,有存储 4 字节例如表情符号时,使用它
Copy after login

The above is the detailed content of Analysis of basic specifications used by mysql. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!