Forums Register Login

updated information about DB

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 759 times.
Similar Threads
JTable is not getting updated
Fire a trigger from an external application on database update
Using Hibernate to look up table metadata?
List Updation
Breaking one table into two Entity Beans
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:40:37.