Deadlock Issue - response (1) by dnoeth
"Locking row for access" is only for selects, insert/delete still set a write lock. Do the ETL jobs use PI access in multistatements or PACKs? Which ETL tool? TPump? Then the SERIALIZE option might...
View ArticleProblem with Date conversion - response (1) by dnoeth
Hi Vince, which methods? Why not succesfull? Based on the CenturyBreak setting in dbscontrol you might have to add 20 to the string select '070206' as d, '20' || d (date, format 'yyymmdd') Or use...
View ArticleOLAP-Unbounded Following - forum topic by Sai088
Hi all, can any one help me out of this... what is the difference between the follwing queries 1) select product_id,sales_date,daily_sales,min(daily_sales) over(partition by product_id order by...
View ArticleDeadlock Issue - response (2) by JGP@1979
Hi Dieter, The ETL tool is datastage. The ETL Delete query is not based on PI. DELETE FROM ETL_LOG WHERE ETL_Bus_Dt = 'Date' and ETL_Proc_Id = '1' and ETL_Trfm_Id = '1'
View ArticleUsage of Spool? - forum topic by barani_sachin
Hi All, Lets say i have a view like create view view1 as sel * from tab1 inner join tab2 loj tab3; When user A hits this view, the spool required for the operation "sel * from tab1 inner join tab2...
View ArticleProblem with Date conversion - response (2) by v_gabrielli
thank you Dieter, seems to have worked.. :) some times the answer is in front of your nose
View ArticlePerformance tuning - forum topic by barani_sachin
Hi All, I have two tables lets say Tab1 with 1million records and Tab2 with 100million records. Option 1) sel columns from tab1 inner join tab2 Option 2) sel columns from tab2 inner join tab1 Is option...
View ArticlePerformance tuning - response (1) by Nishant.Bhardwaj
Hi , Just check the Explain plan of both the Queries.. Will get to know the differences..check the timings and final spool size in the Explain.. I think both would be same as its a inner Join... but...
View ArticleStats collection inside SP's - forum topic by barani_sachin
Is it possible to collect stats for VT's inside Procedures? http://developer.teradata.com/blog/carrie/2013/02/statistics-collection-recommendations-teradata-14-0 In the above link at the end its given...
View ArticleStoring of rows on AMPS based on UPI,NUSI,USI - forum topic by TeradataMaddy
Hi, I am new to Teradata and self-learning Teradata . The manuals says many things about UPI,USI,NUSI. If a table has one PI,two or thre NUSI's , how is the data stored on AMP's? Is there any order...
View ArticleDBLink in Teradata - response (1) by goldminer
Possible good news... I get this request often... Teradata may try to develop this in a future release... does not currently exist.
View ArticleSql column alias contains non-English Characters - forum topic by ricky_ru
Dears, As subject indicates, is it supported in TD when using jdbc to run sql such as SELECT NAME AS "Non-English Char Here", ACCOUNT AS "Non-English Char Here" FROM ACCOUNT I set the JDBC URL...
View ArticleSql column alias contains non-English Characters - response (1) by ricky_ru
From reference, the CHARSET=UTF8 is strongly recommended while CLIENT_CHARSET should not be used....But how to fix the problem I mentioned above...
View Articlewhy mload accepts duplicates and why dont fastload - forum topic by bharathsft
Hi, can you please tell why mload accepts duplicates, what happens inside and why fastload not allow multiset duplicates. Please explain Thanks in advanceTags: mload duplicatesForums: Database
View ArticleOLAP-Unbounded Following query - forum topic by Sai088
Hi all, what is the difference between the follwing queries 1) select product_id,sales_date,daily_sales,min(daily_sales) over(partition by product_id order by daily_sales rows between current row...
View Articlewhy mload accepts duplicates and why dont fastload - response (1) by bharathsft
Hi, can you please tell why mload accepts duplicates, what happens inside and why fastload not allow multiset duplicates. Please explain Thanks in advance
View ArticleFastload: Can it Transfer data from One table to another Empty table? -...
Hi Dieter, Thanks for response! Could you please post syntax of Fastload reading from table? Also the no of sessions we provide in Fastload script, how do we decide on that. Say I want to load a 20 GB...
View ArticleFastload: Can it Transfer data from One table to another Empty table? -...
Hi Adi, sorry, i was wrong for #1, you can't use Ins/Sel in a FastLoad, only Delete and Drop/Create Table is allowed (before BEGIN LOADING). But there's no need to use FastLoad for that purpose, simply...
View ArticleUsage of Spool? - response (1) by dnoeth
Spool usage for any query will always be based on the submitting user. Dieter
View ArticleOLAP-Unbounded Following query - response (1) by dnoeth
Hi Sai, the difference is the ordering, ascending vs. descending :-) #1 returns the daily_sales value of the current row, thus it's equivalent to daily_sales without any OLAP #2 returns the minimum...
View Article