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: Drop or resize fragment

Posted By: Jonathan Leffler
Date: Saturday, 23 March 2013, at 7:31 a.m.

In Response To: Re: Drop or resize fragment (John Miller iii)

On Fri, Mar 22, 2013 at 11:31 AM, John Miller iii <miller3@us.ibm.com>wrote:

>
> dGhlIHRhYmxlIHNocmluayBmdW5jdGlvbiB3aWxsIHJlbW92ZSBhbGwgZnJlZSBzcGFjZSBhdCB0
>
> aGUgZW5kIG9mIHRoZQ0KdGFibGUgdG8gdGhlDQpmaXJzdCBleHRlbnQgc2l6ZS4gICBZb3UgY2Fu
>
> IGZpcnN0IGFsdGVyIHRoZSB0YWJsZSBhZGp1c3RpbmcgdGhlIGZpcnN0DQpleHRlbnQgc2l6ZSwg
>
> dGhlbiByZW1vdmUNCmFsbCB0aGUgZnJlZSBzcGFjZSBhdCB0aGUgZW5kIG9mIGVhY2ggZnJhZ21l
>
> bnQgYnkgdXNpbmcgdGhlIHNocmluayBjb21tYW5kLg0KDQpleGVjdXRlIGZ1bmN0aW9uI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yMDEzXzA2LA0Kb3INCj4gZXZlbiBiZXR0ZXIgcmVzaXplIGl0IG11Y2ggc21hbGxlci4N
>
> Cj4NCj4gSSBjYW4ndCBzZWUgdGhlIHN5bnRheCBmb3IgcmVkdWNpbmcgdGhlIGZpcnN0IGV4dGVu
>
> dCBzaXplIG9mIGEgZnJhZ21lbnQuDQo+DQo+IFdoZW4gSSB0cmllZDoNCj4gQUxURVIgRlJBR01F
>
> TlQgT04gVEFCTEUgdGFibGVuYW1lIERST1AgUEFSVElUSU9OIHAyMDEzXzA2DQo+DQo+IEkgZ290
>
> IOKAnGRiczAyIGlzIGZ1bGzigJ0uIFdoaWNoIGlzIHRydWUuIEJ1dCB3aGF0IHdhcyBpdCB0cnlp
>
> bmcgdG8gZG8/DQo+IFBlcmhhcHMgaWYNCj4gSSBhZGRlZCBqdXN0IGEgdGlueSBjaHVuayB0byBk
>
> YnMwMiBJJ2QgYmUgT0s/DQo+DQo+IFdoYXQgSSByZWFsbHkgZG8gTk9UIHdhbnQgaXMgZm9yIHRo
>
> ZSB3aG9sZSB0YWJsZSwgYWxsIDEgYmlsbGlvbiByb3dzLCB0bw0KYmUNCj4gcHJvY2Vzc2VkLiBU
>
> aGlzIGZyYWdtZW50IGlzIGVtcHR5IGFuZCB0aGUgb3BlcmF0aW9uIHNob3VsZCwgSSBob3BlLCBi
>
> ZQ0KPiBpbnN0YW50YW5lb3VzPw0KPg0KPiBUaGFua3MNCj4gTg0KPg0KPg0KPg0KKioqKioqKioq
>
> KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
>
> KioqKioqKioqKioqKg0KDQo+ICAgRm9ydW0gTm90ZTogVXNlICJSZXBseSIgdG8gcG9zdCBhIHJl
> c3BvbnNlIGluIHRoZSBkaXNjdXNzaW9uIGZvcnVtLg0KPg==
>

Which, being translated and truncated (removing much of the email to which
it reponds), says:

the table shrink function will remove all free space at the end of the
table to the
first extent size. You can first alter the table adjusting the first
extent size, then remove
all the free space at the end of each fragment by using the shrink command.

execute function task("fragment shrink", partnum)

OR

execute function task("table shrink", "tabname","dbsname")

John F. Miller III
STSM, Lead Architect
miller3@us.ibm.com
503-747-1366
IBM Informix Dynamic Server (IDS)

ids-bounces@iiug.org wrote on 03/22/2013 10:47:24 AM:

> From: "NEIL TRUBY" <neil.truby@ardenta.com>
> To: ids@iiug.org,
> Date: 03/22/2013 10:48 AM
> Subject: Drop or resize fragment [29880]
> Sent by: ids-bounces@iiug.org
>
> We've created a table with multiple fragments.

John's second attempt said (with most of the email being responded to
included):

