Quantcast
Channel: Teradata Forums - Database
Browsing all 14773 articles
Browse latest View live

Joining tables on fields with varying lengths - forum topic by pjh30

Hi,  I need to join data from 2 tables where the common field is in varying formats/lengths.  In Table A, Acct_Nb is Char 20, though many of the accounts are only about 10 characters.  In Table B,...

View Article


two similar tables - very different import speed - forum topic by TrackingDaily

I have two very similar tables, see below.  On a regular basis, I import about 300,000 records.  The original table required about 90 min to 2 hours to complete the import.  The newer table can do it...

View Article


two similar tables - very different import speed - response (1) by...

What utility you are using?

View Article

two similar tables - very different import speed - response (2) by TrackingDaily

It is not a Teradata utility -- my database IDE has an "import table data" function that reads CSV files (my source is a text file -- should have said that in the original post).  But the process is...

View Article

Collect stats doubt - response (9) by goldminer

Thanks Saeed!... that is what I thought.  For those customers on versions prior to 14.00, it is good to know that order matters when it comes to multi-column statistics collection.  Nothing worse then...

View Article


How to find a particular table in Teradata is locked using SQL query? -...

As many people have often requested instructions upon how to figure out which tables were blocked, at which time, by whom, this is a simple tutorial using the 20-year old tool LOCK LOGGER. I did not...

View Article

Spool space issue - forum topic by princykoshy

Teradata queries are executed top down or bottom up? We're getting spool space error in some of the quereis. Any pointers to tune the queries will be helpful. Have checked indices, collect stats, spool...

View Article

Joining tables on fields with varying lengths - response (1) by Raja_KT

Hi, You can use a combination of TRIM and cast: Try this:  TRIM (BOTH '0' FROM CAST(A.ACCT_NB AS CHAR(50)))  or varchar.  Cheers, Raja

View Article


Difference between NUSI and Hash ordered NUSI? - response (1) by...

Hi Experts, Any suggestions on the above pls? Cheers! Nishant

View Article


Difference between NUSI and Hash ordered NUSI? - response (3) by Raja_KT

Hi Nishant,  I have never encountered that situation in real time. However,my findings are highlighted below:  USIs are always stored in hash order on an AMP, while NUSIs can be stored either in hash...

View Article

Implementing SCD type 2 using ANSI Merge in teradata - response (3) by anv526

Hi Dieter, Can you please share a sample code for implementing the SCD2 implementation..which can be refered to. Regards Anvesh

View Article

Joining tables on fields with varying lengths - response (2) by dnoeth

You don't have to care about CHARs or VARCHARs, because trailing spaces simply don't matter, e.g. '0123' and '0123        ' compare equal. But the leading zeroes (or leading blanks) cause trouble and...

View Article

Regarding TVS Vproc - forum topic by praveen_reddy

Hi All,  Can anyone explain What is TVS Vproc and why its needed?  Regards, PraveenForums: Database

View Article


Spool space issue - response (1) by praveen_reddy

Hi,  Check the number of sessions connected or queries executed by the user.  Regards, Praveen

View Article

Index Cocepts in Teradata - response (8) by s@ir@m

Hi all,  1.  Teradata which join is better ? 2. Default teradata which join taken ?  Ratnam

View Article


Bteq script - error handling not working, need help - response (7) by s@ir@m

Thanks Raja

View Article

Bteq script - error handling not working, need help - response (8) by Raja_KT

You are welcome. Always try to put logs for ease of tracking. Cheers, Raja

View Article


Regarding TVS Vproc - response (1) by Raja_KT

   Manages Teradata Database storage. AMPs acquire their portions of database storage through the TVS vproc.  The amp's link to physical disks is interposed by this storage pool.  It offers advantages...

View Article

Index Cocepts in Teradata - response (9) by M.Saeed Khurram

Hi Ratnam, May I know the joins you want to compare? Teradata has different join processing techniques chosen by the optimzer at run time based upon the multiple factors. These factors can be table...

View Article

Spool space issue - response (2) by Raja_KT

I am not able to understand your question properly. Do you mean to ask the order , in which a query has so many joins?  Cheers, Raja

View Article
Browsing all 14773 articles
Browse latest View live


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