Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 23 Aug 2004 @ 14:02:57 GMT


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


Subj:   Re: Different Explain for identical query with different users
 
From:   Victor Sokovin

Roland,

  The query does contain a qualification on the user system variable, but I have never seen the explain change based on the user running the query.  


  Has anybody else seen this behavior and is it a new 'feature'? Can it be prevented?  


  The version we're on is V2R.05.00.02.21  



Users can have different profiles and the differences may have impact on the explain plans. I would start with investigating the differences in the HELP SESSION outputs for the users concerned. There are quite a few things to watch: default date, time and character set formats etc. I could imagine that some data conversions may cause the optimizer not to use an SI, for example, causing a big difference in the explain.

If you localize the parameter(s) please post a summary. The example is indeed interesting.


Regards,

Victor



     
  <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