home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / ingres / 2139 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.9 KB  |  71 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![james.syniura@canrem.com]
  3. From: "james syniura" <james.syniura@canrem.com>
  4. Subject: db admin tools
  5. Message-ID: <1992Dec23.2697.1849@dosgate>
  6. Reply-To: "james syniura" <james.syniura@canrem.com>
  7. Organization: Canada Remote Systems
  8. Distribution: comp
  9. Date: 23 Dec 92 11:24:16 EST
  10. Lines: 59
  11.  
  12. Rob Mcnicholas ....
  13.  
  14. RM>·  Newsgroup: comp.databases.ingres
  15. RM>· Message-ID: <ROBM.92Dec22120335@ishtar.Berkeley.EDU>
  16. RM>·    Subject: DB admin tools
  17. RM>
  18. RM>Hi all,
  19. RM>
  20. RM>I'm working on a database which is in a constant state of flux.
  21. RM>Necessity dictated that we put it into production before we had really
  22. RM>worked out all the problems, so I often find myself dropping and
  23. RM>recreating tables to add a new field, or change a field's size or
  24. RM>type, etc.  After doing this once or twice, I quickly learned that
  25. RM>there are many side effects of these kinds of changes.  For example,
  26. RM>dropping a table causes any views, forms, or permits which referred to
  27. RM>that table to be destroyed also, so the DBA needs to create scripts to
  28. RM>recreate all the different pieces, and remember to update these
  29. RM>scripts whenever a change is made anywhere.  Unfortunately, Ingres
  30. RM>doesn't seem to provide any tools to help make this kind of change
  31. RM>easier.  I've been using unloaddb and then editing the scripts to
  32. RM>recreate just the parts i need, but this is tedious, and it doesn't
  33. RM>handle forms or views very well.
  34. RM>
  35. RM>I've been thinking about writing my own tools that would access the
  36. RM>system catalogs and help find all references to a particular table or
  37. RM>field, so that these changes would be easier to manage.  But before I
  38. RM>do it myself, I ask:
  39. RM>
  40. RM>Does anyone have any suggestions for any Public Domain or commercial
  41. RM>products which would provide this kind of functionality?
  42. RM>
  43. RM>Thanks in advance,
  44. RM>
  45. RM>-Rob
  46.  
  47. If you are on a VAX system, you should have a third party product called
  48. schemadef in the schemadef sub-directory. This is not written by ASK, but 
  49. will perform the DBA tasks you require.
  50.  
  51.  
  52. James Syniura
  53.  
  54. --
  55.  
  56. =========================================================================
  57. James Syniura  | UUCP    : canrem!james.syniura                 | 
  58. System Support | Internet: james.syniura%canrem.uucp@lsuc.on.ca | 
  59. Bell Canada    | Others  : james.syniura@canrem.uucp            |
  60. ========================================================================= 
  61.                      Toronto, Ontario, Canada, Earth.
  62. =========================================================================
  63.      The opinions expressed are my own and not the company I work for.
  64. =========================================================================
  65.  
  66. ---
  67.  ■ WinQwk 2.0b#575 ■ Excuse me, I have to recharge my flamethrower.
  68. --
  69. Canada Remote Systems  - Toronto, Ontario
  70. World's Largest PCBOARD System - 416-629-7000/629-7044
  71.