Quantcast
Channel: Teradata Forums - All forums
Browsing all 27759 articles
Browse latest View live
↧

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 Article


BTEQ 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 Article


Spool 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 Article

Spool 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 Article

Use 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 Article


Teradata 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 Article

Need help in BTEQ(Import) - response (4) by klnsreenivas

Hi, Can we Import integer values in BTEQ, please help me how to import.  

View Article

Need 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 Article


Teradata 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 Article


Spool 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 Article

FastLoad 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 Article

ERRLIMIT 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 Article

How to limit rows to only those where there are duplicates of a specific...

Try HAVING COUNT(*) > 1 Dieter

View Article


Posting topics into the correct forum - response (13) by dnoeth

Five. Btw, your topic perfectly matches the topic of this thread :-) Dieter

View Article

Query 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 Article


Seperate 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 Article

Best 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 Article


Teradata 12 and Subqueries - response (7) by dnoeth

Please add some more details. HAVING sum(source.amount) = sum(target.amount)? Dieter

View Article

Teradata 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 Article

Parameterize 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
Browsing all 27759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>