Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Snapshot column size

Re: Oracle Snapshot column size

From: Vsevolod Afanassiev <vafanassiev_at_yahoo.com>
Date: 28 Jan 2007 20:14:18 -0800
Message-ID: <1170044058.248874.304630@v33g2000cwv.googlegroups.com>


Andy,

Thanks for pointing me toward character sets.

The source and target databases had used different character sets and this triggered Oracle bug 3637267.
I've re-created target database with the same character set and this solved the problem.

Thanks again

Sev

On Jan 27, 10:29 pm, Andy Hassall <a..._at_andyh.co.uk> wrote:
> On 27 Jan 2007 01:30:37 -0800, "Vsevolod Afanassiev" <vafanass..._at_yahoo.com>
> wrote:
>
>
>
>
>
>
>
> >Oracle 9.2.0.6.0 on Linux
>
> >I neded to replicate a few tables from one database to another
> >database. This is simple on-way replication with refresh on demand. So
> >I created snapshot logs in the source (master) database and snapshots
> >in the targer (slave) database, for example:
>
> >However, column sizes in the snapshot are 3 times column sizes in the
> >source database:
>
> >In the source database:
>
> >SQL> desc lnp_app_owner.lnp_array
> > Name Null? Type
> > ----------------------------------------- --------
> >----------------------------
> > ID NOT NULL NUMBER(38)
> > BPI_ID NUMBER(38)
> > STARTNUMBER VARCHAR2(10)
> [snip]
>
> >SQL> desc lnp_app_owner.lnp_array
> > Name Null? Type
> > ----------------------------------------- --------
> >----------------------------
> > ID NOT NULL NUMBER(38)
> > BPI_ID NUMBER(38)
> > STARTNUMBER VARCHAR2(30)
> [snip]
>
> >Is it normal? Why would Oracle need to make them 3 timer wider? What's the database character set on each database? I recall there being bugs
> where describe would triple the length of VARCHAR2 columns under certain
> conditions in UTF-8 databases - this could be a symptom of such a bug.
>
> --
> Andy Hassall :: a...@andyh.co.uk ::http://www.andyh.co.ukhttp://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool- Hide quoted text -- Show quoted text -
Received on Sun Jan 28 2007 - 22:14:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US