• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

updated information about DB

 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i need to find the updated table from the Database

for eg
my database have a list of tables, and out of these some are frequently updated , how i can find the list of table that was updated busing JDBC can any one know how to track the updated table


after than i need to take a backup of only updated table.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's no way in SQL to do this I know of. However if you want to back up a DB, archiving only the changes since the last back up rather than the whole thing, most DBs have their own tools to do this. Check your DB docs.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

This is certainly different among different db systems. On Oracle, the last update time on a table is not maintained in the dictionnary

One way could be to maintain a timestamp in your records, e.g. using a trigger.

Or you can proceed to a log analysis, using a logminer tool.

HTH - Nic
 
reply
    Bookmark Topic Watch Topic
  • New Topic