Loading...
MySQL 9.5 Reference Manual 9.5의 25.5.11 ndb_drop_table — Drop an NDB Table의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
ndb_drop_table은 지정된 NDB 테이블을 삭제합니다. (이 도구를 NDB가 아닌 다른 스토리지 엔진으로 생성된 테이블에 사용하려고 하면, error 723: No such table exists 오류와 함께 실패합니다.) 이 작업은 매우 빠르며, 어떤 경우에는 MySQL DROP TABLE 문을 NDB 테이블에 사용하는 것보다 한 자릿수 정도 빠를 수 있습니다.
1ndb_drop_table -c connection_string tbl_name -d db_name
ndb_drop_table과 함께 사용할 수 있는 옵션들은 다음 테이블에 나와 있습니다. 추가 설명은 테이블 다음에 이어집니다.
| Property | Value |
|---|---|
| Command-Line Format | --character-sets-dir=path |
캐릭터 세트들이 포함된 디렉터리입니다.
| Property | Value |
|---|---|
| Command-Line Format | --connect-retries=# |
| Type | Integer |
| Default Value | 12 |
| Minimum Value | 0 |
| Maximum Value | 12 |
포기하기 전에 커넥션을 재시도하는 횟수입니다.
| Property | Value |
|---|---|
| Command-Line Format | --connect-retry-delay=# |
| Type | Integer |
| Default Value | 5 |
| Minimum Value | 0 |
| Maximum Value | 5 |
매니지먼트 서버에 접촉을 시도하는 사이에 기다릴 초(second) 수입니다.
| Property | Value |
|---|---|
| Command-Line Format | --connect-string=connection_string |
| Type | String |
| Default Value | [none] |
--ndb-connectstring과 동일합니다.
| Property | Value |
|---|---|
| Command-Line Format | --core-file |
에러 발생 시 코어 파일을 기록합니다. 디버깅에 사용됩니다.
--database, -d| Property | Value |
|---|---|
| Command-Line Format | --database=name |
| Type | String |
| Default Value | TEST_DB |
테이블이 존재하는 데이터베이스의 이름입니다.
| Property | Value |
|---|---|
| Command-Line Format | --defaults-extra-file=path |
| Type | String |
| Default Value | [none] |
글로벌 파일들이 읽힌 후에 지정된 파일을 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --defaults-file=path |
| Type | String |
| Default Value | [none] |
지정된 파일에서만 기본 옵션들을 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --defaults-group-suffix=string |
| Type | String |
| Default Value | [none] |
concat(group, suffix)가 된 그룹들도 함께 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --help |
도움말 텍스트를 표시하고 종료합니다.
| Property | Value |
|---|---|
| Command-Line Format | --login-path=path |
| Type | String |
| Default Value | [none] |
로그인 파일에서 지정된 경로를 읽습니다.
| Property | Value |
|---|---|
| Command-Line Format | --no-login-paths |
로그인 패스 파일에서 옵션들을 읽는 것을 건너뜁니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-connectstring=connection_string |
| Type | String |
| Default Value | [none] |
매니지먼트 서버 ndb_mgmd에 연결하기 위한 커넥션 문자열을 설정합니다. 문법: [nodeid=id;][host=]hostname[:port].
NDB_CONNECTSTRING과 my.cnf의 항목을 오버라이드합니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-mgm-tls=level |
| Type | Enumeration |
| Default Value | relaxed |
| Valid Values | relaxed<br>strict |
매니지먼트 서버에 연결하는 데 요구되는 TLS 지원 수준을 설정합니다. relaxed 또는 strict 중 하나입니다.
relaxed(기본값)는 TLS 커넥션을 시도하지만, 성공을 필수로 요구하지는 않음을 의미합니다.
strict는 연결을 위해 TLS가 반드시 필요함을 의미합니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-mgmd-host=connection_string |
| Type | String |
| Default Value | [none] |
--ndb-connectstring과 동일합니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-nodeid=# |
| Type | Integer |
| Default Value | [none] |
이 노드에 대한 노드 ID를 설정하며, --ndb-connectstring에 의해 설정된 ID를 오버라이드합니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-optimized-node-selection |
트랜잭션을 위한 노드 선택 최적화를 활성화합니다.
기본적으로 활성화되어 있으며, 비활성화하려면 --skip-ndb-optimized-node-selection을 사용합니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-tls-search-path=list |
| Type | Path name |
| Default Value (Unix) | $HOME/ndb-tls |
| Default Value (Windows) | $HOMEDIR/ndb-tls |
CA 파일을 검색할 디렉터리 목록을 지정합니다. Unix 플랫폼에서는 디렉터리 이름들이 콜론(:)으로 구분되며, Windows 시스템에서는 세미콜론 문자(;)가 구분자로 사용됩니다. 디렉터리 참조는 상대 또는 절대일 수 있습니다. 또한 하나 이상의 환경 변수(environment variable)를 포함할 수 있으며, 각각은 앞에 달러 기호($)가 붙어 있고, 사용 전에 확장(expand)됩니다.
검색은 가장 왼쪽에 있는 디렉터리부터 시작하여, 파일이 발견될 때까지 왼쪽에서 오른쪽으로 진행됩니다. 빈 문자열은 빈 검색 경로를 나타내며, 이는 모든 검색이 실패하게 만듭니다. 단일 점(.)으로 구성된 문자열은 검색 경로가 현재 작업 디렉터리로 제한되었음을 나타냅니다.
검색 경로가 제공되지 않으면, 컴파일 시 내장된 기본값이 사용됩니다. 이 값은 사용하는 플랫폼에 따라 달라집니다. Windows에서는 \ndb-tls이고, 다른 플랫폼(Linux 포함)에서는 $HOME/ndb-tls입니다. 이는 -DWITH_NDB_TLS_SEARCH_PATH를 사용하여 NDB Cluster를 컴파일함으로써 오버라이드할 수 있습니다.
| Property | Value |
|---|---|
| Command-Line Format | --no-defaults |
로그인 파일 이외의 어떤 옵션 파일에서도 기본 옵션을 읽지 않습니다.
| Property | Value |
|---|---|
| Command-Line Format | --print-defaults |
프로그램 인자 리스트를 출력하고 종료합니다.
| Property | Value |
|---|---|
| Command-Line Format | --usage |
도움말 텍스트를 표시하고 종료합니다; --help과 동일합니다.
| Property | Value |
|---|---|
| Command-Line Format | --version |
버전 정보를 표시하고 종료합니다.
25.5.10 ndb_drop_index — Drop Index from an NDB Table
25.5.12 ndb_error_reporter — NDB Error-Reporting Utility