- MariaDB의 테이블 당 컬럼의 최대 개수는 몇 개일까?
테이블 구조를 짜다보면, 테이블 당 컬럼은 몇 개까지 추가할 수 있는지 궁금할 때가 있다.
MariaDB의 테이블 당 컬럼 최대 개수는 몇 개일까? 그리고 행 별 입력 가능한 최대 길이는 얼마나 될까?
→ MariaDB와 MySQL은 뿌리가 같기에 MySQL의 공식문서를 보면 알 수 있다.
테이블 당 4096개 컬럼 생성 가능
행 당 65,535bytes까지 입력 가능
- 참고자료
MySQL :: MySQL 8.0 Reference Manual :: 8.4.7 Limits on Table Column Count and Row Size
8.4.7 Limits on Table Column Count and Row Size This section describes limits on the number of columns in tables and the size of individual rows. MySQL has hard limit of 4096 columns per table, but the effective maximum may be less for a given table. The
dev.mysql.com