※ 데이터베이스 생성 시 스토리지 엔진 설정은 지원되지 않습니다.
1) 기본 스토리지 엔진 확인
SELECT engine, support FROM information_schema.engines WHERE support='DEFAULT';
2) 전체 스토리지 엔진 확인
SHOW engines;
SELECT engine, support FROM information_schema.engines;
3) 특정 데이터베이스 내의 전체 테이블 엔진 확인
SELECT TABLE_NAME, ENGINE
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = 'database_name';
4) 특정 테이블 엔진 변경
ALTER TABLE table_name ENGINE = storage_engine;
'여러가지 > DBMS' 카테고리의 다른 글
[MariaDB] 테이블 (0) | 2024.05.27 |
---|---|
[MariaDB] information_schema (0) | 2024.05.27 |
[MariaDB] 데이터베이스 (0) | 2024.05.27 |
[MariaDB] Galera Cluster 포트 변경 (0) | 2024.05.27 |
[mysqldump] 백업 방법 (0) | 2024.04.25 |