home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / oracle / 2137 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.4 KB  |  56 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!ucivax!ucla-cs!ucla-mic!agsm!ddruker
  3. From: ddruker@agsm.ucla.edu (Daniel Druker)
  4. Subject: Re: Oracle delta
  5. Message-ID: <1992Nov6.103253.18990@mic.ucla.edu>
  6. Nntp-Posting-Host: risc.agsm.ucla.edu
  7. Organization: Anderson Graduate School of Management, UCLA
  8. References: <1992Oct28.172223.11805@aio.jsc.nasa.gov> <1992Oct31.091038.1@us.oracle.com> <dtb.721034078@otto>
  9. Date: 6 Nov 92 10:32:53 PST
  10. Lines: 44
  11.  
  12. In article <dtb.721034078@otto> dtb@otto (David Bath) writes:
  13. >sstephen@us.oracle.com writes:
  14. >
  15. >>In article <1992Oct28.172223.11805@aio.jsc.nasa.gov>, russell@gothamcity.uucp (Russell Sellers [GHG]) writes:
  16. >>> 
  17. >>> I have a question about the way oracle keeps track of the transactions
  18. >>> that occurr during the day. I know that if I do a transaction then I can roll
  19. >>> it back as long as a commit wasn't performed. Is there something like this
  20. >>> that would allow me to rollback everything that occured during a say.
  21. >>> What I am trying to find out is there some way to keep track of database
  22. >>> delta's for each day. If there is can this file be parsed by a different
  23. >>> program to produce some type of summary report.
  24.  
  25. V7 includes a Snapshot facility that does this. It keeps track of 
  26. changes to tables (inserts, updates, deletes) and stores this  
  27. in a log for each snapshot. You could use this information in whatever 
  28. fashion you like. Snapshots are supposed to be for asynchronous database
  29. replication, but I don't see why you couldn't use them for what you want.
  30.  
  31. In any case, you can use post-insert, update, and delete triggers to 
  32. log changes including pre and post values quite easily , if snapshots don't
  33. automatically give you everything you need.
  34.  
  35. Hope this helps, 
  36.  
  37. - Dan
  38.  
  39. Daniel Druker
  40. Anderson Graduate School of Management at UCLA
  41.                    
  42.  
  43. ----------------------------------------------------------------------------
  44. | Dan Druker                                                               |
  45. | agsm mail     : ddruker                                                  |
  46. | internet     : ddruker@agsm.ucla.edu                                    |
  47. | oracle*mail    : unix:ddruker@agsm.ucla.edu                               |
  48. ----------------------------------------------------------------------------
  49.  
  50. Disclaimer:  None. I'm a student now and I don't care what you think. 
  51.  
  52.  
  53.  
  54.  
  55.  
  56.