当前位置:网站首页>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 .
边栏推荐
- Middleware vulnerability recurrence Apache
- XSS (cross site scripting attack) for security interview
- Canvas foundation 2 - arc - draw arc
- 记一次edu,SQL注入实战
- Only 40% of the articles are original? Here comes the modification method
- 附加简化版示例数据库到SqlServer数据库实例中
- Hackmyvm target series (7) -tron
- Mixlab unbounded community white paper officially released
- JDBC事务、批处理以及连接池(超详细)
- [experiment index of educator database]
猜你喜欢

Applet Web Capture -fiddler

Captcha killer verification code identification plug-in

浅谈漏洞发现思路

Detailed explanation of network foundation routing

HackMyvm靶机系列(7)-Tron

Low income from doing we media? 90% of people make mistakes in these three points

链队实现(C语言)

Hackmyvm target series (5) -warez

Internet Management (Information Collection)

图书管理系统
随机推荐
JDBC事务、批处理以及连接池(超详细)
内网渗透之内网信息收集(四)
[paper reproduction] cyclegan (based on pytorch framework) {unfinished}
How to understand the difference between technical thinking and business thinking in Bi?
【educoder数据库实验 索引】
Canvas foundation 1 - draw a straight line (easy to understand)
Sqqyw (indifferent dot icon system) vulnerability recurrence and 74cms vulnerability recurrence
Analysis of penetration test learning and actual combat stage
[MySQL table structure and integrity constraint modification (Alter)]
Force deduction 152 question multiplier maximum subarray
7-4 hash table search (PTA program design)
WEB漏洞-文件操作之文件包含漏洞
实验九 输入输出流(节选)
Meituan dynamic thread pool practice ideas, open source
中间件漏洞复现—apache
力扣152题乘数最大子数组
Build domain environment (win)
强化学习基础记录
XSS之冷门事件
Library management system