2014-09-16 2 views
0
I am loading data into my common table DB_TBLS.ACCOUNT in parralel for three process. To avoid  blocking i have created view as below on top of this base table. 
But again i am getting blocking on the base table. 

Replace View DB_VWS.S_ACCOUNT as locking row for access 
Select * From DB_TBLS.ACCOUNT where id = 1 ; 

Replace View DB_VWS.T_ACCOUNT as locking row for access 
Select * From DB_TBLS.ACCOUNT where id = 2 ; 

Replace View DB_VWS.R_ACCOUNT as locking row for access 
Select * From DB_TBLS.ACCOUNT where id = 3 ; 

누구든지 공용 테이블에서 병렬로 데이터를로드 할 수 있습니까?테라 데이타의 공통 테이블에 병렬로드

+0

해당 테이블의 주 인덱스가 무엇입니까 : TPT 참조 설명서 (14.10)에 따르면? 어떻게로드합니까? 얼마나 많은 행을로드 할 예정입니까? 기존 Teradata로드 도구 중 하나를 사용하지 않는 이유는 무엇입니까? – dnoeth

+0

이 병렬로드에 bteq를 사용하고 있습니다. 우리는 거의 5-10K 개의 레코드를 가지고 있습니다. 기본 색인은 id와 두 개 이상의 열의 조합입니다. – navku

+0

높은 PACK 인수를 가진 단일 세션을 사용하십시오. 가능한 최대 팩은 입력 데이터에 따라 다르며 몇 백 가지를 시도 할 수도 있습니다. 몇 초 후에 실행됩니다. – dnoeth

답변

0

Teradata Parallel Transporter (TPT) 유틸리티의 Stream Operator는 필요한 기능을 제공합니다.

The Stream operator, a consumer operator, emulates the Teradata TPump utility to perform high-speed parallel Inserts, Updates, Deletes, and Upserts in a near-real-time to one or more empty or preexisting Teradata Database tables without locking target tables.

관련 문제