Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

Alter Persistent Cache Statement

목적

인메모리 캐시는 세션 기간 동안만 유효하며, Invantive UniversalSQL은 이 외에도 SQL Server나 PostgreSQL 같은 온프레미스 또는 클라우드 관계형 데이터베이스를 사용해 데이터를 영구적으로 저장하는 통합 캐시를 제공합니다. 설정되면 Invantive UniversalSQL은 먼저 캐시에서 충분히 최신인 데이터를 찾으려고 시도합니다. 이를 통해 일부 클라우드 플랫폼처럼 느린 데이터 컨테이너에서 데이터를 불러오는 횟수가 줄어듭니다. 행을 캐시에서 전부 가져올 수 있을 때 일반적인 성능 향상은 25배에서 2.500배 사이입니다.

Invantive UniversalSQL은 데이터 캐시로 사용되는 관계형 데이터베이스의 테이블 구조와 테이블 내용을 직접 관리합니다. 처음 사용할 때는 빈 데이터베이스만 준비하면 됩니다. 지원되는 플랫폼은 SQL Server, Oracle, PostgreSQL, MySQL입니다. Invantive UniversalSQL은 십여 개의 테이블로 구성된 저장소를 설치합니다. 저장소 테이블의 이름은 'dc_'로 시작합니다. 대부분의 저장소 테이블에는 끝의 'r'을 제외하고 이름이 동일한 View가 함께 있습니다. 저장소 View는 데이터를 저장하는 데이터베이스 내에서 분석을 쉽게 하기 위해 모든 마스터 테이블을 결합합니다.

테이블 파티션 버전마다 이른바 'facts table'(팩트 테이블)이 생성됩니다. 팩트 테이블에는 데이터 컨테이너에서 가져온 행의 전체 사본이 들어 있습니다. 팩트 테이블의 이름은 'dcd_'로 시작하며, 뒤에 테이블 파티션 버전을 나타내는 고유 해시가 붙습니다. 필요한 경우 성능 향상을 위해 인덱스 같은 추가 데이터베이스 객체가 유지 관리됩니다. 팩트 테이블 이름과 마찬가지로 모든 열 이름도 원래 열 이름을 포함한 알고리즘에 따라 해시됩니다. 이 팩트 테이블은 네이티브 SQL로 직접 사용하기 위한 것이 아닙니다.

각 팩트 테이블은 다음 상태 중 하나의 고유한 상태를 가지며, 'Ready' 상태는 현재 버전을 나타냅니다:

  • Initialising ('I'): 팩트 테이블이 생성될 예정입니다.
  • View creation ('V'): 논리 View가 생성될 예정입니다.
  • Prepared ('P'): 팩트 테이블은 생성되었지만 아직 행이 없습니다.
  • Seeding ('S'): 팩트 테이블에 이전 현재 버전의 내용을 채우는 중입니다.
  • Loading ('L'): water shed 또는 다른 알고리즘을 사용해 데이터 컨테이너에서 새 팩트를 불러오는 중입니다.
  • Ready ('R'): 팩트 테이블을 사용할 수 있으며 현재 사용해야 할 테이블입니다.
  • Obsoleted ('O'): 팩트 테이블은 여전히 존재하지만 데이터의 보존 기간이 지났습니다. 대개 더 새로운 버전이 현재 버전이 되어 있습니다.
  • Dropped ('D'): 팩트 테이블은 더 이상 존재하지 않지만 메타데이터는 저장소 테이블에 여전히 남아 있습니다.

데이터베이스의 영구 캐시는 Invantive Data Replicator로 확장하면 네이티브 SQL로 사용할 수 있습니다. Invantive Data Replicator는 테이블 파티션의 현재 버전에 대한 데이터베이스 View('partition view'(파티션 View)라고도 함)를 생성하고 유지 관리합니다. 마찬가지로 각 파티션의 현재 버전에 걸쳐 모든 파티션의 행을 보여주는 'overall view'(전체 View)를 생성할 수도 있습니다. Invantive Data Replicator는 적은 노력으로 고성능 대용량 Operational Data Store를 제공합니다.

전체 View는 일반적으로 여러 회사나 사람의 데이터를 통합하는 목적으로 사용됩니다.

구문

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> | | alterPersistentCacheSetStatement
    alterPersistentCacheSetStatement --> End((END))
    Start((START)) -->| | alterPersistentCacheDownloadStatement
    alterPersistentCacheDownloadStatement --> End((END))
    Start((START)) -->| | alterPersistentCachePurgeStatement
    alterPersistentCachePurgeStatement --> End((END))
    Start((START)) -->| | alterPersistentCacheRefreshStatement
    alterPersistentCacheRefreshStatement --> End((END))
    Start((START)) -->| | alterPersistentCacheLoadStatement
    alterPersistentCacheLoadStatement --> End((END))
    Start((START)) -->| | alterPersistentCacheTableRefreshStatement
    alterPersistentCacheTableRefreshStatement --> End((END))
    Start((START)) -->| | alterPersistentCachePartitionRefreshStatement
    alterPersistentCachePartitionRefreshStatement --> End((END))
    Start((START)) -->| | alterPersistentCacheDropStatement
    alterPersistentCacheDropStatement --> End((END))
    Start((START)) -->| | alterPersistentCacheConfigureWebhooksStatement
    alterPersistentCacheConfigureWebhooksStatement --> End((END))

목적

