partition
-
[MySQL] Partition 과 Unique KeyBackend/DB 2023. 12. 14. 23:50
Partitioning 실습을 따라하다가 강의 내용과 다르게 Primary key를 설정했다가 Partitioning을 실패하는 결과를 보았다. ERROR 1503 (HY000): A PRIMARY KEY must include all columns in the table's partitioning function (prefixed columns are not considered). 원인을 찾던 중 MySQL 공식 문서에 해당 문제화 관련된 글을 발견하여 해석 및 정리해 보았다. https://dev.mysql.com/doc/refman/8.0/en/partitioning-limitations-partitioning-keys-unique-keys.html MySQL :: MySQL 8.0 Referenc..