Account Options

  1. Sign in
Google Groups Home
« Groups Home
upgrading a schema
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
timasm...@hotmail.com  
View profile  
 More options Sep 18 2006, 4:13 pm
Newsgroups: comp.databases.oracle.server
From: timasm...@hotmail.com
Date: 18 Sep 2006 13:13:03 -0700
Local: Mon, Sep 18 2006 4:13 pm
Subject: upgrading a schema
Hi,

I have an application using Oracle with a large (100+) number of
tables.  Are there any free/open source tools that can ease the process
of updating the schema.

Specifically I would like to compare a source and a target, determine
the differences and the best way to update  the target to be equivalent
to the source - tables, columns, views, etc.

thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthias Hoys  
View profile  
 More options Sep 18 2006, 4:31 pm
Newsgroups: comp.databases.oracle.server
From: "Matthias Hoys" <a...@spam.com>
Date: Mon, 18 Sep 2006 22:31:56 +0200
Local: Mon, Sep 18 2006 4:31 pm
Subject: Re: upgrading a schema

<timasm...@hotmail.com> wrote in message

news:1158610383.787629.96560@k70g2000cwa.googlegroups.com...

> Hi,

> I have an application using Oracle with a large (100+) number of
> tables.  Are there any free/open source tools that can ease the process
> of updating the schema.

> Specifically I would like to compare a source and a target, determine
> the differences and the best way to update  the target to be equivalent
> to the source - tables, columns, views, etc.

> thanks

You can do that with third-party tools like TOAD - it can even generate a
script with the differences. Maybe you can do it with Oracle's free SQL
Developer, don't know about that. I believe Enteprise Manager with the
Change packs can also do it.

Matthias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DA Morgan  
View profile  
 More options Sep 18 2006, 7:49 pm
Newsgroups: comp.databases.oracle.server
From: DA Morgan <damor...@psoug.org>
Date: Mon, 18 Sep 2006 16:49:01 -0700
Local: Mon, Sep 18 2006 7:49 pm
Subject: Re: upgrading a schema

timasm...@hotmail.com wrote:
> Hi,

> I have an application using Oracle with a large (100+) number of
> tables.  Are there any free/open source tools that can ease the process
> of updating the schema.

> Specifically I would like to compare a source and a target, determine
> the differences and the best way to update  the target to be equivalent
> to the source - tables, columns, views, etc.

> thanks

The capability is built into the database in the DBMS_RECTIFIER_DIFF
package.

A demo can be found in Morgan's Library at www.psoug.org.
--
Daniel Morgan
University of Washington
Puget Sound Oracle Users Group


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
davdonin  
View profile  
 More options Sep 19 2006, 3:56 am
Newsgroups: comp.databases.oracle.server
From: "davdonin" <denis.avdo...@gmail.com>
Date: 19 Sep 2006 00:56:29 -0700
Local: Tues, Sep 19 2006 3:56 am
Subject: Re: upgrading a schema

DA Morgan wrote:

> The capability is built into the database in the DBMS_RECTIFIER_DIFF
> package.

Daniel, the author is looking to compare schemas, not data I think.

I have not come across a free product, which does this.

Quest has Schema Manager product, which allows to compare
schemas/baselines. It also allows to manage data. See
http://www.quest.com/schema_manager/ for more details.

Oracle Enterprice Manager has Change Management Pack, which allows to
do the same. For more details please refer to Enterprise Manager
documentation.

Denis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sualeh.fat...@gmail.com  
View profile  
 More options Sep 19 2006, 7:27 am
Newsgroups: comp.databases.oracle.server
From: sualeh.fat...@gmail.com
Date: 19 Sep 2006 04:27:17 -0700
Local: Tues, Sep 19 2006 7:27 am
Subject: Re: upgrading a schema
The free, open-source SchemaCrawler tool will compare the schema and
data. SchemaCrawler outputs details of your schema (tables, views,
procedures, and more) in a diff-able plain-text format (text, CSV, or
XHTML). SchemaCrawler can also output data (including CLOBs and BLOBs)
in the same plain-text formats. You can use a standard diff program to
diff the current output with a reference version of the output.
SchemaCrawler can be run either from the command line, or as an ant
task. A lot of examples are available with the download to help you get
started.

SchemaCrawler is free, open-source, cross-platform (operating system
and database) tool, written in Java, that is available at SourceForge:
http://schemacrawler.sourceforge.net/
You will need to provide a JDBC driver for your database. No other
third-party libraries are required.

Sualeh Fatehi.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DA Morgan  
View profile  
 More options Sep 19 2006, 11:05 am
Newsgroups: comp.databases.oracle.server
From: DA Morgan <damor...@psoug.org>
Date: Tue, 19 Sep 2006 08:05:02 -0700
Local: Tues, Sep 19 2006 11:05 am
Subject: Re: upgrading a schema

Then how about:

SELECT object_name
FROM user_objects
INTERSECT
SELECT object_name
FROM user_objects@remote;

SELECT object_name
FROM user_objects
MINUS
SELECT object_name
FROM user_objects@remote;

and again with USER_TAB_COLUMNS.
--
Daniel Morgan
University of Washington
Puget Sound Oracle Users Group


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
timasm...@hotmail.com  
View profile  
 More options Sep 20 2006, 3:54 pm
Newsgroups: comp.databases.oracle.server
From: timasm...@hotmail.com
Date: 20 Sep 2006 12:54:42 -0700
Local: Wed, Sep 20 2006 3:54 pm
Subject: Re: upgrading a schema

How does running diff on the two outputs help me generate the DDL
statements to bring the target to the same level as the source?

Without that there is not much value - I could write the same program
in about 20 minutes.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gazzag  
View profile  
 More options Sep 21 2006, 8:26 am
Newsgroups: comp.databases.oracle.server
From: "gazzag" <gar...@jamms.org>
Date: 21 Sep 2006 05:26:13 -0700
Local: Thurs, Sep 21 2006 8:26 am
Subject: Re: upgrading a schema

timasm...@hotmail.com wrote:
> How does running diff on the two outputs help me generate the DDL
> statements to bring the target to the same level as the source?

> Without that there is not much value - I could write the same program
> in about 20 minutes.

How does not providing your version of Oracle allow us to help you
effectively? ;-)

Depending on your answer to the above, check out the DBMS_METADATA
package:

http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_m...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »