home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / ingres / 2163 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.0 KB  |  45 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!pacbell.com!rtech!ingres!billc
  3. From: billc@Ingres.COM (Bill Coffin)
  4. Subject: Re: DB admin tools
  5. Message-ID: <1993Jan5.190338.23433@pony.Ingres.COM>
  6. Reply-To: billc@ingres.com
  7. Organization: Ingres, An ASK Company, Alameda CA
  8. References: <ROBM.92Dec22120335@ishtar.Berkeley.EDU> <1993Jan5.004315.1@gsbacd.uchicago.edu>
  9. Date: 5 Jan 93 19:03:38 GMT
  10. Lines: 33
  11.  
  12. In article <1993Jan5.004315.1@gsbacd.uchicago.edu>, cs_mj@gsbacd.uchicago.edu (Mark Jaeger) writes [edited]:
  13. >
  14. >Once I went so far as to try to write a version of copydb myself that
  15. >would do what I really want: namely, create a script that will allow me
  16. >to drop a table, modify its definition, and then recreate _all_ database
  17. >objects that depend on that table.  It turns out to be pretty hard. 
  18. >
  19. >I tried hacking the iidbdepends system catalog, but found that this is
  20. >not all that easy.  
  21. >Unfortunately, I don't have any documentation for the iidbdepends system
  22. >catalog.  
  23.  
  24. iidbdepends isn't really a System Catalog, and so it is not supported
  25. on all gateways or in STAR.  Also, we don't guarantee that it won't
  26. change, the way we guarantee catalogs like iitables.  So you can use
  27. iidbdepends, but without connectivity and without guaranteed backward
  28. compatibility.
  29.  
  30. Yes, the full-dependencies problem is hard, and we know that it's a
  31. very popular request.  Unfortunately, I believe that schemadef_II
  32. only does the easy part, and doesn't handle "deeper" dependencies
  33. like database procedures, events, rules, and so on.
  34.  
  35. My reccomendation to Rob McNicholas, the original poster, would be to
  36. use views liberally while developing the applications.  You can use
  37. many tricks to avoid the necessity of redefining tables.  You will,
  38. of course, pay a performance penalty, but that may be acceptable in
  39. your Beta phase.
  40.  
  41. -- 
  42. Bill Coffin, at Ingres, An ASK Company, Alameda CA 
  43. billc@ingres.com    510.748.3387
  44. <standard_disclaimer> <gratuitous_witticism> <obscure_quote> <annoying_graphic>
  45.