pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sandeep_g25@rediffmail.com
To: pgsql-admin@postgresql.org
Subject: How to move BLOB partitions to a different tablespace?
Date: 28 Sep 2003 21:10:03 -0700
Message-ID: <e8975eb.0309282010.78e36868@posting.google.com> (raw)

I've a table which has a number & a blob column, both of which are NOT
NULL type. This table is composite partitioned using range & hash on
the same column.
Each partition is sub partitioned into two. I'm using ORACLE VERSION 9.0.2.

Now if I try to move the partitions to a different tablespace I get an
oracle error sayiing that ERROR: ORA_14257 cannot move partition other
than a Range or Hash partition

Now is there any other way to move the partition to another
tablespace. Here is the code


CREATE TABLE temp1
  (
      col1  INTEGER NOT NULL ,
      col2  BLOB NOT NULL 
  )
  TABLESPACE space
  LOB (col2) STORE AS 
    ( 
     DISABLE STORAGE IN ROW
     PCTVERSION 10
     NOCACHE
    )
  NOPARALLEL
  NOCACHE
  PARTITION BY RANGE (col1)
  SUBPARTITION BY HASH (col1)
  (
  PARTITION p1 VALUES LESS THAN (10)
  TABLESPACE space
  LOB (col2) STORE AS 
    ( 
     TABLESPACE space
     PCTVERSION 10
     NOCACHE
    )
  (
   SUBPARTITION sp1 TABLESPACE  space
   LOB (col2) STORE AS 
     ( TABLESPACE space )
  ,SUBPARTITION sp2 TABLESPACE  space
   LOB (col2) STORE AS 
     ( TABLESPACE space )
  )
  ,PARTITION p2 VALUES LESS THAN (20)
  TABLESPACE space
  LOB (col2) STORE AS 
    ( 
     TABLESPACE space
     PCTVERSION 10
     NOCACHE
    )
  (
   SUBPARTITION sp3 TABLESPACE  space
   LOB (col2) STORE AS 
     ( TABLESPACE space )
  ,SUBPARTITION sp4 TABLESPACE  space
   LOB (col2) STORE AS 
     ( TABLESPACE space )
  )
  );



Message-ID: <e8975eb.0309282010.78e36868@posting.google.com>
Permalink:  ../e8975eb.0309282010.78e36868@posting.google.com/
Also on:    postgresql.org/message-id/e8975eb.0309282010.78e36868@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sandeep_g25@rediffmail.com
  Subject: Re: How to move BLOB partitions to a different tablespace?
  In-Reply-To: <e8975eb.0309282010.78e36868@posting.google.com>
  References: <e8975eb.0309282010.78e36868@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox