Hi All,
I am loading data into Teradata using Mload Stage,so I want to get the Teradata collect Statistics after the Job ran successfully.
Please let us know your inputs.
How to Collect Statistics
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 194
- Joined: Thu May 11, 2006 9:42 am
How to Collect Statistics
Thanks,
Chris Jones
Chris Jones
-
- Participant
- Posts: 194
- Joined: Thu May 11, 2006 9:42 am
How to Collect Statistics
Thanks for your reply.
We want to collect the Teradata Table statistics not the DS job statistics.
We want to collect the Teradata Table statistics not the DS job statistics.
pukars4u wrote:use DSJobReport routine and this will collect all statistics of your Job after it is ran .I think this will solve ur problem
Thanks,
Chris Jones
Chris Jones
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How would you collect statistics after a MultiLoad operation not coming from DataStage? Basically what you have to do is either mimic that approach in DataStage - possibly another job - or script it - perhaps invoking that script from DataStage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 194
- Joined: Thu May 11, 2006 9:42 am
How to Collect Statistics
I am using script-After Tab in the Mload Stage to collect Table statistics by CALLing a procedure. The report file says "CALL" Unsupported SQL/RDBMS command.
ray.wurlod wrote:How would you collect statistics after a MultiLoad operation not coming from DataStage? Basically what you have to do is either mimic that approach in DataStage - possibly another job - or script it ...
Thanks,
Chris Jones
Chris Jones
-
- Charter Member
- Posts: 47
- Joined: Fri Mar 18, 2005 5:59 am
Re: How to Collect Statistics
To do collect stats on the table within Teradata , one can call the procedure via Teradata API.
The procedure which is created in Teradata has to be compiled in ANSI mode, since the datastage calls the procedure in ANSI mode only and not in BTET mode.
The procedure which is created in Teradata has to be compiled in ANSI mode, since the datastage calls the procedure in ANSI mode only and not in BTET mode.