[MySQL] 효과적인 대용량 데이터 처리 방법

2022. 12. 20. 16:09·Development/MySql

#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
'Development/MySql' 카테고리의 다른 글
  • MySQL 설치하기
  • mariaDB 삭제 후 mySQL 설치하기
  • date 조회 시 유의사항
  • MySQL 테이블 크기 확인하기
곽진돔
곽진돔
Developer
  • 곽진돔
    echo "곽박한 세상";
    곽진돔
  • 전체
    오늘
    어제
    • 분류 전체보기 (184)
      • Development (57)
        • Linux (13)
        • k8s (3)
        • Docker (5)
        • AWS (1)
        • PHP (35)
        • Python (21)
        • Java (1)
        • SpringBoot (4)
        • JavaScript (1)
        • React (8)
        • MySql (19)
        • MongoDB (1)
      • Daily (4)
      • Study (6)
        • TIL (1)
        • license (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 글쓰기
    • 설정
  • 링크

    • github
  • 공지사항

  • 인기 글

  • 태그

    리액트
    error
    php
    정규표현식
    date
    docker
    Linux
    Java
    react
    ssh
    db
    HTML
    Selenium
    Shell
    JavaScript
    Python
    MySQL
    nodejs
    CentOS
    IP
    chromedriver
    UTF8
    리눅스
    springboot
    SQL
    스프링부트
    인코딩
    윈도우
    크롤링
    CentOS7
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
곽진돔
[MySQL] 효과적인 대용량 데이터 처리 방법
상단으로

티스토리툴바