Function: Mysql> Select Case when salary+---------------------------------------------------+| case where salary+---------------------------------------------------+| Low || Low || High || High || High || High |+---------------------------------------------------+6 rows in Set (0.00 sec) 4.case [expr] when [value1] then [result] ... else [default] End Function: Mysql> Select Case salary when the "low" when the then ' mid ' else ' high ' End from salary;+----------------------------------------
Label:Features of several common storage enginesHere we focus on several common storage engines and compare the differences and recommended usage between each storage engine.
features
Myisam
BDB
Memory
InnoDB
Archive
Storag
Tags: mysql5.7innodb innodb innodb Storage EngineFirst, InnoDB primary research:1. mysql log file:The ①:slow.log file records the slow query log, which is recorded in this file when a statement execution time exceeds the value specified in the configuration parameter long_query_time;②:error.log file will record some system startup or runtime error or warning information, through the configuration parameter log_error to set;The ③:general.log file recor
Tags: modifying transactional data str support version new connection heightI installed MySQL version: MySQL Ver 14.14 distrib 5.7.18, for Win64 (x86_64), view MySQL version number way: cmd--"MySQL--version will show the version of MySQL 1. What is a database storage engine? Storage Engine is an important feature of My
What is the storage engine?
Data in MySQL is stored in files (or memory) in a variety of different technologies. Each of these technologies uses different storage mechanisms, indexing techniques, locking levels, and ultimately provides a wide range of different capabilities and capabilities. By selecting different technologies, you can gain additional speed or f
MySQL5.5 the default storage engine is InnoDB. The simplest answer is that if you don't know which storage engine to choose, you can use InnoDB because it supports transactions and has good performance.
MySQL5.5 the default storage engin
"Guide" In this article, we will focus on which of these different engines are best adapted to which requirements and how to enable different storage engines.
Storage Engine
Data in MySQL is stored in files (or memory) in a variety of different technologies. Each of these technologies uses different storage mechanism
MySQL Storage engineAvailable as pluggable components:-Responsible for performing the actual data I/O operations for the database, different storage engines, and the way they store the data.-The user accesses the MySQL database via a connection and avoids large coding changes based on the actual need to choose which storage engine.The default
what is a storage engine?The storage engine is a set of programs that is responsible for translating the user's presentation layer (SQL statement) data into the physical layer (database data file) data. MySQL is a plug-in storage engine
Having comments is my greatest motivation ~ MySQL basics (storage engine and graphical management tools) and mysql basics. Having comments is my greatest motivation ~ MySQL basics (storage engine and graphical management tools), mysql basics hi was posted today, and I found three comments ~~ Come on! Comments this week
configuration file: Write Character_set_server /c2>=utf8use DB2 #代表你鼠标双击切换目录Selectdatabase () #查看你当前在哪个文件夹二. Add and Subtract tables: CREATE TABLE T1 (ID int, nameChar); (T1.FRM table structure, T1.IBD table data) Delete: drop table t1; change: Insert data: INSERT INTO Test (ID, name) VALUES (1,'x'do not write to whom the value of the designation is transmitted, but also according to the location of the transmission: show tables; #查看所有表 Show CREATE table t1; #查看指定的表Select*From T1 #查看表数据Select I
For MySQL, what form of data is ultimately saved? And where does the data remain on the hard drive?1. mysql Storage engineMySQL is a data management system that includes a database, is responsible for storing data, and a database access management interface system that manages the database.To meet different business needs, MySQL's database uses a variety of storage engines for data
Features of several common storage engines
Here we focus on several common storage engines and compare the differences between each storage engine and how they are recommended for use.
features
Myisam
BDB
Memory
InnoDB
Archive
Storage
GridFS is a distributed file system on MongoDB. It uses the distributed storage mechanism of MongoDB and uses MongoDB to store file data and file metadata. It has the advantages of both a document-based database and a file system. GridFS is the product of the current big data trend and complex data analysis requirement
lock (locking on row level), providing no lock read consistent with Oracle type (non-locking read inSelects), in addition, the row lock of the InnoDB table is not absolute, and if MySQL cannot determine the range to scan when executing an SQL statement, the InnoDB table also locks the full table, such as the Update table set num=1 where name like "% aaa% "
MySQL storage engine MyISAM and InnoDB
MySQL Storage engine (table type): MySQL database: In general, a database is a collection of data, specific to a computer database can make a collection of some files on the memory or some memory The collection of memory data for the data. The MySQL database is a relational database of open source code. Currently, it can provide features such as: Support for SQL language, subqueries, stored procedures, trig
MySQLInnoDB storage engine lockConcept:A lock is used to manage concurrent access to shared files. Innodb locks the database at the row level. However, the innodb Storage engine uses locks in multiple places inside the database to allow concurrent access to different resources. For example, to operate on the LRU list i
MySQL Database storage engineMySQL database is a relational database, where data is stored in a single table in a database, each table is associated with each other, each row in the table is related, and each column is irrelevant. This is the basic way to store a relational database.The MySQL storage engine is an alternative
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.