JH 개인 블로그
close
프로필 배경
프로필 로고

JH 개인 블로그

  • All (143)
    • Cloud (18)
      • AWS(Amazon Web Service) (4)
      • NCP(Naver Cloud Platform) (8)
      • OCI(Oracle Cloud Infrastruc.. (6)
    • DataBase (78)
      • Oracle (14)
      • MySQL & MariaDB (43)
      • PostgreSQL (8)
      • MSSQL (13)
    • DataBase Admin (14)
      • DB Admin (8)
      • Trouble shooting (6)
    • Others (31)
      • DB Monitoring (15)
      • Opensource Tool (16)
    • 여가 생활 (2)
      • 해외 여행 (0)
      • 맛집 탐방 (2)
      • 호캉스 (0)
  • 홈
  • 태그
  • 방명록
[MySQL - Parameter 정리]

[MySQL - Parameter 정리]

파라미터 설명 Docs URL https://dev.mysql.com/doc/refman/8.0/en/server-option-variable-reference.html MySQL :: MySQL 8.0 Reference Manual :: 5.1.4 Server Option, System Variable, and Status Variable Reference MySQL 8.0 Reference Manual / ... / MySQL Server Administration / The MySQL Server / Server Option, System Variable, and Status Variable Reference 5.1.4 Server Option, System Variable, and Status V..

  • format_list_bulleted DataBase Admin/DB Admin
  • · 2022. 10. 18.
  • textsms
[MySQL & MariaDB - innodb_flush_log_at_trx_commit 파라미터]

[MySQL & MariaDB - innodb_flush_log_at_trx_commit 파라미터]

innodb_flush_log_at_trx_commit 파라미터는 Transaction이 Commit되었을때 디스크에 저장되는 방법을 지정하는 변수이다. 해당 파라미터에 따라 성능을 차이가 날 수 있으므로 잘 고려해야합니다. * innodb_flush_log_at_trx_commit = 0 -MySQL 서버에 문제가 생기면 마지막 1초의 Transaction 유실 발생 * innodb_flush_log_at_trx_commit = 1 - Default 값으로 데이터 유실 발생하지 않는다. * innodb_flush_log_at_trx_commit =2 - OS가 crash되거나 파워가 나가면 마지막 1초(혹은 그 이상..)의 트랜잭션이 유실될 수 있습니다. nnodb_flush_log_at_trx_com..

  • format_list_bulleted DataBase Admin/DB Admin
  • · 2022. 3. 24.
  • textsms
[Mysql - Performance parameter]

[Mysql - Performance parameter]

mysql에서 사용되는 성능관련 파라미터 요약 정리를 해보았습니다. ## System variables 동적으로 Set문을 사용하여 설정할 수 있는 파라미터 sort_buffer_size 파일 정렬 버퍼의 크기 제어함. 변수를 높게 설정하고 행 정렬이 필요한 여러 연결이 있는 경우 메모리가 많이 사용됨. 이 값을 너무 낮게 설정해도 디스크 다이브를 수행하여 데이터가 무작위로 검색되기 때문에 더 느릴 수 있음. 쿼리 수정하는 것이 가장 좋으며, Redis와 같은 쿼리 캐싱을 처리하는 도구를 사용하는 것이 효율적. mysql> show variables like 'sort_buffer_size'; +------------------+--------+ | Variable_name | Value | +-----..

  • format_list_bulleted DataBase/MySQL & MariaDB
  • · 2022. 3. 24.
  • textsms
[MariaDB - Mariabackup error] failed to copy enough redo log

[MariaDB - Mariabackup error] failed to copy enough redo log

안녕하세요 고객사에서 mariabackup을 받는데 아래와 같은 error가 떠서 찾아보게 되었습니다. 에러 화면 해당 에러는 작업의 마지막 부분에서 필요한 log file size보다 현재 설정된 size가 더 작으면 mariabackup에 fail가 발생합니다. redo_log_file_size확인 방법 Redo log (from LSN 3183381317949 to 3183385508864 ) was copied 부분을 확인. 3183385508864 - 3183381317949 /1024/1024 => redo_log_file_size를 얼마나 썼는지 확인 할 수있습니다. 해결 방법 ■ 현재 innodb_log_file_size 확인 ## my.cnf innodb_log_file_size=5033..

  • format_list_bulleted DataBase/MySQL & MariaDB
  • · 2022. 2. 24.
  • textsms
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • All (143)
    • Cloud (18)
      • AWS(Amazon Web Service) (4)
      • NCP(Naver Cloud Platform) (8)
      • OCI(Oracle Cloud Infrastruc.. (6)
    • DataBase (78)
      • Oracle (14)
      • MySQL & MariaDB (43)
      • PostgreSQL (8)
      • MSSQL (13)
    • DataBase Admin (14)
      • DB Admin (8)
      • Trouble shooting (6)
    • Others (31)
      • DB Monitoring (15)
      • Opensource Tool (16)
    • 여가 생활 (2)
      • 해외 여행 (0)
      • 맛집 탐방 (2)
      • 호캉스 (0)
최근 글
인기 글
최근 댓글
태그
  • #mysql
  • #oracle
  • #mha
  • #PostgreSQL
  • #monitoring
  • #mssql
  • #MariaDB
  • #navercloud
  • #ncp
  • #oci
전체 방문자
오늘
어제
전체

티스토리툴바