Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: No more pages in a tablespace

Posted By: Art Kagel
Date: Tuesday, 24 April 2012, at 5:27 a.m.

In Response To: RE: No more pages in a tablespace (LARRY SORENSEN)

OK, when you create an index on a fragmented table and do not specify an IN
clause or fragmentation scheme then the index is fragmented the same way as
the table it describes. However, you have fragmented the table using round
robin fragmentation and you cannot fragment an index round robin because
there would be no way to find a given index key except by scanning all
fragments of the index and that's just too inefficient, so Informix said
"No." when you asked it to do that. If you fragment the index by the key
column, or part of it, or use an IN clause to place the index unfragmented
into a single dbspace, that will be OK.

On your second question, you altered the table's storage from
non-fragmented to round-robin fragmentation. Round robin means that new
rows added to the table will be assigned to each of the fragments in a
round robin fashion. This does not require that existing rows be
redistributed so the existing rows were just dumped into one fragment and
so you still had more than 16million pages in that one fragment. If you
had fragmented by some expression on sets of values in a column (say all
rows with the serial column's value between 1 and 2000000 in the first
fragment, between 2000001 and 4000000 in the second fragment, etc, that
would have forced the rows to be redistributed across the <N> fragments and
all would have been well. Your solution, to unload the table, create the
table empty but fragmented round robin, then reload the rows accomplished
the same thing since the inserts were distributed round robin across the
fragments.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.

On Mon, Apr 23, 2012 at 9:04 AM, LARRY SORENSEN <lsorensen25@msn.com> wrote:

> Thank you all for your help with this issue. I have one more question, and
> I
> will also post my experience.
>
> 1) I fragmented the table as well as moved it into a new dbspace with a
> larger
> page size. When I tried to create the unique index on a column, as it was
> prior, I received an error message to the affect that it was not possible
> on a
> fragmented table. I ended up creating a normal index; however, I would
> prefer
> to have the unique constraint. Any ideas or comments?
>
> Experience
>
> First, I created a separate dbspace where I added 30+ GB of logical logs.
> I then performed an "ALTER FRAGMENT ON TABLE ..... INIT PARTITION BY ROUND
> ROBIN
>
> PARTITION part1 in dbspace1,
>
> PARTITION part2 in dbspace1....etc
>
> That ran for quite a while to completion. I never saw any rollback of the
> transaction; however, when it was done, I noticed the same error message in
> the online.log file stating that there were no more pages at about the time
> the ALTER statement finished. I performed an oncheck -pt on the table and
> it
> was the same.
>
> I then resorted to unloading the entire table, which took a long time,
> creating a new dbspace with a larger page size, creating an new table,
> ALTER
> FRAGMENT on the new table; and then I loaded the new table. That worked
> fine,
> but I wonder why the first try, without the unload, didn't work.
>
> Larry
>
> > To: ids@iiug.org
> > From: art.kagel@gmail.com
> > Subject: Re: No more pages in a tablespace [26792]
> > Date: Fri, 20 Apr 2012 18:18:46 -0400
> >
> > 1. Add lots more logical logs, sufficient to hold the whole transaction
> >
> > plus all of the other activity on the server during the reorg run - or -
> >
> > 2. ALTER TABLE <tablename> TYPE (raw); ALTER FRAGMENT...INIT...; ALTER
> >
> > TABLE <tablename> TYPE (standard);
> >
> > Art
> > Art S. Kagel
> > Advanced DataTools (www.advancedatatools.com)
> > Blog: http://informix-myview.blogspot.com/
> >
> > Disclaimer: Please keep in mind that my own opinions are my own opinions
> > and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
> > other organization with which I am associated either explicitly,
> > implicitly, or by inference. Neither do those opinions reflect those of
> > other individuals affiliated with any entity with which I am affiliated
> nor
> > those of the entities themselves.
> >
> > On Fri, Apr 20, 2012 at 4:20 PM, Larry Sorensen <lsorensen25@msn.com>
> wrote:
> >
> > > OK. So I just ran into a long transaction. What are my options now to
> get
> > > this done?
> > >
> > > -----Original Message-----
> > > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
> Art
> > > Kagel
> > > Sent: Friday, April 20, 2012 1:15 PM
> > > To: ids@iiug.org
> > > Subject: Re: No more pages in a tablespace [26781]
> > >
> > > Either fragment the table (ALTER FRAGMENT FOR <tablename> INIT FRAGMENT
> > > ......) or move the table to a dbspace with wider pages so that more
> rows
> > > fit
> > > on a page - so fewer pages. Choose a page size to minimize wasted
> space on
> > > the pages. That would just be ALTER FRAGMENT FOR <tablename> INIT IN
> <new
> > > dbspace>;
> > >
> > > Art
> > >
> > > Art S. Kagel
> > > Advanced DataTools (www.advancedatatools.com)
> > > Blog: http://informix-myview.blogspot.com/
> > >
> > > Disclaimer: Please keep in mind that my own opinions are my own
> opinions
> > > and
> > > do not reflect on my employer, Advanced DataTools, the IIUG, nor any
> other
> > > organization with which I am associated either explicitly, implicitly,
> or
> > > by
> > > inference. Neither do those opinions reflect those of other individuals
> > > affiliated with any entity with which I am affiliated nor those of the
> > > entities themselves.
> > >
> > > On Fri, Apr 20, 2012 at 10:12 AM, LARRY SORENSEN <lsorensen25@msn.com
> > > >wrote:
> > >
> > > > OK. So, now that I have reached that limit, what are the steps that I
> > > > need to go through to fragment that production table?
> > > > > To: ids@iiug.org
> > > > > From: paul@oninit.com
> > > > > Subject: RE: No more pages in a tablespace [26767]
> > > > > Date: Fri, 20 Apr 2012 10:11:18 -0400
> > > > >
> > > > > Still a hard limit AFAIK
> > > > >
> > > > > Cheers
> > > > > Paul
> > > > >
> > > > > -----Original Message-----
> > > > > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf
> > > > > Of
> > > > Larry
> > > > > Sorensen
> > > > > Sent: Friday, April 20, 2012 9:09 AM
> > > > > To: ids@iiug.org
> > > > > Subject: RE: No more pages in a tablespace [26766]
> > > > >
> > > > > I am running IDS 11.50.FC5 on Solaris 10
> > > > >
> > > > > I am receiving the error
> > > > >
> > > > > 08:05:20 Process exited with return code 1: /bin/sh /bin/sh -c
> > > > > /opt/informix/production/etc/log_full.sh 3 46 "part ition
> > > > > 'dle_gen:informix.eclaim_h_hist': no more pages" "" ""
> > > > >
> > > > > oncheck -pt shows the following:
> > > > >
> > > > > > oncheck -pt dle_gen:informix.eclaim_h_history
> > > > >
> > > > > TBLspace Report for dle_gen:informix.eclaim_h_hist
> > > > >
> > > > > Physical Address 13:2368379
> > > > >
> > > > > Creation date 10/18/2009 03:16:04
> > > > >
> > > > > TBLspace Flags 800902 Row Locking
> > > > >
> > > > > TBLspace contains VARCHARS
> > > > >
> > > > > TBLspace use 4 bit bit-maps
> > > > >
> > > > > Maximum row size 1491
> > > > >
> > > > > Number of special columns 4
> > > > >
> > > > > Number of keys 7
> > > > >
> > > > > Number of extents 85
> > > > >
> > > > > Current serial value 16342518
> > > > >
> > > > > Current SERIAL8 value 1
> > > > >
> > > > > Current BIGSERIAL value 1
> > > > >
> > > > > Current REFID value 1
> > > > >
> > > > > Pagesize (k) 2
> > > > >
> > > > > First extent size 8
> > > > >
> > > > > Next extent size 524288
> > > > >
> > > > > Number of pages allocated 16777215
> > > > >
> > > > > Number of pages used 16777215
> > > > >
> > > > > Number of data pages 16281308
> > > > >
> > > > > Number of rows 16281308
> > > > >
> > > > > I saw a previous post by Art stating that a single fragment of a
> > > > > table cannot have more than 16 million pages. It appears that we
> may
> > > > > have
> > > > reached
> > > > > that limit. Is that still the case for IDS 11.50? I couldn't find a
> > > > version
> > > > > in the previous post.
> > > > >
> > > > > Also, if that is the case, what is the detailed process for
> > > > > fragmenting
> > > > this
> > > > >
> > > > > table?
> > > > >
> > > > > Larry
> > > > >
> > > > >
> > > >
> **********************************************************************
> > > > ******
> > > > > ***
> > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
>
> ****************************************************************************
> > > ***
> > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
>
> ****************************************************************************
> > > ***
> > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > >
> > > >
> > >
> > > --e89a8f3ba75f2a4c5a04be211cd6
> > >
> > >
> > >
>
> ****************************************************************************
> > > ***
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> > >
> > >
> >
>
> *******************************************************************************
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> >
> > --14dae9340c01a4e45304be23ab0b
> >
> >
> >
>
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--e89a8f3ba959184dd204be695d88

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.