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

Types of locks during Fastload abort-? - response (12) by ToddAWalter

The status is in the target table and the error, log tables. they are all tied together internally. Unfortunately the status cannot be seen in the dictionary with a query. A list of tables in this...

View Article


Types of locks during Fastload abort-? - response (13) by Nishant.Bhardwaj

Thanks Todd.. It helps..

View Article


No More Spool Space - response (5) by kelvsdotph

Guys, I want to answer my question based from what I've experienced.  It's not good to deliberately change the PI just to address the problem.  My ImpactCPU went higher than expected. No Fun.  kelvs

View Article

Need to increase the query performance - forum topic by sekhar.lsb@gmail.com

Hello All,  I am facing problem to load 5million records into my database table. Source data comming through flat file, then load into stagging table using Mload. This process completed in less than...

View Article

Database Performance: large Table getting redistributed causing performance...

Hi , Good Morning, I have this performance problem where in I have to join a big table (> 1million records ) on column(which is a part of PI) to get few columns(4) to the semantic layer. I have...

View Article


Database Performance: large Table getting redistributed causing performance...

Hi Naga, You do not have mentioned the 2nd table's information. If the 2nd table is small you can create a hashindex on that to avoid redistribution,  even if you have proper stats collected, the...

View Article

Teradata Data Types to Oracle - forum topic by Santanu84

Hi All I am having problems while loading data from Oracle to TD14. In most cases the problem is with data type, like NUMBER(p,s), LONG RAW, NVARCHAR2 including Unicode, Multi byte and different...

View Article

Teradata Data Types to Oracle - response (1) by M.Saeed Khurram

Hi Santanu, The following link might help you,http://docs.oracle.com/html/B10543_01/apa.htm 

View Article


Need to increase the query performance - response (1) by dnoeth

Hi Sekhar, you're inserting 5 million rows with the same PI to a SET table, that's worst case. Changing the table to be MULTISET would help, but you better change the PI to something usefull. 

View Article


Database Performance: large Table getting redistributed causing performance...

Hi Naga, first thing is to check the statistics.    And information about 2nd table is, indeed, very needed. Apart from that, if you select only a few columns(4) from a table, a distribution might be a...

View Article

Teradata Data Types to Oracle - response (215) by Raja_KT

Hi Shantanu, As I see more and more people migrating oracle to Teradata, I recommend them understanding the functionality too like , if you have nested tables, index by binary integer, varchar, record...

View Article

need help in implementing a scenario - response (1) by dnoeth

It's easy to get the previous value with OLAP-functions: select cust_id, date, min(Closing_Inventory) over (partition by cust_id order by date rows between 1 preceding and 1 preceding) as...

View Article

hierarchy (recursive) query - forum topic by anurag1612

Hi, I have the below hirerchy -                        D1         D2           D3       D4      D5  D6     D7 D8   D9 D10 T1 T2 T3 T4  T5 T6 T7 T8 T9 T10 T11  My requirement is to find out currentperm...

View Article


Update current row from the results from previous row - forum topic by...

can someone help me to solve this problem with teradata update query? Before Update: Tablename : TEST_SCENARIO  Seq_No NUMBER SUM_FROM_PREV_REC 1 5 1    2 8     3 33     4 22     5 45     6 23     7 10...

View Article

Update current row from the results from previous row - response (1) by...

readable format: can someone help me to solve this problem with teradata update query? Before Update: Tablename : TEST_SCENARIO Seq_No   NUMBER  SUM_FROM_PREV_REC 1             5...

View Article


Any good training institude to learn teradata - forum topic by vinnubaba

Any good training institude to learn teradataForums: Database

View Article

Teradata Data Types to Oracle - response (216) by Santanu84

Thanks Saeed and Raja. We try to understand the functionality from source end before bringing them to TD. But some time it is not possible to do rnd on source data and they are being brought through...

View Article


Update current row from the results from previous row - response (2) by dnoeth

Calculate the values in an UPDATE FROM: SELECT seq_no, num, SUM_FROM_PREV_REC, COALESCE(SUM(SUM_FROM_PREV_REC) OVER (ORDER BY seq_no ROWS UNBOUNDED PRECEDING),0) + COALESCE(SUM(num) OVER (ORDER BY...

View Article

hierarchy (recursive) query - response (1) by anurag1612

Here is the solution - locking row for access SELECT DATABASENAME,  TABLENAME,  SUM(CURRENTPERM)/1024/1024/1024 FROM DBC.TABLESIZE  where databasename in (SELECT DISTINCT TRIM(child) AS DB FROM...

View Article

Automate my Teradata queries - forum topic by prateek.saxena

Hi,  I have some teradata codes which I want to automate. It should be done in a way that they can execute themselves on a specific date/time of a month.  Any help will be appreciated.  Regards,...

View Article
Browsing all 14773 articles
Browse latest View live


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