X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5164FD1B510 for ; Mon, 29 Sep 2003 04:32:39 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 92238-06 for ; Mon, 29 Sep 2003 01:32:29 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id ED7FED1B508 for ; Mon, 29 Sep 2003 01:32:28 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h8T4WShK065572 for ; Mon, 29 Sep 2003 04:32:28 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h8T4AnqP061072 for pgsql-admin@postgresql.org; Mon, 29 Sep 2003 04:10:49 GMT From: sandeep_g25@rediffmail.com (sandeep G) X-Newsgroups: comp.databases.postgresql.admin Subject: How to move BLOB partitions to a different tablespace? Date: 28 Sep 2003 21:10:03 -0700 Organization: http://groups.google.com/ Lines: 63 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=BAYES_20, FROM_ENDS_IN_NUMS, FROM_HAS_UNDERLINE_NUMS, RCVD_IN_OSIRUSOFT_COM, UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200309/465 X-Sequence-Number: 10553 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 ) ) );