home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.ingres
- From: raph@panache.demon.co.uk (Raphael mankin)
- Path: sparky!uunet!pipex!demon!panache.demon.co.uk!raph
- Subject: Re: DB admin tools
- Distribution: world
- References: <1993Jan5.004315.1@gsbacd.uchicago.edu>
- Organization: Solvfield Ltd.
- Reply-To: raph@panache.demon.co.uk
- X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
- Lines: 36
- Date: Wed, 6 Jan 1993 21:15:21 +0000
- Message-ID: <726354921snz@panache.demon.co.uk>
- Sender: usenet@demon.co.uk
-
- In article <1993Jan5.004315.1@gsbacd.uchicago.edu> cs_mj@gsbacd.uchicago.edu writes:
-
- >In article <ROBM.92Dec22120335@ishtar.Berkeley.EDU>,
- >robm@ishtar.Berkeley.EDU (Rob McNicholas) writes:
- >
- >> I'm working on a database which is in a constant state of flux.
- >> Necessity dictated that we put it into production before we had really
- >> worked out all the problems, so I often find myself dropping and
- >> recreating tables to add a new field, or change a field's size or
- >> type, etc. After doing this once or twice, I quickly learned that
- >> there are many side effects of these kinds of changes. For example,
- >> dropping a table causes any views, forms, or permits which referred to
- >> that table to be destroyed also, so the DBA needs to create scripts to
- >> recreate all the different pieces, and remember to update these
- >> scripts whenever a change is made anywhere. Unfortunately, Ingres
- >> doesn't seem to provide any tools to help make this kind of change
- >> easier. I've been using unloaddb and then editing the scripts to
- >> recreate just the parts i need, but this is tedious, and it doesn't
- >> handle forms or views very well.
- >>
- >> I've been thinking about writing my own tools that would access the
- >> system catalogs and help find all references to a particular table or
- >> field, so that these changes would be easier to manage. But before I
- >> do it myself, I ask:
- >>
- >> Does anyone have any suggestions for any Public Domain or commercial
- >> products which would provide this kind of functionality?
- >
- I have a program that will unload an Ingres or Oracle 6 database into an SQL
- stream. It unloads tables and views (selectively or totally), with or without
- the data. If anyone wants the code I can email it.
-
- Using this prog it is relatively easy to alter the attributes of a table.
-
- --
- Raphael Mankin Nil taurus excretum
-