Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 16 Oct 2006 @ 21:55:49 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Logical and physical rows
 
From:   sanjaya.nagabhushan

If a JI contains rows where some columns have repeating values then you can indicate this in the Create JI DDL by grouping the columns with repeating information into one group & grouping the columns without repeating information into another group something like...

     create join index temp_ji as sel (repeat_col1, repeat_col2,...),
     (other_col_1, other_col_2,...)
     from table1 a inner join table2 b on a.cola = b.colb;

In this case, The created JI would be compressed. For all the rows with the same repeating part, There would be only one physical row having the repeating part stored only once with the remaining part of all the rows from its group.

In this context, That single row is the physical row which can have several logical rows.


Regards,

Sanjaya



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023