Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 09 Aug 2006 @ 17:50:48 GMT


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


Subj:   Re: Last Access Time of a Table
 
From:   Fachtna O Donovan

Hi Rishi,

The easiest thing would be to have a look at the accesslog, you could run something like

     Select * from dbc.accessLog
     where TVMName = 'xxxxxxxxx'
     and DatabaseName  = 'yyyyyyyyy'
     order by logDate desc, logTime desc;

If you want to see when the table was last accessed by a "real" user you would need to say

     and UserName not in ('DBC', 'Batch Users', 'etc.')

Hope this helps,

Fachtna O'Donovan
Software Developer
AIB Bank
Ireland



     
  <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