purge 문은 기존 테이블 파티션 버전을 유지 관리합니다. purge 문은 여러 방식으로 테이블 파티션 버전을 정리할 수 있습니다:

  • ready: 'Ready' 상태의 테이블 파티션 버전을 선택합니다. 테이블 파티션 버전은 'Obsolete' 상태로 전환됩니다. 팩트는 삭제되지 않습니다.
  • obsolete: 'Obsolete' 상태의 테이블 파티션 버전을 선택합니다. 이들의 팩트는 삭제됩니다. 테이블 파티션 버전은 'Dropped' 상태로 전환됩니다. 삭제된 팩트는 'Ready' 상태일 때 시작된 쿼리에서 사용되고 있을 수 있습니다. 데이터베이스 플랫폼이 이미 삭제된 행의 데이터 읽기를 지원하는 경우(예: Oracle) 팩트를 안전하게 삭제할 수 있습니다. 데이터 삭제는 새로 고침 전에 이미 실행되었으므로, 오래된 팩트의 purge는 새로 고침 실행 시간을 줄이기 위해 새로 고침과 별도의 백그라운드 작업으로 자주 사용됩니다.
  • droppable: 'Dropped' 상태의 테이블 파티션 버전을 선택합니다. Dropped 상태에도 불구하고 팩트가 여전히 존재하는 경우 해당 팩트는 삭제됩니다. Dropped 상태는 팩트가 이미 삭제되었음을 나타내므로 이 기능은 예외적인 상황에서만 유용합니다. 테이블 파티션 버전은 'Dropped' 상태로 남아 있습니다.
  • unknown: 'dcd...' 또는 'dcs...' 명명 규칙에 맞는 테이블을 데이터베이스에서 조회합니다. 저장소에 등록되지 않은 테이블은 모두 데이터베이스에서 삭제됩니다. 이는 저장소가 실수로 삭제되었거나 잘못 변경된 경우처럼 예외적인 상황에서만 유용합니다.
  • all: 먼저 'unknown' 변형을 수행한 다음 'droppable' 변형을 수행합니다. 이는 예외적인 상황에서만 유용합니다.

데이터 컨테이너를 지정하면 테이블 파티션 버전의 범위가 나열된 데이터 컨테이너로 제한됩니다.

PSQL 패키지

Invantive PSQL에는 미리 정의된 여러 패키지가 포함되어 있습니다. 이들은 SystemPackages@DataDictionary 및 SystemPackageFunctions@DataDictionary를 사용하여 조회할 수 있습니다.

alterPersistentCachePurgeStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCachePurgeStatement_start((START))
    alterPersistentCachePurgeStatement_start --> alterPersistentCachePurgeStatement_0_0[ALTER]:::quoted
    alterPersistentCachePurgeStatement_0_0 --> alterPersistentCachePurgeStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCachePurgeStatement_0_1 --> alterPersistentCachePurgeStatement_0_2[CACHE]:::quoted
    alterPersistentCachePurgeStatement_0_2 --> alterPersistentCachePurgeStatement_0_3[PURGE]:::quoted
    alterPersistentCachePurgeStatement_0_3 --> alterPersistentCachePurgeStatement_0_4[UNKNOWN]:::quoted
    alterPersistentCachePurgeStatement_0_4 --> alterPersistentCachePurgeStatement_0_5[DROPPABLE]:::quoted
    alterPersistentCachePurgeStatement_0_5 --> alterPersistentCachePurgeStatement_0_6[OBSOLETE]:::quoted
    alterPersistentCachePurgeStatement_0_6 --> alterPersistentCachePurgeStatement_0_7[READY]:::quoted
    alterPersistentCachePurgeStatement_0_7 --> alterPersistentCachePurgeStatement_0_8[ALL]:::quoted
    alterPersistentCachePurgeStatement_0_8 --> alterPersistentCachePurgeStatement_0_9[TABLE]:::quoted
    alterPersistentCachePurgeStatement_0_9 --> alterPersistentCachePurgeStatement_0_10[PARTITION]:::quoted
    alterPersistentCachePurgeStatement_0_10 --> alterPersistentCachePurgeStatement_0_11[VERSIONS]:::quoted
    alterPersistentCachePurgeStatement_0_11 --> alterPersistentCachePurgeStatement_0_12[DATACONTAINER]:::quoted
    alterPersistentCachePurgeStatement_0_12 --> alterPersistentCachePurgeStatement_0_13[stringConstant]
    alterPersistentCachePurgeStatement_0_13 --> alterPersistentCachePurgeStatement_end((END))

alterPersistentCacheDownloadStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheDownloadStatement_start((START))
    alterPersistentCacheDownloadStatement_start --> alterPersistentCacheDownloadStatement_0_0[ALTER]:::quoted
    alterPersistentCacheDownloadStatement_0_0 --> alterPersistentCacheDownloadStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheDownloadStatement_0_1 --> alterPersistentCacheDownloadStatement_0_2[CACHE]:::quoted
    alterPersistentCacheDownloadStatement_0_2 --> alterPersistentCacheDownloadStatement_0_3[DOWNLOAD]:::quoted
    alterPersistentCacheDownloadStatement_0_3 --> alterPersistentCacheDownloadStatement_0_4[FEED]:::quoted
    alterPersistentCacheDownloadStatement_0_4 --> alterPersistentCacheDownloadStatement_0_5[LICENSE]:::quoted
    alterPersistentCacheDownloadStatement_0_5 --> alterPersistentCacheDownloadStatement_0_6[CONTRACT]:::quoted
    alterPersistentCacheDownloadStatement_0_6 --> alterPersistentCacheDownloadStatement_0_7[CODE]:::quoted
    alterPersistentCacheDownloadStatement_0_7 --> alterPersistentCacheDownloadStatement_0_8[stringConstant]
    alterPersistentCacheDownloadStatement_0_8 --> alterPersistentCacheDownloadStatement_0_9[TOKEN]:::quoted
    alterPersistentCacheDownloadStatement_0_9 --> alterPersistentCacheDownloadStatement_0_10[stringConstant]
    alterPersistentCacheDownloadStatement_0_10 --> alterPersistentCacheDownloadStatement_0_11[DATACONTAINER]:::quoted
    alterPersistentCacheDownloadStatement_0_11 --> alterPersistentCacheDownloadStatement_0_12[stringConstant]
    alterPersistentCacheDownloadStatement_0_12 --> alterPersistentCacheDownloadStatement_0_13[PARTITION]:::quoted
    alterPersistentCacheDownloadStatement_0_13 --> alterPersistentCacheDownloadStatement_0_14[partitionSimpleIdentifier]
    alterPersistentCacheDownloadStatement_0_14 --> alterPersistentCacheDownloadStatement_0_15[LIMIT]:::quoted
    alterPersistentCacheDownloadStatement_0_15 --> alterPersistentCacheDownloadStatement_0_16[numericConstant]
    alterPersistentCacheDownloadStatement_0_16 --> alterPersistentCacheDownloadStatement_0_17[NO]:::quoted
    alterPersistentCacheDownloadStatement_0_17 --> alterPersistentCacheDownloadStatement_0_18[DELETE]:::quoted
    alterPersistentCacheDownloadStatement_0_18 --> alterPersistentCacheDownloadStatement_end((END))

alterPersistentCacheConfigureWebhooksStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheConfigureWebhooksStatement_start((START))
    alterPersistentCacheConfigureWebhooksStatement_start --> alterPersistentCacheConfigureWebhooksStatement_0_0[ALTER]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_0 --> alterPersistentCacheConfigureWebhooksStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_1 --> alterPersistentCacheConfigureWebhooksStatement_0_2[CACHE]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_2 --> alterPersistentCacheConfigureWebhooksStatement_0_3[ENABLE]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_3 --> alterPersistentCacheConfigureWebhooksStatement_0_4[DISABLE]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_4 --> alterPersistentCacheConfigureWebhooksStatement_0_5[WEBHOOKS]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_5 --> alterPersistentCacheConfigureWebhooksStatement_0_6[LICENSE]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_6 --> alterPersistentCacheConfigureWebhooksStatement_0_7[CONTRACT]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_7 --> alterPersistentCacheConfigureWebhooksStatement_0_8[CODE]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_8 --> alterPersistentCacheConfigureWebhooksStatement_0_9[stringConstant]
    alterPersistentCacheConfigureWebhooksStatement_0_9 --> alterPersistentCacheConfigureWebhooksStatement_0_10[TABLE]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_10 --> alterPersistentCacheConfigureWebhooksStatement_0_11[tableSpec]
    alterPersistentCacheConfigureWebhooksStatement_0_11 --> alterPersistentCacheConfigureWebhooksStatement_0_12[PARTITION]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_12 --> alterPersistentCacheConfigureWebhooksStatement_0_13[partitionSimpleIdentifier]
    alterPersistentCacheConfigureWebhooksStatement_0_13 --> alterPersistentCacheConfigureWebhooksStatement_0_14[DATACONTAINER]:::quoted
    alterPersistentCacheConfigureWebhooksStatement_0_14 --> alterPersistentCacheConfigureWebhooksStatement_0_15[stringConstant]
    alterPersistentCacheConfigureWebhooksStatement_0_15 --> alterPersistentCacheConfigureWebhooksStatement_end((END))

목적

트리클 로딩은 복제 데이터를 효율적이고 빠르게 업데이트하기 위한 고급 전략입니다. 이를 위해서는 복제 데이터에 대한 모든 변경 사항(삽입, 업데이트, 삭제)이 이벤트 메시지로 등록되어야 하며, 경우에 따라 지연될 수도 있습니다.

선택된 플랫폼에서는 웹훅을 사용하여 변경 사항 등록을 활성화할 수 있습니다. 웹훅 구성은 이 문을 사용하여 수행할 수 있습니다. 지정하지 않으면 현재 구독의 라이선스 계약 코드가 사용됩니다.

alterPersistentCacheRefreshStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheRefreshStatement_start((START))
    alterPersistentCacheRefreshStatement_start --> alterPersistentCacheRefreshStatement_0_0[ALTER]:::quoted
    alterPersistentCacheRefreshStatement_0_0 --> alterPersistentCacheRefreshStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheRefreshStatement_0_1 --> alterPersistentCacheRefreshStatement_0_2[CACHE]:::quoted
    alterPersistentCacheRefreshStatement_0_2 --> alterPersistentCacheRefreshStatement_0_3[FORCE]:::quoted
    alterPersistentCacheRefreshStatement_0_3 --> alterPersistentCacheRefreshStatement_0_4[REFRESH]:::quoted
    alterPersistentCacheRefreshStatement_0_4 --> alterPersistentCacheRefreshStatement_0_5[DATACONTAINER]:::quoted
    alterPersistentCacheRefreshStatement_0_5 --> alterPersistentCacheRefreshStatement_0_6[dataContainerAlias]
    alterPersistentCacheRefreshStatement_0_6 --> alterPersistentCacheRefreshStatement_0_7[PARALLEL]:::quoted
    alterPersistentCacheRefreshStatement_0_7 --> alterPersistentCacheRefreshStatement_0_8[numericConstant]
    alterPersistentCacheRefreshStatement_0_8 --> alterPersistentCacheRefreshStatement_0_9[APPROACH]:::quoted
    alterPersistentCacheRefreshStatement_0_9 --> alterPersistentCacheRefreshStatement_0_10[COPY]:::quoted
    alterPersistentCacheRefreshStatement_0_10 --> alterPersistentCacheRefreshStatement_0_11[TRICKLE]:::quoted
    alterPersistentCacheRefreshStatement_0_11 --> alterPersistentCacheRefreshStatement_0_12[SAMPLE]:::quoted
    alterPersistentCacheRefreshStatement_0_12 --> alterPersistentCacheRefreshStatement_0_13[DEFAULT]:::quoted
    alterPersistentCacheRefreshStatement_0_13 --> alterPersistentCacheRefreshStatement_0_14[WHEN]:::quoted
    alterPersistentCacheRefreshStatement_0_14 --> alterPersistentCacheRefreshStatement_0_15[OBSOLETE]:::quoted
    alterPersistentCacheRefreshStatement_0_15 --> alterPersistentCacheRefreshStatement_0_16[WITHIN]:::quoted
    alterPersistentCacheRefreshStatement_0_16 --> alterPersistentCacheRefreshStatement_0_17[intervalConstant]
    alterPersistentCacheRefreshStatement_0_17 --> alterPersistentCacheRefreshStatement_end((END))

목적

이 문은 연결된 모든 데이터 컨테이너 별칭 또는 특정 데이터 컨테이너 별칭의 복제 데이터 새로 고침을 트리거합니다. 특정 기간의 복제 데이터 사용을 지정하는 SQL 문을 실행하여 복제 데이터 새로 고침을 트리거할 수도 있습니다.

기본 모드('force' 없음)에서는 복제 데이터의 기간이 구성된 최대 기간을 초과하는 경우에만 지정된 데이터에 대해 새로 고침이 실행됩니다. 'when obsolete within' 절을 사용하여 구성된 최대 기간에 대한 오프셋을 지정할 수 있습니다. 강제 새로 고침의 경우 복제 데이터는 항상 원본 데이터의 최신 버전으로 대체됩니다.

복제 데이터를 복제하는 병렬 프로세스의 최대 수는 'parallel' 절을 사용하여 구성할 수 있으며, 처리량을 높이고 복제 프로세스의 실행 시간을 줄일 수 있습니다.

기본적으로 각 테이블 파티션에 구성된 방식이 복제본을 업데이트하는 데 사용됩니다. 하지만 다른 방식을 지정할 수도 있습니다. 이는 일반적으로 테이블 파티션을 트리클 로딩으로 전환한 후, 복사 방식으로 일회성 복제 프로세스를 실행하여 변경 사항이 누락되지 않았는지 효과적으로 확인할 때 수행합니다.

alterPersistentCacheLoadStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    alterPersistentCacheLoadStatement_start((START))
    alterPersistentCacheLoadStatement_start --> alterPersistentCacheLoadStatement_0_0[ALTER]:::quoted
    alterPersistentCacheLoadStatement_0_0 --> alterPersistentCacheLoadStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheLoadStatement_0_1 --> alterPersistentCacheLoadStatement_0_2[CACHE]:::quoted
    alterPersistentCacheLoadStatement_0_2 --> alterPersistentCacheLoadStatement_0_3[LOAD]:::quoted
    alterPersistentCacheLoadStatement_0_3 --> alterPersistentCacheLoadStatement_end((END))

목적

캐시에 있는 연결된 모든 데이터 컨테이너의 사용 가능한 모든 테이블을 로드합니다. 일반적으로 데모용으로 사용됩니다.

alterPersistentCacheTableRefreshStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheTableRefreshStatement_start((START))
    alterPersistentCacheTableRefreshStatement_start --> alterPersistentCacheTableRefreshStatement_0_0[ALTER]:::quoted
    alterPersistentCacheTableRefreshStatement_0_0 --> alterPersistentCacheTableRefreshStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheTableRefreshStatement_0_1 --> alterPersistentCacheTableRefreshStatement_0_2[CACHE]:::quoted
    alterPersistentCacheTableRefreshStatement_0_2 --> alterPersistentCacheTableRefreshStatement_0_3[TABLE]:::quoted
    alterPersistentCacheTableRefreshStatement_0_3 --> alterPersistentCacheTableRefreshStatement_0_4[tableSpec]
    alterPersistentCacheTableRefreshStatement_0_4 --> alterPersistentCacheTableRefreshStatement_0_5[FORCE]:::quoted
    alterPersistentCacheTableRefreshStatement_0_5 --> alterPersistentCacheTableRefreshStatement_0_6[REFRESH]:::quoted
    alterPersistentCacheTableRefreshStatement_0_6 --> alterPersistentCacheTableRefreshStatement_0_7[PARTITION]:::quoted
    alterPersistentCacheTableRefreshStatement_0_7 --> alterPersistentCacheTableRefreshStatement_0_8[partitionIdentifierWithAlias]
    alterPersistentCacheTableRefreshStatement_0_8 --> alterPersistentCacheTableRefreshStatement_0_9[PARALLEL]:::quoted
    alterPersistentCacheTableRefreshStatement_0_9 --> alterPersistentCacheTableRefreshStatement_0_10[numericConstant]
    alterPersistentCacheTableRefreshStatement_0_10 --> alterPersistentCacheTableRefreshStatement_0_11[APPROACH]:::quoted
    alterPersistentCacheTableRefreshStatement_0_11 --> alterPersistentCacheTableRefreshStatement_0_12[COPY]:::quoted
    alterPersistentCacheTableRefreshStatement_0_12 --> alterPersistentCacheTableRefreshStatement_0_13[TRICKLE]:::quoted
    alterPersistentCacheTableRefreshStatement_0_13 --> alterPersistentCacheTableRefreshStatement_0_14[SAMPLE]:::quoted
    alterPersistentCacheTableRefreshStatement_0_14 --> alterPersistentCacheTableRefreshStatement_0_15[DEFAULT]:::quoted
    alterPersistentCacheTableRefreshStatement_0_15 --> alterPersistentCacheTableRefreshStatement_0_16[WHEN]:::quoted
    alterPersistentCacheTableRefreshStatement_0_16 --> alterPersistentCacheTableRefreshStatement_0_17[OBSOLETE]:::quoted
    alterPersistentCacheTableRefreshStatement_0_17 --> alterPersistentCacheTableRefreshStatement_0_18[WITHIN]:::quoted
    alterPersistentCacheTableRefreshStatement_0_18 --> alterPersistentCacheTableRefreshStatement_0_19[intervalConstant]
    alterPersistentCacheTableRefreshStatement_0_19 --> alterPersistentCacheTableRefreshStatement_end((END))

목적

지정된 테이블의 모든 데이터를 새로 고칩니다. 옵션에 대한 설명은 alterPersistentCacheRefreshStatement을 참조하십시오.

alterPersistentCachePartitionRefreshStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCachePartitionRefreshStatement_start((START))
    alterPersistentCachePartitionRefreshStatement_start --> alterPersistentCachePartitionRefreshStatement_0_0[ALTER]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_0 --> alterPersistentCachePartitionRefreshStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_1 --> alterPersistentCachePartitionRefreshStatement_0_2[CACHE]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_2 --> alterPersistentCachePartitionRefreshStatement_0_3[PARTITION]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_3 --> alterPersistentCachePartitionRefreshStatement_0_4[partitionIdentifierWithAlias]
    alterPersistentCachePartitionRefreshStatement_0_4 --> alterPersistentCachePartitionRefreshStatement_0_5[FORCE]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_5 --> alterPersistentCachePartitionRefreshStatement_0_6[REFRESH]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_6 --> alterPersistentCachePartitionRefreshStatement_0_7[PARALLEL]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_7 --> alterPersistentCachePartitionRefreshStatement_0_8[numericConstant]
    alterPersistentCachePartitionRefreshStatement_0_8 --> alterPersistentCachePartitionRefreshStatement_0_9[APPROACH]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_9 --> alterPersistentCachePartitionRefreshStatement_0_10[COPY]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_10 --> alterPersistentCachePartitionRefreshStatement_0_11[TRICKLE]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_11 --> alterPersistentCachePartitionRefreshStatement_0_12[SAMPLE]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_12 --> alterPersistentCachePartitionRefreshStatement_0_13[DEFAULT]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_13 --> alterPersistentCachePartitionRefreshStatement_0_14[WHEN]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_14 --> alterPersistentCachePartitionRefreshStatement_0_15[OBSOLETE]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_15 --> alterPersistentCachePartitionRefreshStatement_0_16[WITHIN]:::quoted
    alterPersistentCachePartitionRefreshStatement_0_16 --> alterPersistentCachePartitionRefreshStatement_0_17[intervalConstant]
    alterPersistentCachePartitionRefreshStatement_0_17 --> alterPersistentCachePartitionRefreshStatement_end((END))

목적

지정된 파티션의 모든 데이터를 새로 고칩니다. 옵션에 대한 설명은 alterPersistentCacheRefreshStatement을 참조하십시오.

alterPersistentCacheDropStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheDropStatement_start((START))
    alterPersistentCacheDropStatement_start --> alterPersistentCacheDropStatement_0_0[ALTER]:::quoted
    alterPersistentCacheDropStatement_0_0 --> alterPersistentCacheDropStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheDropStatement_0_1 --> alterPersistentCacheDropStatement_0_2[CACHE]:::quoted
    alterPersistentCacheDropStatement_0_2 --> alterPersistentCacheDropStatement_0_3[DROP]:::quoted
    alterPersistentCacheDropStatement_0_3 --> alterPersistentCacheDropStatement_0_4[TABLE]:::quoted
    alterPersistentCacheDropStatement_0_4 --> alterPersistentCacheDropStatement_0_5[tableSpec]
    alterPersistentCacheDropStatement_0_5 --> alterPersistentCacheDropStatement_0_6[PARTITION]:::quoted
    alterPersistentCacheDropStatement_0_6 --> alterPersistentCacheDropStatement_0_7[partitionIdentifier]
    alterPersistentCacheDropStatement_0_7 --> alterPersistentCacheDropStatement_0_8[PARTITION]:::quoted
    alterPersistentCacheDropStatement_0_8 --> alterPersistentCacheDropStatement_0_9[partitionIdentifier]
    alterPersistentCacheDropStatement_0_9 --> alterPersistentCacheDropStatement_0_10[DATACONTAINER]:::quoted
    alterPersistentCacheDropStatement_0_10 --> alterPersistentCacheDropStatement_0_11[stringConstant]
    alterPersistentCacheDropStatement_0_11 --> alterPersistentCacheDropStatement_end((END))

