当前位置:网站首页>MySQL interview questions (4)
MySQL interview questions (4)
2022-07-06 14:21:00 【qq_ one billion seven hundred and fifty-seven million five hund】
61.Mysql What storage engine is used in ?
The storage engine is called a table type , Data is stored in files using various techniques .
Technology involves :
Storage mechanism
Locking levels
Indexing
Capabilities and functions.
62.Mysql What is the driver ?
Here are Mysql Drivers available in :
PHP The driver
JDBC The driver
ODBC The driver
CWRAPPER
PYTHON The driver
PERL The driver
RUBY The driver
CAP11PHP The driver
Ado.net5.mxj
63.TIMESTAMP stay UPDATE CURRENT_TIMESTAMP What to do with data types ?
Create table time TIMESTAMP Column use Zero to update . As long as other fields in the table change ,UPDATE CURRENT_TIMESTAMP The Modifier updates the timestamp field to the current time .
64. What's the difference between a primary key and a candidate key ?
Each row of the table is uniquely identified by the primary key , A table has only one primary key .
The primary key is also a candidate key . By convention , Candidate keys can be specified as primary keys , And can be used for any foreign key reference .
65. How to use Unix shell Sign in Mysql?
We can log in with the following command :
[mysql dir]/bin/mysql -h hostname -u -p
66.myisamchk What is it used for ?
It's used to compress MyISAM surface , This reduces disk or memory usage .
67.、 How to control HEAP The maximum size of the watch ?
Heal The size of the table can be determined by calling max_heap_table_size Of Mysql Configure variables to control .
68.MyISAM Static and MyISAM Dynamic What's the difference? ?
stay MyISAM Static All fields on have a fixed width . dynamic MyISAM The watch will have a look like TEXT,BLOB Etc , To accommodate different length data types .
MyISAM Static Easier to recover in case of damage .
69.federated What is a watch ?
federated surface , Allow access to tables located on other server databases .
70. If a table has a column defined as TIMESTAMP, What will happen ?
Every time a line is changed , The timestamp field will get the current timestamp .
边栏推荐
- Intranet information collection of Intranet penetration (4)
- 7-6 local minimum of matrix (PTA program design)
- 【数据库 三大范式】一看就懂
- SQL注入
- Sqqyw (indifferent dot icon system) vulnerability recurrence and 74cms vulnerability recurrence
- Xray and Burp linked Mining
- 网络基础之路由详解
- Record an edu, SQL injection practice
- HackMyvm靶機系列(3)-visions
- 强化學習基礎記錄
猜你喜欢
内网渗透之内网信息收集(四)
强化學習基礎記錄
Intensive literature reading series (I): Courier routing and assignment for food delivery service using reinforcement learning
记一次edu,SQL注入实战
xray与burp联动 挖掘
Intranet information collection of Intranet penetration (4)
Build domain environment (win)
An unhandled exception occurred when C connected to SQL Server: system Argumentexception: "keyword not supported:" integrated
强化学习基础记录
网络基础详解
随机推荐
【MySQL-表结构与完整性约束的修改(ALTER)】
HackMyvm靶机系列(6)-videoclub
Mathematical modeling idea of 2022 central China Cup
强化学习基础记录
记一次edu,SQL注入实战
强化學習基礎記錄
[insert, modify and delete data in the headsong educator data table]
On the idea of vulnerability discovery
Attach the simplified sample database to the SQLSERVER database instance
Only 40% of the articles are original? Here comes the modification method
实验五 类和对象
Spot gold prices rose amid volatility, and the rise in U.S. prices is likely to become the key to the future
XSS unexpected event
Canvas foundation 1 - draw a straight line (easy to understand)
HackMyvm靶机系列(1)-webmaster
安全面试之XSS(跨站脚本攻击)
Intranet information collection of Intranet penetration (5)
Hackmyvm target series (2) -warrior
【MySQL数据库的学习】
Hackmyvm Target Series (3) - vues