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

SQL Syntax - response (1) by ulrich

did you try to create a view like Create view VW2 as SEL a.col1, a.col2, a.col3, b.col4 from ( sel col1, col2, col3 from tab1 where col2 = 'ABC' ) a left outer join (SEL col1, Col3 as col4 from tab1...

View Article


What is compress? With example pls explain?What is use of compress? - forum...

What is compress? With example pls explain?What is use of compress?Forums: Database

View Article


What is compress? With example pls explain?What is use of compress? -...

Here is really a good article on compress. It is an old article but will answer your questions.http://www.teradataforum.com/l020829a.htm

View Article

SQL Syntax - response (2) by AsherShah

yes, I tired but it won't work because this view can not have the hard coded WHERE clause as this will be passed by user. Based on your syntax view should be like code below but this is not working for...

View Article

Algorithmic compression in DBQL History tables - forum topic by TSchmolzi

I am considering the impementation of algorithmic compression within our 13.10 system's DBQL History tables. We have quite a long retention requirement for this data and the daily maintenance and...

View Article


SQL Syntax - response (3) by dnoeth

You probably need to a PARTITION to your ROW_NUMBER: row_number() over (PARTITION BY col2 order by col1)  But you should check explain, it might do the STATS step before applying the WHERE filter. Dieter

View Article

Performance considerations during taking back up-- - response (5) by...

Thanks Dieter for the Response.. Actaully the thing is ,we have PPI defined on A so when we do the  INSERT SELECT on the empty A_bkp table then in this case  optimizer is using the spool space and...

View Article

Performance considerations during taking back up-- - response (6) by dnoeth

Hi Nishant, if target is an exact copy of source then there will be no spool involved, regardless of PPI or not, simply look at explain. You should check if A and A_bkp DDL is different. Dieter 

View Article


Performance considerations during taking back up-- - response (7) by...

Hi Dieter , Both are having same Structures but they are created at different databases, i mean, one at LIVE and other at BACKUP Db. does different DB's making the usage of spool in INSERT Select?...

View Article


Performance considerations during taking back up-- - response (8) by dnoeth

Hi Nishant, same database or not doesn't matter. If there's spool usage there must be a difference in DDL. MERGE might use no spool when both source and target have the same (P)PI. Dieter

View Article

SQL Syntax - response (4) by ulrich

It's like Dieter suggested try  replace view test_db _uli.v_test1 as select a.col1, a.col2, a.col3, b.col4 from ( select calendar_date as col1, month_of_year as col2, year_of_calendar as col3 from...

View Article

Performance considerations during taking back up-- - response (9) by...

thanks Dieter!

View Article

Compression in Teradata - response (1) by KS42982

When you do INSERT-SELECT between 2 exact same tables then there is NO spool involved at all. That might be the reason when you match the datatype in table2 with table1, you do not get the spool space...

View Article


Metadata information for a view - forum topic by sam_dhse

If i query dbc.columns for a particular table within a database it gives me column data type with its length.However if i have a custom view that is build on top of lets suppose 2 tables and if i query...

View Article

What is compress? With example pls explain?What is use of compress? -...

thanks you dude

View Article


Data movement across Terdata server - forum topic by meet_as

Hi Experts, Please offer your opinion on data movement  across Teradata servers( for e.g. production to Test, TD 14 to TD 12/13 or vice versa) using TTU. If you have to rank the tool/technology from...

View Article

how know the difference between compress table and general table ? - forum...

how know the difference between compress table and general table ?Forums: Database

View Article


how know the table size ? - forum topic by sai_666

how know the table size ?Forums: Database

View Article

Update statement using self join - forum topic by arbiswas

Hi Experts, I hava an employee table which effective date and post effective date. post_eff_dt is next eff_dt for that employee. So if 31-jan-2013 is first row and 28-feb-2013 is second row then row...

View Article

how know the table size ? - response (2) by mohan.mscss

sel * from dbc.tablesize where tablename='employee' and databasename='xxxx'

View Article
Browsing all 14773 articles
Browse latest View live


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