Data Warehousing Community Forum
The Warehouse of Data warehousing knowledge ...
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 06, 2010, 02:32:48 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Light Blue
Light Navy
Light Silver
Light Turquoise
Light Green
Light Olive
Light Golden
Light Brown
Light Red
Light Rose
Light Lilac
Light Violet
Data Warehousing Community Forum
>
Databases
>
Oracle
> Topic:
Partition error using Alter
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Partition error using Alter (Read 353 times)
Arvind
DW Apprentice
Reputation: +10/-0
Offline
Posts: 71
Partition error using Alter
«
on:
May 24, 2008, 10:59:49 pm »
Trying to parttion the table "employee" after every 2000 rows -
I am using the following for partioning by range sytax and getting the error -
ALTER TABLE employee
ADD PARTITION BY RANGE (empno)
(
PARTITION emp_2000 VALUES LESS THAN (2001)
TABLESPACE tsp_1
);
Donot suggest to recreate the table by partioning at the early stage as the data volume of my original table is very huge...!
Help is appreciated...!
Logged
regards,
Arvind
samishta
DW Fresher
Reputation: +2/-0
Offline
Posts: 17
Re: Partition error using Alter
«
Reply #1 on:
May 29, 2008, 12:54:26 am »
Your syntax looks okay,.... what is the exact error you are encountering?
I have seen range partitions put up mostly on date fields.
Nevertheless consider the following to add partitions on your table,
To change an unpartitioned table to a range-partitioned table with three partitions, say, each of which is on a different segment:
alter table sample_tab partition by range (empno)
(smallempno values <= (2000) on seg1,
mediumempno values <= (4000) on seg2,
bigempno values <= (6000) on seg3)
To add yet another range partition to the table:
alter table sample_tab add partition
(vbigempno values <= (8000) on seg4)
Logged
Pages: [
1
]
Go Up
Print
Data Warehousing Community Forum
>
Databases
>
Oracle
> Topic:
Partition error using Alter
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Introductions
=> Rules
=> Anouncements & News
=> Suggestions
=> General Discussion
=> Job Opportunities
-----------------------------
Databases
-----------------------------
=> Oracle
===> PL/SQL
=> Microsoft SQL Server
=> IBM DB2
=> Teradata
-----------------------------
Data Warehousing
-----------------------------
=> Data Warehousing Concepts
=> Data Modeling
-----------------------------
ETL Tools
-----------------------------
=> Informatica
===> Installation & Configuration
=> Data Stage
=> Ab Initio
=> Oracle Warehouse Builder
=> DTS/SSIS
-----------------------------
Reporting Tools
-----------------------------
=> Business Objects
=> Cognos
=> Crystal Reports
=> Hyperion
=> Brio
=> Microstrategy
-----------------------------
Operating Systems
-----------------------------
=> UNIX / Linux
===> Unix Shell Scripting
=> Windows
-----------------------------
Other Technologies & Tools
-----------------------------
=> JAVA
-----------------------------
Guest Forum
-----------------------------
=> Guest Forum
Loading...