Andrew's Garage

Shrunk Expand

Primary Navigation

← Older posts
  • Category Archives DB관련
  • 비공개 » 기술자료 » DB관련
  • MySql 관리

    Table에 생성되어 있는 Indexes 의 용량 확인 Table 최고 사이즈 확인 방법  SHOW TABLE STATUS FROM DB name LIKE ‘Table name’; 이 명령어 이후 Create_options에 있는 max_rows와 avg_row_length를 곱한 값이 용량이 된다….


    Continue reading → Post ID 1284

    Posted on 2021-12-30 5:27 PM by andrew Comment
    DB관련 기술자료
  • [scrap]How to Monitor MySQL Replication?

    Just setting up MySQL replication is not enough, you would need to periodically monitor your slaves to ensure they continue to work seamlessly. Here is a basic overview of the Slave variables to monit…


    Continue reading → Post ID 813

    Posted on 2015-05-18 5:34 PM by andrew Comment
    DB관련 기술자료
  • [scrap] Replication Startup Options

    http://simonshin.egloos.com/2247545   리플리케이션 스타트업 옵션들 이 섹션에서는 여러분이 슬레이브 리플리케이션 서버에서 사용할 수 있는 옵션들에 대해 설명하기로 한다. 이 옵션들은 명령어 라인 또는 옵션 파일에서 지정할 수 있다. 마스터와 각 슬레이브에서, 여러분은 고유의 리플리케이션 ID를 설정하기 위해서 반드시 s…


    Continue reading → Post ID 809

    Posted on 2015-05-18 3:57 PM by andrew Comment
    DB관련 기술자료
  • [scrap] mysql – dual master replication

    http://simonshin.egloos.com/2247518 /etc/my.cnf 파일 내용 Below is what needs to be added to the configuration for Server A: server-id = 1 replicate-same-server-id = 0             //슬레이브 서버에서 사용됨. 일반적으로는…


    Continue reading → Post ID 807

    Posted on 2015-05-18 3:56 PM by andrew Comment
    DB관련 기술자료
  • [scrap] Replication 깨졌을때 Skip

    http://simonshin.egloos.com/2247512 show slave statusG Stop slave; SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; SLAVE START SQL_THREAD; START SLAVE; SHOW SLAVE STATUSG


    Continue reading → Post ID 805

    Posted on 2015-05-18 3:55 PM by andrew Comment
    DB관련 기술자료
  • [scrap]mysqldump 옵션 및 사용법

    http://egloos.zum.com/simonshin/v/2247509   1. mysqldump 옵션 중 binary log 의 포지션 정보 같이 dump 하기 /usr/local/mysql/bin/mysqldump -uroot -p –master-data=2  > /data/…/backup.sql 이 명령어 중에서…


    Continue reading → Post ID 803

    Posted on 2015-05-18 3:54 PM by andrew Comment
    DB관련 기술자료
  • [scrap] MySQL Replication 설정과 몇 가지 테스트

    http://blog.hibrainapps.net/130           MySQL을 DB로 사용하면서 서버의 부하 분산을 위한 방법 중 하나로 Replication 을 사용한다. Replication 은 Master 하나에 n개의 Slave로 지정이 가능하다. Slave는 다시 Master 역할을 할수 있으며…


    Continue reading → Post ID 801

    Posted on 2015-05-18 3:51 PM by andrew Comment
    DB관련 기술자료 참고를 위한 저장물
  • How to find MySQL binary logs, error logs, temporary files?

    Have you ever spent a lot of time trying to locate where MySQL keeps some file? Here is a quick way to find all this information in one place. The obvious way is through examining database options in …


    Continue reading → Post ID 746

    Posted on 2015-05-08 4:45 PM by andrew Comment
    DB관련 기술자료
  • [DB2] how to use Sequence table

    1. describe sequence table describe table syscat.sequences; 2.  select sequence information SELECT * FROM syscat.sequences; 3. create sequence CREATE SEQUENCE seq_tab START WITH 1 INCREMENT BY 1 NOMAX…


    Continue reading → Post ID 741

    Posted on 2015-05-07 9:16 PM by andrew Comment
    DB관련 기술자료
  • [펌][IBM][CLI Driver] SQL0418N SQLSTATE=42610

    개괄 : [IBM][CLI Driver] SQL0418N SQLSTATE=42610           명령문에 유효하지 않은 매개변수 표시문자가 사용되었습니다. 원인: 다음 경우에는 유형이 지정되지 않은 매개변수 표시문자를 사용할 수 없습니다. SELECT 목록에서 날짜 시간 산술 연산의 유일한 인수로 경우에 따라 스칼라 함수의 유일한 인수로 ORDER B…


    Continue reading → Post ID 619

    Posted on 2015-03-13 2:04 AM by andrew Comment
    DB관련 기술자료 참고를 위한 저장물

Posts navigation

1 2 Next


©2025 boots Entries RSS and Comments RSS Child theme Boots of Raindrops Theme
 

Loading Comments...