当前位置:网站首页>[mysql] I. MySQL starts
[mysql] I. MySQL starts
2022-07-23 17:08:00 【FanMY_ seventy-one】
1、MySQL Can I use containers to run ?
Containers are not suitable for operation MySQL
- Data security issues
- The container can stop at any time 、 Or delete . When the container is rm fall , The data in the container will be lost . To avoid data loss , Users can use data volumes to store data . But the container volumes Design is about Union FS The image layer provides persistent storage , Data security is not guaranteed . If the container suddenly collapses , Database failed to shut down properly , Could damage data . in addition , Shared data volume group in container , The damage to physical machine hardware is also relatively large .
- Performance issues
- MySQL Relational database , Yes IO The demand is higher . When a physical machine runs more than one ,IO It will add up , Lead to IO bottleneck , Greatly reduced MySQL Read and write performance of . Of course, there are technologies that can solve this problem .
- Network problems
- state
- Resource isolation
- The inapplicability of cloud platform
- Environmental requirements for running the database
2、 Types of databases
- Relational database :MySQL、oracle、MSSQL、postgreSQL、DB2、informix etc.
It can be understood as columns between different tables ( Field ) Can contact ( Foreign keys )
- Non relational database :NoSQL、elasticserach、Redis、TIDB
Different business scenarios , Suitable for different databases . So there is no absolute difference between good and bad .
2.1、 Database background
ariaDB Database management system yes MySQL A branch of , Mostly maintained by the open source community , use GPL licensing .MariaDB from MySQL Michael, the founder of · Vidnius led development , He had earlier used 10 A hundred million dollars , Will start their own companies MySQL AB Sold to SUN, thereafter , With SUN Acquired by Oracle ,MySQL The ownership of Oracle In the hands of .MariaDB Name from Michael · Vidnius' daughter Maria ( English :Maria) Name .MariaDB Of API Compatible with protocol MySQL, In addition, some functions have been added , To support local non blocking operations and progress reporting . Worried about Oracle MySQL A more closed software project ,Fedora The plan is Fedora 19 In order to MariaDB replace MySQL, Wikimedia Foundation Our server also uses MariaDB To replace the MySQL
Now the country promotes the localization of databases . Introduce the database that has been very popular in recent years :
边栏推荐
- 微机原理与技术接口随堂练习
- OpenIM重大升级-群聊读扩散模型发布 群管理功能升级
- 简单了解首个 EVM 等效的 zkEVM Polygon 为何全力押注
- 大规模团队中的敏捷测试实践
- ROS2自学笔记:RQT可视化工具
- 通过SSH方式访问内网RDS+mysql
- leetcode-67.二进制求和
- Function secondary development / plug-in development of JMeter (detailed version)
- Fundamentals of C language -- the data type meaning of 2-4 pointers and the analysis of forced type conversion
- Squeeze and incentive networks
猜你喜欢
随机推荐
php文件锁抽奖防止并发
Pinia (pineapple)
Weisfeiler-Lehman图同构测试及其他
Compose canvas pie chart effect drawing
Visual analysis of real-time epidemic data
Heartless sword English Chinese bilingual poem 006. to my wife
Convolutional neural network model -- googlenet network structure and code implementation
UPC 2022暑期个人训练赛第12场(B 组合数)
二十四节气之大暑
Pyinstaller+InstallForge多文件项目软件打包
Docker install redis
合宙ESP32C3基于VSCode PIO Arduino开发框架初探教程
软件配置 | Anaconda下载、安装及环境配置和卸载
Nodejs implements token login registration (koa2)
ROS2自学笔记:RQT可视化工具
Wechat applet wx.hideloading() will close the toast prompt box
Leetcode-67. binary sum
Chen Wei, head of CPU technology ecology of Alibaba pingtouge: the development road of pingtouge
目前有哪些年利率6%左右的保本理财产品?
一道反序列化的CTF题分享


![[31. Maze walking (BFS)]](/img/9b/1c1e991ca3e99923dab888a214efb3.png)





