当前位置:网站首页>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 .
边栏推荐
- Hackmyvm target series (3) -visions
- Experiment 8 exception handling
- JDBC事务、批处理以及连接池(超详细)
- . How to upload XMIND files to Jinshan document sharing online editing?
- [MySQL database learning]
- Circular queue (C language)
- 循环队列(C语言)
- Which is more advantageous in short-term or long-term spot gold investment?
- 实验八 异常处理
- 7-14 error ticket (PTA program design)
猜你喜欢
实验六 继承和多态
搭建域环境(win)
DVWA (5th week)
How to understand the difference between technical thinking and business thinking in Bi?
Matlab opens M file garbled solution
强化學習基礎記錄
Ucos-iii learning records (11) - task management
Intensive literature reading series (I): Courier routing and assignment for food delivery service using reinforcement learning
1143_ SiCp learning notes_ Tree recursion
Renforcer les dossiers de base de l'apprentissage
随机推荐
记一次edu,SQL注入实战
Strengthen basic learning records
Low income from doing we media? 90% of people make mistakes in these three points
Experiment 8 exception handling
HackMyvm靶机系列(4)-vulny
"Gold, silver and four" job hopping needs to be cautious. Can an article solve the interview?
Nuxtjs quick start (nuxt2)
《英特尔 oneAPI—打开异构新纪元》
Experiment 7 use of common classes
Intranet information collection of Intranet penetration (I)
Record once, modify password logic vulnerability actual combat
[paper reproduction] cyclegan (based on pytorch framework) {unfinished}
sqqyw(淡然点图标系统)漏洞复现和74cms漏洞复现
实验七 常用类的使用
Data mining - a discussion on sample imbalance in classification problems
Intranet information collection of Intranet penetration (4)
记一次,修改密码逻辑漏洞实战
攻防世界MISC练习区(gif 掀桌子 ext3 )
Intranet information collection of Intranet penetration (5)
XSS unexpected event