Unix Technical Forum

Problem with Table fragments

This is a discussion on Problem with Table fragments within the Informix forums, part of the Database Server Software category; --> Hello Gurus of the Informix World, My ignorance of Informix system had brought me to your doorsteps yet again. ...


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, 10:51 AM
Aashish Ramsinghani - ASDC, Chennai
 
Posts: n/a
Default Problem with Table fragments


Hello Gurus of the Informix World,
My ignorance of Informix system had brought me to your doorsteps yet
again.
My Problem:
I have 3 huge huge fact tables in my warehouse design and am trying to
fragment them. I want them to be fragmented monthly i.e. each month for
each year will have its own fragment for at lest for 2 years, later than
that I will keep fragments by years only.

I can use the Fragment by expression but I have to write scripts to add
a new table space and change the expression filter to accommodate the
new fragment every month. Is there any way of automating this process,
so that Informix would automatically decide on adding a new fragment
whenever it encounters a new distinct value like Year+month combination?

Can I also add all the fragments to the same dbspace so that all I have
to do is alter the Expression statement and not go about creating new
table spaces every time a new fragment is generated?

Regards,
Aash
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 10:51 AM
Superboer
 
Posts: n/a
Default Re: Problem with Table fragments

--Hello Gurus of the Informix World,

i sure aint a guru......

--so that Informix would automatically decide on adding a new
-- fragment
-- whenever it encounters a new distinct value like Year+month
-- combination?

if you program it.... ahum afaik you can not create some sort
of trigger that when it does not fit in your frag scheme add a
new fragment; sounds really like a nice feature to have though!!!
there are things like remainder.. (would not use it...) everything that

does not fit i would put in a myremainder where the expression
is all that the others are not. before adding a new fragment
check 'myremainder'

--Can I also add all the fragments to the same dbspace so that all I
-- have to do is alter the Expression statement and not go about
-- creating new table spaces every time a new fragment is generated?

afaik V 10 can do so; You have to test it though since i have not
tested and played with this feature yet....

See you

Superboer.

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 10:00 AM.


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