Home » RDBMS Server » Performance Tuning » Partitions (Oracle 11g)
Partitions [message #469711] Thu, 05 August 2010 10:59 Go to next message
ravi214u
Messages: 153
Registered: February 2008
Location: CANADA
Senior Member
Hi All,

I have to create a hash partition on fact tables..can you pls suggest we can use temp tablespace or permanent tablespace.

Thanks
Re: Partitions [message #469712 is a reply to message #469711] Thu, 05 August 2010 11:06 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Your question is completly ununderstandable.
Explain your problem.

Regards
Michel
Re: Partitions [message #469722 is a reply to message #469712] Thu, 05 August 2010 11:46 Go to previous messageGo to next message
ravi214u
Messages: 153
Registered: February 2008
Location: CANADA
Senior Member
i want to create partition on fact tables.. Want to understand .. which tablespace we use for partiton.
Re: Partitions [message #469727 is a reply to message #469722] Thu, 05 August 2010 11:49 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>Want to understand .. which tablespace we use for partiton.
I would use tablespace PARTITIONED_FACT, but you may decided to use a different tablespace.
Re: Partitions [message #469728 is a reply to message #469722] Thu, 05 August 2010 11:49 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Same as for tables.

Regards
Michel
Re: Partitions [message #469740 is a reply to message #469728] Thu, 05 August 2010 12:11 Go to previous messageGo to next message
ravi214u
Messages: 153
Registered: February 2008
Location: CANADA
Senior Member
Thanks for feedback.
Below is the example of the partition i am going to use.
partition by hash (ad_id)
(
  partition ad1 tablespace ad1,
  partition ad2 tablespace ad2,
  partition ad3 tablespace ad3,
  partition ad4 tablespace ad4
)


So in this case i have to break the existing permanent table space into ad1 to ad4 to do the partition.
Re: Partitions [message #469742 is a reply to message #469740] Thu, 05 August 2010 12:14 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>So in this case i have to break the existing permanent table space into ad1 to ad4 to do the partition.
WHY? To what advantage?
Re: Partitions [message #469752 is a reply to message #469742] Thu, 05 August 2010 13:03 Go to previous messageGo to next message
ravi214u
Messages: 153
Registered: February 2008
Location: CANADA
Senior Member
I think it will help in performace improvement if we split the existing partition in to many small segments..
I am not sure about it.
Re: Partitions [message #469754 is a reply to message #469752] Thu, 05 August 2010 13:04 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Quote:
I think it will help in performace improvement if we split the existing partition in to many small segments..
I am not sure about it.

So make tests and run benchmarks.
But before, read Oracle documentation about partitioning this will prevent you from wasting your time.

Regards
Michel
Re: Partitions [message #469756 is a reply to message #469752] Thu, 05 August 2010 13:09 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Is it better to cut pizza into 6, 8, or 12 slices?
Since I am not that hungry, better make only 6 slices; since I am not hungry enough to eat 12 slices.

>I think it will help in performace improvement if we split the existing partition in to many small segments..
SEGMENT is not the same as TABLESPACE. With DB words matter!
Having multiple tablespaces on same volume has NO impact on performance!
Re: Partitions [message #469811 is a reply to message #469756] Thu, 05 August 2010 21:34 Go to previous message
rahulvb
Messages: 924
Registered: October 2009
Location: Somewhere Near Equator.
Senior Member
BlackSwan wrote on Thu, 05 August 2010 13:09
Is it better to cut pizza into 6, 8, or 12 slices?
Since I am not that hungry, better make only 6 slices; since I am not hungry enough to eat 12 slices.


Laughing Indeed.
Previous Topic: Force Subquery To Use index
Next Topic: create table statement
Goto Forum:
  


Current Time: Fri Nov 22 08:29:25 CST 2024