Loading...
MySQL 9.5 Reference Manual 9.5의 25.5.2 ndbinfo_select_all — Select From ndbinfo Tables의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
ndbinfo_select_all은(는) ndbinfo 데이터베이스에 있는 하나 이상의 테이블에서 모든 로우와 컬럼을 조회하는 클라이언트 프로그램입니다.
mysql 클라이언트에서 사용 가능한 모든 ndbinfo 테이블을 이 프로그램으로 읽을 수 있는 것은 아닙니다(이 절의 뒷부분 참조). 또한 ndbinfo_select_all은 SQL을 사용하여 접근할 수 없는, ndbinfo 내부의 일부 테이블에 대한 정보도 화면에 표시할 수 있는데, 여기에는 tables 및 columns 메타데이터 테이블이 포함됩니다.
ndbinfo_select_all을 사용하여 하나 이상의 ndbinfo 테이블에서 조회하려면, 다음과 같이 프로그램을 실행할 때 테이블 이름을 함께 제공해야 합니다:
1$> ndbinfo_select_all table_name1 [table_name2] [...]
예를 들면 다음과 같습니다:
1$> ndbinfo_select_all logbuffers logspaces 2== logbuffers == 3node_id log_type log_id log_part total used high 45 0 0 0 33554432 262144 0 56 0 0 0 33554432 262144 0 67 0 0 0 33554432 262144 0 78 0 0 0 33554432 262144 0 8== logspaces == 9node_id log_type log_id log_part total used high 105 0 0 0 268435456 0 0 115 0 0 1 268435456 0 0 125 0 0 2 268435456 0 0 135 0 0 3 268435456 0 0 146 0 0 0 268435456 0 0 156 0 0 1 268435456 0 0 166 0 0 2 268435456 0 0 176 0 0 3 268435456 0 0 187 0 0 0 268435456 0 0 197 0 0 1 268435456 0 0 207 0 0 2 268435456 0 0 217 0 0 3 268435456 0 0 228 0 0 0 268435456 0 0 238 0 0 1 268435456 0 0 248 0 0 2 268435456 0 0 258 0 0 3 268435456 0 0 26$>
ndbinfo_select_all과 함께 사용할 수 있는 옵션은 다음 테이블에 나와 있습니다. 추가 설명은 테이블 뒤에 이어집니다.
| Property | Value |
|---|---|
| Command-Line Format | --character-sets-dir=path |
캐릭터 세트가 들어 있는 디렉터리입니다.
| Property | Value |
|---|---|
| Command-Line Format | --core-file |
에러 발생 시 코어 파일을 작성합니다. 디버깅에 사용됩니다.
| 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 |
매니지먼트 서버에 접속을 시도하는 각 시도 사이에 대기할 시간(초)입니다.
| Property | Value |
|---|---|
| Command-Line Format | --connect-string=connection-string |
| Type | String |
| Default Value | [none] |
--ndb-connectstring과 동일합니다.
| 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 | --delay=# |
| Type | Numeric |
| Default Value | 5 |
| Minimum Value | 0 |
| Maximum Value | MAX_INT |
이 옵션은 각 루프를 실행하는 사이에 대기할 시간(초)을 설정합니다. --loops가 0 또는 1로 설정된 경우에는 효과가 없습니다.
| 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 |
로그인 경로 파일에서 옵션을 읽는 것을 건너뜁니다.
--loops=number, -l number| Property | Value |
|---|---|
| Command-Line Format | --loops=# |
| Type | Numeric |
| Default Value | 1 |
| Minimum Value | 0 |
| Maximum Value | MAX_INT |
이 옵션은 조회를 실행할 횟수를 설정합니다. 각 루프 사이의 시간을 설정하려면 --delay를 사용합니다.
| Property | Value |
|---|---|
| Command-Line Format | --ndb-connectstring=connection-string |
| Type | String |
| Default Value | [none] |
ndb_mgmd에 연결하기 위한 커넥션 문자열을 설정합니다. Syntax: [nodeid=id;][host=]hostname[:port]. NDB_CONNECTSTRING 및 my.cnf에 있는 항목을 오버라이드합니다.
| 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 | --no-defaults |
로그인 파일 이외의 어떤 옵션 파일에서도 기본 옵션을 읽지 않습니다.
| Property | Value |
|---|---|
| Command-Line Format | --print-defaults |
프로그램 인자 리스트를 출력하고 종료합니다.
| Property | Value |
|---|---|
| Command-Line Format | --usage |
헬프 텍스트를 표시하고 종료합니다. --help와 동일합니다.
| Property | Value |
|---|---|
| Command-Line Format | --version |
버전 정보를 표시하고 종료합니다.
ndbinfo_select_all은(는) 다음 테이블들을 읽을 수 없습니다:
25.5.1 ndbd — The NDB Cluster Data Node Daemon
25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)