Optimal Date selection - response (1) by Qaisar Aftab Kiani
The most reliable way would be to check the EXPLAIN plan of both the queries. But I have seen instances where the joining tables SQL run more efficiently than the subqueries.
View ArticleBTEQ examples - response (20) by Qaisar Aftab Kiani
You can get details on these commands from Teradata BTEQ Reference manual, but in brief these commands can be used for; QUIET - This basically limits BTEQ output (to errors and request processing...
View ArticleSpool space and Temp space allocations - topic by spidermonk
I'm having issues with spool space so I decided to break down my query. Even in it's simplist form I'm getting spool space errors. My question is does allocated temp space figure into spool space?...
View ArticleSpool space and Temp space allocations - response (1) by Qaisar Aftab Kiani
Spool space is taken from the disk cylinders that are not being used for permanent or temporary data... However the query spooling out needs to be revisited. Explain plan could probably help you out to...
View ArticleUse TPT to load a million flat files - response (12) by neo_3072
These files have a definite format - a header, body and footer. All blocks have some or the data to capture. Tried pre-processing and consolidation using Unix shell script, however parsing logic is...
View ArticleTeradata PMon based Java application - topic by Cvinodh
Hi all, my project uses a TD 13.10 system. we are planning to develop a Java based application to dynamically view the queries run by our ETL jobs. specifically queries that are blocked by other...
View ArticleNeed help in BTEQ(Import) - response (4) by klnsreenivas
Hi, Can we Import integer values in BTEQ, please help me how to import. Â
View ArticleNeed help in BTEQ(Import) - response (5) by dnoeth
Of course you can import integers. What's the format of the input file, binary or text? For binary you should DEFINE the column as INT else [VAR]CHAR(11) Dieter
View ArticleTeradata PMon based Java application - response (1) by dnoeth
The PMon API is still available, but afaik it's CLI based. And since TD12(?) there's a SQL implementation using UDFs in SYSLIB, check the "Workload Management API" manual, Chapter 4: System PMPC APIs...
View ArticleSpool space and Temp space allocations - response (4) by spidermonk
thanks Dieter. That's a great query to check the spool usage.  I'll post the query again with the explain if I don't find a work around. We are collecting stats prior. Thanks again.
View ArticleFastLoad Timestamp Conversion error 6760 - response (1) by dnoeth
 The data seems to be in the right format, but 2012-11-16 24:11:45-07:00 is not a valid timestamp, there's no 24 hours. Dieter
View ArticleERRLIMIT exceeded - response (1) by dnoeth
You don't say where the error is, too. At least the exact error message/number would be helpful. ERRLIMIT is used in MultiLoad/FastLoad/TPump, they all got error tables to track the bad records. Might...
View ArticleHow to limit rows to only those where there are duplicates of a specific...
Try HAVING COUNT(*) > 1 Dieter
View ArticlePosting topics into the correct forum - response (13) by dnoeth
Five. Btw, your topic perfectly matches the topic of this thread :-) Dieter
View ArticleQuery from view optimizations - response (1) by dnoeth
The optmizer might do a join elimination when it's not changing the result set. There are two issues with your approach: #1: It must be a join to a UNIQUE/PK column. In your case this is not known by...
View ArticleSeperate Users for teradata backups and Restores - response (1) by dnoeth
The main reason is that the user used for backup or restore may be logged on only once, i.e. your ARC logon will fail when dbc is already logged on using a SQL session. Dieter
View ArticleBest Viewpoint Portlete for Teradata DBA - response (1) by dnoeth
Seems you look for alerts. You setup alerts in Viewpoint and then use the Alter Viewer portlet. Dieter
View ArticleTeradata 12 and Subqueries - response (7) by dnoeth
Please add some more details. HAVING sum(source.amount) = sum(target.amount)? Dieter
View ArticleTeradata PMon based Java application - response (2) by tomnolan
Yes, the Teradata JDBC Driver provides Monitor partition connections to enable your application to invoke PM/API commands. The Monitor partition connection support is documented in the Teradata JDBC...
View ArticleParameterize source & target table name and also schema details in TPT script...
Please take a look at the templates that came with 13.10. I think the "Load...." job variables names used to be known by "Target....". We had to change the names in 14.0 to support the existence of...
View Article