Teradata connector stage - immediate mode

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ds_infy
Premium Member
Premium Member
Posts: 59
Joined: Tue Jun 09, 2009 4:17 am
Location: India

Teradata connector stage - immediate mode

Post by ds_infy »

Hi,

I'm using teradata connector to read data from teradata db. I have gone through documentation and came to know that to achieve parallel reads parallel synchronization property has to be set. I'm using a 2 node configuration. When i tried reading in immediate mode i'm not able to acheive parallelism even after setting parallel synchronization property. Please suggest.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

And how did you come to this conclusion ? Did the job abort?
Teradata Certified Master V2R5
ds_infy
Premium Member
Premium Member
Posts: 59
Joined: Tue Jun 09, 2009 4:17 am
Location: India

Post by ds_infy »

Hi,

No the job did not abort. Its completing normally. But the teradata stage is running in sequential mode.

I've monitored the job in Director. For other parallel stages apart from teradata, it showed operator name X 2.

example: peek x 2. It means it should be running on two nodes.

Also in the logs, under event detail operator name, node no. will be there. For other parallel stages logs messages came for both nodes. For teradata messages are from only node 0. Based on this i'm assuming that teradata reading is happening sequentially.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

The immediate mode runs on one node. Where as the bulk option can run on both multiple and single node depending on if the sync property is set to yes or no. The only reason which comes in my mind which may sound daft is the fact that immediate mode is prefered for small amount of data, hence should not make any difference if it runs in parallel or sequential mode where as bulk menthod is meant for large chunks of data.

maybe there is a patch for it.........
Teradata Certified Master V2R5
ds_infy
Premium Member
Premium Member
Posts: 59
Joined: Tue Jun 09, 2009 4:17 am
Location: India

Post by ds_infy »

Hi,

Yes. And i've read in a blog yesterday that immediate read works in sequential mode only.

I've tried a sample job using bulk mode to read data. I'm getting an error.

Error info -

Teradata_Connector_0,0: [IIS-CONN-TERA-005004] RDBMS code 21012: Could Not Find Message Catalog opermsgs.cat SQL statement: SELECT IRX.UPC_ID,1 AS ISPREPRICED FROM DW_DSS_DEV.CIC_UPC_ROG IRX (CC_TeraParallelTransporter::initiate, file CC_TeraParallelTransporter.cpp, line 1185)

I've googled on this error. could not get much help. Can you help me in resolving this.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

The bulk mode in with parallel sync might sometimes be slower than immediate mode itself. So just keep an eye on that.

Code: Select all


SELECT IRX.UPC_ID,1 AS ISPREPRICED FROM DW_DSS_DEV.CIC_UPC_ROG IRX

Make sure you have the column ISPREPRICED in your DS job metadata and UPC_ID and ISPREPRICED are in the same order in which your selecting them..
Teradata Certified Master V2R5
ds_infy
Premium Member
Premium Member
Posts: 59
Joined: Tue Jun 09, 2009 4:17 am
Location: India

Post by ds_infy »

Hi,

Yea, I've defined the metadata in job as-is. Any information regarding the error i've posted.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

do you have TPT installed on the server?
Teradata Certified Master V2R5
ds_infy
Premium Member
Premium Member
Posts: 59
Joined: Tue Jun 09, 2009 4:17 am
Location: India

Post by ds_infy »

hamzaqk wrote:do you have TPT installed on the server?
Yes TPT is installed.
Post Reply