Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROJ-2763 Replication Item ADD/DROP 구조 리팩토링 매뉴얼 수정 #547

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
99d6fe0
Update General Reference
Soyoon-Choi May 21, 2024
34065b5
Revert "Update General Reference"
Soyoon-Choi May 23, 2024
434b42d
Update General Reference
Soyoon-Choi Jun 3, 2024
cf3455d
Update Replication Manual.md
Soyoon-Choi Jun 3, 2024
66692a4
Update Replication Manual.md
Soyoon-Choi Jun 3, 2024
b2070ea
Update Replication Manual.md
Soyoon-Choi Jun 4, 2024
9f2703a
Update Replication Manual.md
Soyoon-Choi Jun 4, 2024
a67047d
Update Replication Manual.md
Soyoon-Choi Jun 4, 2024
8df2c9f
Update Replication Manual.md
Soyoon-Choi Aug 13, 2024
090f9db
Merge branch 'master' into BUG-50898
Soyoon-Choi Aug 13, 2024
12ab079
Update Replication Manual.md
Soyoon-Choi Aug 13, 2024
ef2d655
Update Replication Manual.md
Soyoon-Choi Aug 14, 2024
bacf04f
Update Replication Manual.md
Soyoon-Choi Aug 14, 2024
0c25589
BUG-50898 Update Replication Manual
Soyoon-Choi Aug 18, 2024
dd2f622
Update Replication Manual.md
Soyoon-Choi Oct 10, 2024
650b52f
Update Replication Manual.md
Soyoon-Choi Oct 17, 2024
ff67a0f
Update Replication Manual.md
Soyoon-Choi Oct 22, 2024
ccb544a
Update Replication Manual.md
Soyoon-Choi Oct 24, 2024
976ca26
Update Replication Manual.md
Soyoon-Choi Oct 24, 2024
dd0e7dc
Update Replication Manual.md
Soyoon-Choi Nov 11, 2024
8a0ba39
Update Replication Manual.md
Soyoon-Choi Nov 11, 2024
53ce6db
Update Replication Manual.md
Soyoon-Choi Nov 27, 2024
1ec075d
Update Replication Manual.md
Soyoon-Choi Nov 27, 2024
3f5a83a
Update Replication Manual.md
Soyoon-Choi Nov 28, 2024
c650dda
Update Replication Manual.md
Soyoon-Choi Dec 3, 2024
5f91e9b
BUG-50898 Update Replication Manual.md
eheejung Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ Homepage : <a href='http://www.altibase.com'>http://www.altibase.
- [SYS_REPL_OLD_INDEX_COLUMNS\_](#sys_repl_old_index_columns_)
- [SYS_REPL_OLD_INDICES\_](#sys_repl_old_indices_)
- [SYS_REPL_OLD_ITEMS\_](#sys_repl_old_items_)
- [SYS_REPL_TABLE_OID_IN_USE_](#sys_repl_table_oid_in_use_)
- [SYS_REPL_RECOVERY_INFOS\_](#sys_repl_recovery_infos_)
- [SYS_SECURITY\_](#sys_security_)
- [SYS_SYNONYMS\_](#sys_synonyms_)
Expand Down Expand Up @@ -491,7 +490,6 @@ This table shows the list of meta tables. Their names start with SYS_.
| SYS_REPL_OLD_INDEX_COLUMNS\_ | This table contains information about index columns replicated by the replication sender thread. |
| SYS_REPL_OLD_INDICES\_ | This table contains information about indexes replicated by the replication sender thread. |
| SYS_REPL_OLD_ITEMS\_ | This table contains information about the tables replicated by the replication sender thread. |
| SYS_REPL_TABLE_OID_IN_USE_ | This table contains information about TABLE OID of tables included in DDL log but not yet replicated. |
| SYS_REPL_RECOVERY_INFOS\_ | This table contains information about logs used by replication for recovery of a remote server. |
| SYS_SECURITY\_ | This table contains information about the state of the security module. |
| SYS_SYNONYMS\_ | This table contains information about synonyms. |
Expand Down Expand Up @@ -3276,30 +3274,6 @@ SYS_REPL_OLD_INDICES_
SYS_REPL_OLD_INDEX_COLUMNS_
```

### SYS_REPL_TABLE_OID_IN_USE_

This meta table is for managing information about TABLE OID of tables included in DDL log but not yet replicated.

| Column name | Type | Description |
| ---------------- | ------------ | ------------------------------------------------- |
| REPLICATION_NAME | VARCHAR(40) | The name of the replication object |
| OLD_TABLE_OID | BIGINTBIGINT | The old object identifier of the table before DDL |
| TABLE_OID | BIGINTBIGINT | The current object identifier of the table |

#### Column Information

##### REPLICATION_NAME

This is the replication name, which is specified by the user. It corresponds to a REPLICATION_NAME in the SYS_REPLICATIONS_ meta table.

##### OLD_TABLE_OID

This is the old object identifier of the table that is included in DDL log not yet replicated.

##### TABLE_OID

This is the current object identifier of the table that is included in DDL log not yet replicated. It corresponds to a TABLE_OID in the SYS_REPL_ITEMS_ meta table.

### SYS_REPL_RECOVERY_INFOS\_

This is the meta table in which log information is written for use in recovery of the remote server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3656,8 +3656,8 @@ Altibase 서버의 환경 설정에 관한 프로퍼티 파일은 ALTIBASE_HOME
<td>SYSTEM</td>
</tr>
<tr>
<td rowspan="57">R</td>
<td rowspan="57">&nbsp;</td>
<td rowspan="56">R</td>
<td rowspan="56">&nbsp;</td>
<td>REPLICATION_ACK_XLOG_COUNT</td>
<td>&nbsp;</td>
</tr>
Expand Down Expand Up @@ -3770,10 +3770,6 @@ Altibase 서버의 환경 설정에 관한 프로퍼티 파일은 ALTIBASE_HOME
<td>SYSTEM</td>
</tr>
<tr>
<td>REPLICATION_META_ITEM_COUNT_DIFF_ENABLE</td>
<td>SYSTEM</td>
</tr>
<tr>
<td>REPLICATION_POOL_ELEMENT_COUNT</td>
<td>SYSTEM</td>
</tr>
Expand Down Expand Up @@ -12284,30 +12280,6 @@ Unsigned Integer

Altibase 운영 중 ALTER SYSTEM 문을 이용하여 이 프로퍼티의 값을 변경할 수 있다.

#### REPLICATION_META_ITEM_COUNT_DIFF_ENABLE

##### 데이터 타입

Unsigned Integer

##### 기본값

0

##### 속성

변경 가능, 단일 값

##### 값의 범위

[0, 1]

##### 설명

Lazy 모드로 이중화 수행 과정에서 SPLIT PARTITION과 MERGE PARTITION, DROP PARTITION을 수행하여 Active 서버와 Standby 서버의 이중화 테이블 파티션 메타 아이템 개수가 다른 경우에 이중화를 START 할 수 있는 프로퍼티이다. 이 값을 1로 설정하면 이중화 테이블 파티션 메타 아이템 개수가 다른 경우에도 이중화를 START 할 수 있다.

Altibase 운영 중 ALTER SYSTEM 문을 이용하여 이 프로퍼티의 값을 변경할 수 있다.

### 네트워크 관련 프로퍼티

#### IB_CONCHKSPIN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ Copyright ⓒ 2001~2023 Altibase Corp. All Rights Reserved.<br>
- [SYS_REPL_OLD_INDEX_COLUMNS\_](#sys_repl_old_index_columns_)
- [SYS_REPL_OLD_INDICES\_](#sys_repl_old_indices_)
- [SYS_REPL_OLD_ITEMS\_](#sys_repl_old_items_)
- [SYS_REPL_TABLE_OID_IN_USE\_](#sys_repl_table_oid_in_use_)
- [SYS_REPL_RECOVERY_INFOS\_](#sys_repl_recovery_infos_)
- [SYS_SECURITY\_](#sys_security_)
- [SYS_SYNONYMS\_](#sys_synonyms_)
Expand Down Expand Up @@ -521,7 +520,6 @@ Altibase 하위 버전에서 상위 버전으로 업그레이드 시 이를 고
| SYS_REPL_OLD_INDEX_COLUMNS_ | 이중화 송신 쓰레드가 이중화하는 인덱스 칼럼에 대한 정보를 저장하는 메타 테이블 |
| SYS_REPL_OLD_INDICES_ | 이중화 송신 쓰레드가 이중화하는 인덱스에 대한 정보를 저장하는 메타 테이블 |
| SYS_REPL_OLD_ITEMS_ | 이중화 송신 쓰레드가 이중화하는 테이블에 대한 정보를 저장하는 메타 테이블 |
| SYS_REPL_TABLE_OID_IN_USE_ | 이중화가 아직 처리하지 않은 DDL 로그에 포함된 테이블의 테이블 객체 식별자(TABLE OID) 정보를 관리하는 메타 테이블 |
| SYS_REPL_RECOVERY_INFOS_ | 원격 서버의 복구를 위한 로그 정보를 저장하는 메타 테이블 |
| SYS_SECURITY_ | 보안 모듈에 대한 정보를 저장하는 메타 테이블 |
| SYS_SYNONYMS_ | 시노님에 대한 정보를 저장하는 메타 테이블 |
Expand Down Expand Up @@ -3453,30 +3451,6 @@ SYS_REPL_OLD_INDEX_COLUMNS_
V$TABLESPACES
```

### SYS_REPL_TABLE_OID_IN_USE\_

이중화가 아직 처리하지 않은 DDL 로그에 포함된 테이블의 테이블 객체 식별자(TABLE OID) 정보를 관리하는 메타 테이블이다.

| Column name | Type | Description |
| ---------------- | ------------ | ------------------------------ |
| REPLICATION_NAME | VARCHAR(40) | 이중화 이름 |
| OLD_TABLE_OID | BIGINTBIGINT | DDL 수행 전 테이블 객체 식별자 |
| TABLE_OID | BIGINTBIGINT | 현재 테이블 객체 식별자 |

#### 칼럼 정보

##### REPLICATION_NAME

사용자가 명시한 이중화 이름으로 SYS_REPLICATIONS_ 메타 테이블에서도 확인할 수 있다.

##### OLD_TABLE_OID

이중화가 아직 처리하지 않은 DDL 로그에 포함된 테이블의 이전 테이블 객체 식별자이다.

##### TABLE_OID

이중화가 아직 처리하지 않은 DDL 로그에 포함된 테이블의 현재 테이블 객체 식별자이다. 이 값은 SYS_REPL_ITEMS_ 메타 테이블의 한 TABLE_OID 값과 동일하다.

### SYS_REPL_RECOVERY_INFOS\_

원격 서버의 복구에 사용하기 위해 로그 정보를 기록하는 메타 테이블이다.
Expand Down
Loading