목적

테이블 파티션 버전에 저장된 모든 팩트를 데이터베이스에서, 그리고 관련 메타데이터를 캐시 저장소에서 일정 범위의 테이블 파티션에 대해 삭제합니다. 테이블과 파티션은 table, partition 및/또는 data container 절을 사용하여 지정할 수 있습니다.

alterPersistentCacheSetStatement

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheSetStatement_start((START))
    alterPersistentCacheSetStatement_start --> alterPersistentCacheSetStatement_0_0[ALTER]:::quoted
    alterPersistentCacheSetStatement_0_0 --> alterPersistentCacheSetStatement_0_1[PERSISTENT]:::quoted
    alterPersistentCacheSetStatement_0_1 --> alterPersistentCacheSetStatement_0_2[CACHE]:::quoted
    alterPersistentCacheSetStatement_0_2 --> alterPersistentCacheSetStatement_0_3[SET]:::quoted
    alterPersistentCacheSetStatement_0_3 --> alterPersistentCacheSetStatement_0_4[FRESH]:::quoted
    alterPersistentCacheSetStatement_0_4 --> alterPersistentCacheSetStatement_0_5[RETENTION]:::quoted
    alterPersistentCacheSetStatement_0_5 --> alterPersistentCacheSetStatement_0_6[FORWARDED]:::quoted
    alterPersistentCacheSetStatement_0_6 --> alterPersistentCacheSetStatement_0_7[INCOMING]:::quoted
    alterPersistentCacheSetStatement_0_7 --> alterPersistentCacheSetStatement_0_8[MESSAGES]:::quoted
    alterPersistentCacheSetStatement_0_8 --> alterPersistentCacheSetStatement_0_9[METADATA]:::quoted
    alterPersistentCacheSetStatement_0_9 --> alterPersistentCacheSetStatement_0_10[RECYCLEBIN]:::quoted
    alterPersistentCacheSetStatement_0_10 --> alterPersistentCacheSetStatement_0_11[DATA]:::quoted
    alterPersistentCacheSetStatement_0_11 --> alterPersistentCacheSetStatement_0_12[MODEL]:::quoted
    alterPersistentCacheSetStatement_0_12 --> alterPersistentCacheSetStatement_0_13[VERSION]:::quoted
    alterPersistentCacheSetStatement_0_13 --> alterPersistentCacheSetStatement_0_14[numericConstant]
    alterPersistentCacheSetStatement_0_14 --> alterPersistentCacheSetStatement_0_15[TOKEN]:::quoted
    alterPersistentCacheSetStatement_0_15 --> alterPersistentCacheSetStatement_0_16[stringConstant]
    alterPersistentCacheSetStatement_0_16 --> alterPersistentCacheSetStatement_0_17[LOGICAL]:::quoted
    alterPersistentCacheSetStatement_0_17 --> alterPersistentCacheSetStatement_0_18[OVERALL]:::quoted
    alterPersistentCacheSetStatement_0_18 --> alterPersistentCacheSetStatement_0_19[PARTITION]:::quoted
    alterPersistentCacheSetStatement_0_19 --> alterPersistentCacheSetStatement_0_20[VIEW]:::quoted
    alterPersistentCacheSetStatement_0_20 --> alterPersistentCacheSetStatement_0_21[NAME]:::quoted
    alterPersistentCacheSetStatement_0_21 --> alterPersistentCacheSetStatement_0_22[PREFIX]:::quoted
    alterPersistentCacheSetStatement_0_22 --> alterPersistentCacheSetStatement_0_23[POSTFIX]:::quoted
    alterPersistentCacheSetStatement_0_23 --> alterPersistentCacheSetStatement_0_24[stringConstant]
    alterPersistentCacheSetStatement_0_24 --> alterPersistentCacheSetStatement_0_25[MAINTAIN]:::quoted
    alterPersistentCacheSetStatement_0_25 --> alterPersistentCacheSetStatement_0_26[booleanConstant]
    alterPersistentCacheSetStatement_0_26 --> alterPersistentCacheSetStatement_0_27[LOAD]:::quoted
    alterPersistentCacheSetStatement_0_27 --> alterPersistentCacheSetStatement_0_28[MY]:::quoted
    alterPersistentCacheSetStatement_0_28 --> alterPersistentCacheSetStatement_0_29[MESSAGES]:::quoted
    alterPersistentCacheSetStatement_0_29 --> alterPersistentCacheSetStatement_0_30[INDEX]:::quoted
    alterPersistentCacheSetStatement_0_30 --> alterPersistentCacheSetStatement_0_31[FACTS]:::quoted
    alterPersistentCacheSetStatement_0_31 --> alterPersistentCacheSetStatement_0_32[HISTORY]:::quoted
    alterPersistentCacheSetStatement_0_32 --> alterPersistentCacheSetStatement_0_33[TABLES]:::quoted
    alterPersistentCacheSetStatement_0_33 --> alterPersistentCacheSetStatement_0_34[booleanConstant]
    alterPersistentCacheSetStatement_0_34 --> alterPersistentCacheSetStatement_0_35[AUTO]:::quoted
    alterPersistentCacheSetStatement_0_35 --> alterPersistentCacheSetStatement_0_36[UPGRADE]:::quoted
    alterPersistentCacheSetStatement_0_36 --> alterPersistentCacheSetStatement_0_37[ONCE]:::quoted
    alterPersistentCacheSetStatement_0_37 --> alterPersistentCacheSetStatement_0_38[alterPersistentCacheSetBackingConnectionString]
    alterPersistentCacheSetStatement_0_38 --> alterPersistentCacheSetStatement_0_39[alterPersistentCacheSetTableOptions]
    alterPersistentCacheSetStatement_0_39 --> alterPersistentCacheSetStatement_0_40[alterPersistentCacheSetDataContainerOptions]
    alterPersistentCacheSetStatement_0_40 --> alterPersistentCacheSetStatement_end((END))

