Unix Technical Forum

Partition dilemma

This is a discussion on Partition dilemma within the Informix forums, part of the Database Server Software category; --> Version: IDS 10 I am having some difficulties understanding few things such as: 1. I know what indexes to ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 05:17 PM
mohitanchlia@gmail.com
 
Posts: n/a
Default Partition dilemma

Version: IDS 10

I am having some difficulties understanding few things such as:

1. I know what indexes to fragment but it's creating data skew, which
then makes it difficult to compute the size of dbspace. So I thought
instead ot fragmenting it in different dbspaces, why not fragment in
same dbspace by partion. But I am now not sure:
A. how Indexes are stored in partition.
B. Does same rule applies as it does for tablespace for eg: Max of
16.2 pages per partition.
C. Does partition have extents same as tablespaces
D. After we delete rows does partition in which we have indexes
shrink or is this like extents where space is not given back for other
indexes to use.

2. Does fragmenting by partion really help in any way ? I was thinking
it will atleast make the search of index Key Value faster as it will
eliminate rest of the partitions.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 05:17 PM
mohitanchlia@gmail.com
 
Posts: n/a
Default Re: Partition dilemma

On Aug 30, 5:55 pm, mohitanch...@gmail.com wrote:
> Version: IDS 10
>
> I am having some difficulties understanding few things such as:
>
> 1. I know what indexes to fragment but it's creating data skew, which
> then makes it difficult to compute the size of dbspace. So I thought
> instead ot fragmenting it in different dbspaces, why not fragment in
> same dbspace by partion. But I am now not sure:
> A. how Indexes are stored in partition.
> B. Does same rule applies as it does for tablespace for eg: Max of
> 16.2 pages per partition.
> C. Does partition have extents same as tablespaces
> D. After we delete rows does partition in which we have indexes
> shrink or is this like extents where space is not given back for other
> indexes to use.
>
> 2. Does fragmenting by partion really help in any way ? I was thinking
> it will atleast make the search of index Key Value faster as it will
> eliminate rest of the partitions.


If somebody has time to reply to my posts. Or please point me to
appropriate resource where I can do the reading myself. I am not
seeing enough information about the information that I am seeking.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 05:17 PM
Madison Pruet
 
Posts: n/a
Default Re: Partition dilemma

mohitanchlia@gmail.com wrote:
> Version: IDS 10
>
> I am having some difficulties understanding few things such as:
>
> 1. I know what indexes to fragment but it's creating data skew, which
> then makes it difficult to compute the size of dbspace. So I thought
> instead ot fragmenting it in different dbspaces, why not fragment in
> same dbspace by partion. But I am now not sure:
> A. how Indexes are stored in partition.


There can be multiple types of pages within a partition. The index page
is such a page type.

> B. Does same rule applies as it does for tablespace for eg: Max of
> 16.2 pages per partition.


There can be 0xffffff pages in a partition.

> C. Does partition have extents same as tablespaces

yes
> D. After we delete rows does partition in which we have indexes
> shrink or is this like extents where space is not given back for other
> indexes to use.


no

>
> 2. Does fragmenting by partion really help in any way ? I was thinking
> it will atleast make the search of index Key Value faster as it will
> eliminate rest of the partitions.


If you are going to attach and detach fragments - yes.

If you have deep indexes and can use fragmentation, then you can achieve
some performance benefits.

>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com