for   
Save 
Save 
   Join IIUG  

Informix News
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read

Previous news items
 

Home Member Area About IIUG


Resources
IIUG Insider
IIUG Hotspots
IBM-Informix Links
IIUG RSS Feeds
Software Repository
Informix Products
Online Resources
Informix Library
Informix Books
IIUG Banners
Discussion
Technical SIGs
Non-technical
Other Discussion
Community
Events
Webcasts/Chat w Lab
IIUG TV
IIUG Sponsors
Informix Business Directory
IIUG Press Partners
Local User Groups
Job Board
Fun Stuff

[ Post Response ] [ Return to Index ]

Spatial Users Forum

Re: BTree Index Extent Sizes with Spatial Tables

Posted By: STUART MCCANN
Date: Thursday, 1 March 2007, at 8:32 p.m.

Unfortunately it seems that once you use a spatial type (and I suspect other UDTs, although I haven't tested) in a table the BTree index extent sizing algorithm gets it wrong even though the indexes are on built in data types.

For example, Given the following DDL and loading some data

create table testt (

id integer ,

shape st_multipolygon
) put shape in ( blobsbs ) extent size 81400 ;

create index testi on testt ( id ) ;

The below output from oncheck -pt clearly shows the first extent size for table testt as 40700 pages (81400KB). The index is on an int type and has been allocated a first extent sized of just 142 Pages (284Kb), however 2410 pages (4820Kb) have been used to store the index.

TBLspace Report for sdecad:informix.testt

Physical Address 8:2012

Creation date 02/22/2007 14:55:09

TBLspace Flags 901 Page Locking

TBLspace contains VARCHARS

TBLspace use 4 bit bit-maps

Maximum row size 2056

Number of special columns 1

Number of keys 0

Number of extents 1

Current serial value 1

Pagesize (k) 2

First extent size 40700

Next extent size 8

Number of pages allocated 40700

Number of pages used 11125

Number of data pages 11122

Number of rows 68438

Partition partnum 8388717

Partition lockid 8388717

Extents

Logical Page Physical Page Size Physical Pages

0 8:36823 40700 40700

Index testi fragment partition cadreposdbs in DBspace cadreposdbs

Physical Address 8:2013

Creation date 02/22/2007 14:55:09

TBLspace Flags 801 Page Locking

TBLspace use 4 bit bit-maps

Maximum row size 2056

Number of special columns 0

Number of keys 1

Number of extents 12

Current serial value 1

Pagesize (k) 2

First extent size 142

Next extent size 4

Number of pages allocated 2410

Number of pages used 2409

Number of data pages 0

Number of rows 0

Partition partnum 8388718

Partition lockid 8388717

I guess that most likely this is due to the maximum row size calculated, (2048 maxlen for the spatial type and 4 bytes for the int).

So, in our systems we need to drop and recreate B-Tree indexes on highly active (insert, update delete) spatial tables daily as they become interleaved within their DBSpaces. Not a very high availability option though, everybody/everything out. The drop/create index online statement causes too many concurrency problems to contenmplate using in mission critical production systems.

Alternatively, we can create the table with a first extent size 20 times greater than is required for the data so that we can get a properly sized first extent on the index. Just a bit wasteful on disk though. It would be really nice if you could specify an extent size when creating the index or change the index extent size algorithm to handle tables with spatial/UDTs better.

[ Post Response ] [ Return to Index ]

Spatial Users Forum is maintained by Administrator with WebBBS 5.12.

©2001 - 2007 International Informix Users Group.   All rights reserved.     Terms of use    
*** Powered By IBM Informix Dynamic Server V10.00 ***