목적

새 테이블 또는 데이터 컨테이너의 기본값을 포함하여 캐시에 대해 중앙에서 관리되는 설정을 변경합니다.

  • Fresh: 로딩 완료 후 팩트가 최신으로 간주되는 기간(초)입니다.
  • Retention: 처리 후 트리클 로딩 메시지를 사용할 수 있는 상태로 유지하는 기간(초)입니다.
  • Metadata: 버전의 관련 팩트를 삭제한 후 메타데이터를 사용할 수 있는 상태로 유지하는 기간(초)입니다.
  • Metadata recyclebin: 삭제된 메타데이터를 사용할 수 있는 상태로 유지하는 기간(초)입니다.
  • Version: 업그레이드 스크립트를 다시 실행하기 위해 데이터 모델 버전을 다른 버전으로 재설정합니다.
  • Token: 트리클 로딩 메시지를 검색하는 데 토큰으로 사용되는 비밀 텍스트입니다.
  • Prefix/postfix: Invantive Data Replicator가 관리하는 데이터베이스 뷰의 접두사 및/또는 접미사입니다.
  • Maintain: 테이블 파티션별 및/또는 전체 테이블별로 데이터베이스 뷰를 관리할지 여부를 나타내는 표시입니다.
  • My Messages: 사용자 지정 코드 용도로 수신된 트리클 로딩 메시지의 사본을 dc_my_incoming_messages에 저장할지 여부를 나타내는 표시입니다.
  • Index Tables: 데이터베이스 뷰 검색 속도를 높이기 위해 팩트 테이블에 비고유 인덱스를 생성할지 여부입니다.
  • Auto Upgrade: 데이터 모델 업그레이드를 한 번 실행할지 여부입니다.
  • Data Container Prefix/postfix: Invantive Data Replicator가 관리하는 전체 뷰의 접두사 및/또는 접미사입니다.

alterPersistentCacheSetBackingConnectionString

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    alterPersistentCacheSetBackingConnectionString_start((START))
    alterPersistentCacheSetBackingConnectionString_start --> alterPersistentCacheSetBackingConnectionString_0_0[BACKING]:::quoted
    alterPersistentCacheSetBackingConnectionString_0_0 --> alterPersistentCacheSetBackingConnectionString_0_1[ENCRYPTED]:::quoted
    alterPersistentCacheSetBackingConnectionString_0_1 --> alterPersistentCacheSetBackingConnectionString_0_2[CONNECTION]:::quoted
    alterPersistentCacheSetBackingConnectionString_0_2 --> alterPersistentCacheSetBackingConnectionString_0_3[STRING]:::quoted
    alterPersistentCacheSetBackingConnectionString_0_3 --> alterPersistentCacheSetBackingConnectionString_0_4[stringConstant]
    alterPersistentCacheSetBackingConnectionString_0_4 --> alterPersistentCacheSetBackingConnectionString_end((END))

alterPersistentCacheSetDataContainerOptions

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheSetDataContainerOptions_start((START))
    alterPersistentCacheSetDataContainerOptions_start --> alterPersistentCacheSetDataContainerOptions_0_0[DATACONTAINER]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_0 --> alterPersistentCacheSetDataContainerOptions_0_1[stringConstant]
    alterPersistentCacheSetDataContainerOptions_0_1 --> alterPersistentCacheSetDataContainerOptions_0_2[LOGICAL]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_2 --> alterPersistentCacheSetDataContainerOptions_0_3[OVERALL]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_3 --> alterPersistentCacheSetDataContainerOptions_0_4[VIEW]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_4 --> alterPersistentCacheSetDataContainerOptions_0_5[NAME]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_5 --> alterPersistentCacheSetDataContainerOptions_0_6[PREFIX]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_6 --> alterPersistentCacheSetDataContainerOptions_0_7[POSTFIX]:::quoted
    alterPersistentCacheSetDataContainerOptions_0_7 --> alterPersistentCacheSetDataContainerOptions_0_8[stringConstant]
    alterPersistentCacheSetDataContainerOptions_0_8 --> alterPersistentCacheSetDataContainerOptions_end((END))

목적

데이터 컨테이너의 설정을 변경합니다.

데이터 컨테이너에 등록된 각 새 복제 테이블의 논리적 전체 뷰에 대한 접두사와 접미사를 지정할 수 있습니다. 이는 일반적으로 Teamleader의 여러 구독이나 여러 Exact Online 국가처럼 동일한 플랫폼을 가리키는 데이터 컨테이너가 여러 개 있는 경우에 수행됩니다. 접두사를 지정하면 자동으로 생성된 논리적 전체 뷰가 고유하고 식별 가능한 이름을 갖게 됩니다.

