#20221220
DB 대용량 데이터를 어떻게 처리할지에 대해 고민이다.
일자별로 데이터가 누적되고, 조회도 매일 이루어진다. 조회 조건도 입력에 따라 수시로 변한다.
range partition을 사용해볼까 고민 중 이다.
MySQL RANGE Partitioning
https://dev.mysql.com/doc/refman/8.0/en/partitioning-range.html
MySQL :: MySQL 8.0 Reference Manual :: 24.2.1 RANGE Partitioning
24.2.1 RANGE Partitioning A table that is partitioned by range is partitioned in such a way that each partition contains rows for which the partitioning expression value lies within a given range. Ranges should be contiguous but not overlapping, and are d
dev.mysql.com
다음은 오라클에 정의된 Range Partitioning 이다.
Range Partitioning
https://docs.oracle.com/cd/E17952_01/mysql-5.7-en/partitioning-range.html
22.2.1 RANGE Partitioning
A table that is partitioned by range is partitioned in such a way that each partition contains rows for which the partitioning expression value lies within a given range. Ranges should be contiguous but not overlapping, and are defined using the VALUES LES
docs.oracle.com
'Development > MySql' 카테고리의 다른 글
MySQL 설치하기 (0) | 2023.01.17 |
---|---|
mariaDB 삭제 후 mySQL 설치하기 (0) | 2023.01.13 |
date 조회 시 유의사항 (0) | 2022.01.18 |
MySQL 테이블 크기 확인하기 (0) | 2022.01.18 |
[MySQL] update 시 timeout 에러 발생할 때 (0) | 2022.01.17 |