VGhlIHRhYmxlL2ZyYWdtZW50IHNocm
luayBmdW5jdGlvbiB3aWxsIHJlbW92ZSBhbGwgZnJlZSBz
cGFjZSBhdCB0aGUgZW5kIG9mDQp0aGUgdGFibGUvZnJhZ21lbnQNCnRvIHRoZSBmaXJzdCBleHRl
bnQgc2l6ZS4gICBZb3UgY2FuIGZpcnN0IGFsdGVyIHRoZSB0YWJsZSBhZGp1c3RpbmcgdGhlDQpm
aXJzdCBleHRlbnQgc2l6ZSwgdGhlbiByZW1vdmUNCmFsbCB0aGUgZnJlZSBzcGFjZSBhdCB0aGUg
ZW5kIG9mIGVhY2ggZnJhZ21lbnQgYnkgdXNpbmcgdGhlIHNocmluayBjb21tYW5kLg0KDQpleGVj
dXRlIGZ1bmN0aW9uIHRhc2soImZyYWdtZW50IHNocmluayIsIHBhcnRudW0pDQoNCk9SDQoNCmV4
ZWN1dGUgZnVuY3Rpb24gdGFzaygidGFibGUgc2hyaW5rIiwgInRhYm5hbWUiLCJkYnNuYW1lIikN
Cg0KDQoNCkpvaG4gRi4gTWlsbGVyIElJSQ0KU1RTTSwgTGVhZCAgQXJjaGl0ZWN0DQptaWxsZXIz
QHVzLmlibS5jb20NCjUwMy03NDctMTM2Ng0KSUJNIEluZm9ybWl4IER5bmFtaWMgU2VydmVyIChJ
RFMpDQoNCg0KaWRzLWJvdW5jZXNAaWl1Zy5vcmcgd3JvdGUgb24gMDMvMj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nIHRvIGRvPw0KPiBQZXJoYXBzIGlmDQo+IEkgYWRkZWQganVzdCBh
IHRpbnkgY2h1bmsgdG8gZGJzMDIgSSdkIGJlIE9LPw0KPg0KPiBXaGF0IEkgcmVhbGx5IGRvIE5P
VCB3YW50IGlzIGZvciB0aGUgd2hvbGUgdGFibGUsIGFsbCAxIGJpbGxpb24gcm93cywgdG8NCmJl
DQo+IHByb2Nlc3NlZC4gVGhpcyBmcmFnbWVudCBpcyBlbXB0eSBhbmQgdGhlIG9wZXJhdGlvbiBz
aG91bGQsIEkgaG9wZSwgYmUNCj4gaW5zdGFudGFuZW91cz8NCj4NCj4gVGhhbmtzDQo+IE4NCj4N
Cj4NCj4NCioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCg0KPiAgIEZvcnVtIE5vdGU6IFVzZSAiUmVw
bHkiIHRvIHBvc3QgYSByZXNwb25zZSBpbiB0aGUgZGlzY3Vzc2lvbiBmb3J1bS4NCj4=

Which, being translated (and marginally truncated and cleaned up), is:

The table/fragment shrink function will remove all free space at the end of
> the table/fragment
> to the first extent size. You can first alter the table adjusting the
> first extent size, then remove
> all the free space at the end of each fragment by using the shrink command.
>
> execute function task("fragment shrink", partnum)
>
> OR
>
> execute function task("table shrink", "tabname","dbsname")
>
>
>
> John F. Miller III
> STSM, Lead Architect
> miller3@us.ibm.com
> 503-747-1366
> IBM Informix Dynamic Server (IDS)
>
>
> ids-bounces@iiug.org wrote on 03/22/2013 10:47:24 AM:
>
> > From: "NEIL TRUBY" <neil.truby@ardenta.com>
> > To: ids@iiug.org,
> > Date: 03/22/2013 10:48 AM
> > Subject: Drop or resize fragment [29880]
> > Sent by: ids-bounces@iiug.org
> >
> > We've created a table with multiple fragments. It's fragmented by
> expression
> > so each fragment holds a month's data and is about 4g in size.
> >
> > Now one of the dbspaces is full! I'd like to drop some of the *future*
> > fragments that don't have anything in them yet, say the one for 2013_06,
> or
> > even better resize it much smaller.
> >
> > I can't see the syntax for reducing the first extent size of a fragment.
> >
> > When I tried:
> > ALTER FRAGMENT ON TABLE tablename DROP PARTITION p2013_06
> >
> > I got “dbs02 is full”. Which is true. But what was it trying to do?
> > Perhaps if
> > I added just a tiny chunk to dbs02 I'd be OK?
> >
> > What I really do NOT want is for the whole table, all 1 billion rows, to
> be
> > processed. This fragment is empty and the operation should, I hope, be
> > instantaneous?
> >
> > Thanks
> > N
>

--
Jonathan Leffler <jonathan.leffler@gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2013.0118 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."

--047d7b67098f7eb64004d895ea7b

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.