alterPersistentCacheSetTableOptions

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterPersistentCacheSetTableOptions_start((START))
    alterPersistentCacheSetTableOptions_start --> alterPersistentCacheSetTableOptions_0_0[TABLE]:::quoted
    alterPersistentCacheSetTableOptions_0_0 --> alterPersistentCacheSetTableOptions_0_1[tableSpec]
    alterPersistentCacheSetTableOptions_0_1 --> alterPersistentCacheSetTableOptions_0_2[LOGICAL]:::quoted
    alterPersistentCacheSetTableOptions_0_2 --> alterPersistentCacheSetTableOptions_0_3[OVERALL]:::quoted
    alterPersistentCacheSetTableOptions_0_3 --> alterPersistentCacheSetTableOptions_0_4[VIEW]:::quoted
    alterPersistentCacheSetTableOptions_0_4 --> alterPersistentCacheSetTableOptions_0_5[MAINTAIN]:::quoted
    alterPersistentCacheSetTableOptions_0_5 --> alterPersistentCacheSetTableOptions_0_6[booleanConstant]
    alterPersistentCacheSetTableOptions_0_6 --> alterPersistentCacheSetTableOptions_0_7[NAME]:::quoted
    alterPersistentCacheSetTableOptions_0_7 --> alterPersistentCacheSetTableOptions_0_8[stringConstant]
    alterPersistentCacheSetTableOptions_0_8 --> alterPersistentCacheSetTableOptions_0_9[PARTITION]:::quoted
    alterPersistentCacheSetTableOptions_0_9 --> alterPersistentCacheSetTableOptions_0_10[VIEW]:::quoted
    alterPersistentCacheSetTableOptions_0_10 --> alterPersistentCacheSetTableOptions_0_11[MAINTAIN]:::quoted
    alterPersistentCacheSetTableOptions_0_11 --> alterPersistentCacheSetTableOptions_0_12[booleanConstant]
    alterPersistentCacheSetTableOptions_0_12 --> alterPersistentCacheSetTableOptions_0_13[NAME]:::quoted
    alterPersistentCacheSetTableOptions_0_13 --> alterPersistentCacheSetTableOptions_0_14[PREFIX]:::quoted
    alterPersistentCacheSetTableOptions_0_14 --> alterPersistentCacheSetTableOptions_0_15[POSTFIX]:::quoted
    alterPersistentCacheSetTableOptions_0_15 --> alterPersistentCacheSetTableOptions_0_16[stringConstant]
    alterPersistentCacheSetTableOptions_0_16 --> alterPersistentCacheSetTableOptions_0_17[INDEX]:::quoted
    alterPersistentCacheSetTableOptions_0_17 --> alterPersistentCacheSetTableOptions_0_18[FACTS]:::quoted
    alterPersistentCacheSetTableOptions_0_18 --> alterPersistentCacheSetTableOptions_0_19[HISTORY]:::quoted
    alterPersistentCacheSetTableOptions_0_19 --> alterPersistentCacheSetTableOptions_0_20[TABLE]:::quoted
    alterPersistentCacheSetTableOptions_0_20 --> alterPersistentCacheSetTableOptions_0_21[booleanConstant]
    alterPersistentCacheSetTableOptions_0_21 --> alterPersistentCacheSetTableOptions_0_22[STATE]:::quoted
    alterPersistentCacheSetTableOptions_0_22 --> alterPersistentCacheSetTableOptions_0_23[OBSOLETE]:::quoted
    alterPersistentCacheSetTableOptions_0_23 --> alterPersistentCacheSetTableOptions_0_24[DROPPED]:::quoted
    alterPersistentCacheSetTableOptions_0_24 --> alterPersistentCacheSetTableOptions_0_25[PARTITION]:::quoted
    alterPersistentCacheSetTableOptions_0_25 --> alterPersistentCacheSetTableOptions_0_26[partitionIdentifier]
    alterPersistentCacheSetTableOptions_0_26 --> alterPersistentCacheSetTableOptions_0_27[APPROACH]:::quoted
    alterPersistentCacheSetTableOptions_0_27 --> alterPersistentCacheSetTableOptions_0_28[COPY]:::quoted
    alterPersistentCacheSetTableOptions_0_28 --> alterPersistentCacheSetTableOptions_0_29[TRICKLE]:::quoted
    alterPersistentCacheSetTableOptions_0_29 --> alterPersistentCacheSetTableOptions_0_30[SAMPLE]:::quoted
    alterPersistentCacheSetTableOptions_0_30 --> alterPersistentCacheSetTableOptions_0_31[LICENSE]:::quoted
    alterPersistentCacheSetTableOptions_0_31 --> alterPersistentCacheSetTableOptions_0_32[CONTRACT]:::quoted
    alterPersistentCacheSetTableOptions_0_32 --> alterPersistentCacheSetTableOptions_0_33[CODE]:::quoted
    alterPersistentCacheSetTableOptions_0_33 --> alterPersistentCacheSetTableOptions_0_34[stringConstant]
    alterPersistentCacheSetTableOptions_0_34 --> alterPersistentCacheSetTableOptions_end((END))

목적

캐시에 대한 테이블 및 테이블 파티션별 설정을 변경합니다. 대부분의 옵션은 alterPersistentCacheSetStatement의 옵션과 동일하지만, 테이블 및 테이블 파티션별 차이를 위한 것입니다. 추가 옵션은 다음과 같습니다:

  • State: 이전 상태의 모든 테이블 파티션 버전을 특정 최종 상태로 이동합니다.
  • Approach: 복제 전략입니다.