Configuring In-Memory Engine in MySQL
0. Specs - In MySQL 5.7 and above, the in-memory engine is provided by default. 1. TASKS 1-1. Open the configuration file (my.cnf) and activate the in-memory engine. [mysqld] default_storage_engine=InnoDB innodb_buffer_pool_size=256M 1-2. Restart MySQL. 1-3. Create in-memory tables. CREATE TABLE example ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(50), PRIMARY KEY (id) ) ENGINE=MEMORY; This en..
2023.04.03