개발은 너무해

개발은 너무해

  • Total (377)
    • Introduction to the applica.. (7)
    • MySQL (53)
      • Class (43)
      • secret (0)
      • etc (10)
    • Oracle (98)
      • Oracle Study (43)
      • Oracle Error (19)
      • Oracle Meta (0)
      • Oracle Scrap (18)
      • Oracle Backup (0)
      • Oracle Recovery (5)
      • Oracle Tip (10)
      • Oracle Dictionary (3)
    • Unix & Linux (36)
    • Programming (133)
      • python (2)
      • PHP (10)
      • HTML (4)
      • JavaScript (4)
      • CSS (1)
      • Git (1)
      • Swift (94)
      • CodeIgniter (17)
    • BigData (4)
      • mongoDB (2)
      • kafka (0)
      • Hadoop (2)
    • Apple(iPhone|Mac) (21)
    • Windows (19)
    • 보지않는 막소스 (0)
    • etc (6)
  • Home
  • Write
  • Admin
  • 방명록
  • 개미의 주식 정보 공유
RSS 피드
로그인
로그아웃 글쓰기 관리

개발은 너무해

컨텐츠 검색

태그

docker 생활코딩짱 vmware Swift CI Model jqplot MAC IncompleteRecovery 티스토리챌린지 잠만보 mysql oracle recovery 실패 percona-toolkit 오블완 M2 xtrabackup linux xcode

최근글

댓글

공지사항

아카이브

compress(2)

  • xtrabackup - (4) 백업 : incremental

    1. 전체(base) 백업 (1) 데이터 확인 - 이 테이블은 추후 복구과정에서 어디까지 복구를 하였는지 체크를 하기 위함입니다. (2) 전체 백업 - xbstream 은 percona에서 파일들을 묶어주는 기능을 제공 합니다. tar 와 같은 느낌입니다.xtrabackup --defaults-file=/etc/my_5529.cnf --compress --user=root --backup --target-dir=/data/backup --socket=/tmp/mysql_5529.sock --stream=xbstream > /data/backup/base.xbstream[root@mac18-02 data]# /mysql/xtrabackup/bin/xtrabackup --defaults-file=/etc/m..

    2024.11.25
  • bz2

    >> import bz2 >> str = b"sqlplus scott/tiger" # compress >> compress_str = bz2.compress(str) >> print(compress_str) b'BZh91AY&SYY\xf9\xdb\xc5\x00\x00\x07\x11\x80@\x00\x8a\xa4\xfe\x00 \x001\x00\x00\x08@d\xf0\xa1X\xedh\x9b\x14\x18~N\xfe.\xe4\x8ap\xa1 \xb3\xf3\xb7\x8a' # decompress >> decompress_str = bz2.decompress(compress_str) >> print(d) b"sqlplus scott/tiger" >> print(d.decode()) sqlplus scott..

    2022.07.20
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바