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: Experiences with database extensibility:

Posted By: Art S. Kagel (Oninit LLC)
Date: Tuesday, 8 January 2008, at 9:01 p.m.

In Response To: Experiences with database extensibility: (ERIC DAVIES)

ERIC DAVIES wrote:
> The existing server extensibilities in modern DBMSs have been critical in our
> company’s development of software products that improve database performance
> for certain scientific computing applications. We are planning to develop
> other products that will utilize an extensible database engine, and so we
> would be grateful for feedback on the following questions as they pertain to
> your experience in developing IDS applications:
>
> 1. What types of extensibility (i.e., data types, functions/methods, indexing,
> etc.) are available and convenient to use in practice?
>

I prepared this for a client recently. Since I didn't charge for
compiling the list, here it is for posterity. There are a rather long
list of new features that were introduced in 9 and later in IDS 10 that
one is no able to take advantage of while constrained to the features
offered in IDS 7.3x. The more significant of these include:

*

_Opaque types_

Ability to create business specific data types that the engine

does not need to interpret, but which are meaningful to

applications or to users. For example an warehouse application

could define a type wh_locator type as a structure containing

several fields including an item's RFID tag id, bin and shelf. IDS

does not need to access the contents of the structure, but an

application can load the column's contents directly into a binary

data structure and access it.

*

_Distinct types_

Ability to define new business specific types which are range

restrictions on existing types. Distinct types can be based on

built-in or user defined types including row types and opaque

types. Distinct types are strongly typed so that one must define

type type casts to convert to other standard data types. An

example might be a dept code type which is defined as a 9 digit

character string which only accepts numeric digits and whose

length must be exactly 9 characters long.

*

_User defined types (UDTs)_

Ability to create business specific data types with built-in rules

controlling the range of values and conversions to other types. An

example might include wh_cost_usd, wh_curr_gbp, wh_cost_eur, etc.

types that include an understanding of their inherent currency

codes and conversion functions between each other that reference a

table of conversion factors by date to permit comparisons within

the engine and automated conversions between customer currencies

and USD. Extending the example, an invoice detail line table could

use this bh_cost_usd type for storage while the application can

request an automatic conversion to type wh_cost_eur for European

customers' invoice display and printing.

*

_User defined casts_

Related to UDTs are UDCs or explicit and implicit casts for

converting values of one type to another.

*

_User defined routines (UDRs)_

The ability to write more efficient and/or more capable procedures

in the engine using C and/or Java. These 'host language' routines

have access to all server facilities and can be far more complex

and therefore more efficient than SPL routines. Along with this

came the differentiation of STORED PROCEDURES and STORED FUNCTIONS

as SPL routines that do not return inline data and those that do.

*

_User defined aggregate functions_

Define a set of UDRs that can be used to initialize, iterate,

combine, and complete a aggregation calculation on a set of data.

The resulting aggregate 'function' can be used like the built-in

SUM(), AVG(), MIN(), and MAX() functions in GROUP BY queries, etc.

*

_Virtual Table Interface (VTI)_

This is the ability to define files and databases external to IDS

as tables in the database where they are treated as native

including defining access methods for searching, reading,

inserting, updating, and deleting data from these 'tables'. The

example is a flat file that is pre-processed into a temp table so

that its contents can be filtered and processed into multiple

result tables. By defining an external table for the flat file IDS

can index the 'table' directly and search it or even include its

contents in a INSERT INTO ... SELECT ... FROM ...; statement. This

can save the overhead of reading the file into a temporary or

permanent staging table and deleting the table and/or its contents

later.

*

_Virtual Index Interface (VII)_

A set of definitions and function hooks that permit one to define

new index methods to fit application requirements. The new RTREE

built-in index method for geographic/graphical data is built on

this interface and the default BTREE index method has been

reimplemented using the VII interface to simplify server code.

*

_Datablades and bladelets_

Datablades are Informix's method of extending the capabilities of

the IDS instance with business logic, new indexing methods, or

even whole new data manipulation capabilities. Bladelets are

smaller packages containing a small number of UDRs that improve

the usability of the IDS instance. There are already many useful

datablades that are available including the CopperEye datablade

that uses the VII interface to define a new index type which is

highly efficient for highly volatile tables, several full text

search datablades, the time-series datablade which permits

efficient tables of time-dependent data, the node datablade which

defines hierarchical relationships between rows in a table, and

others. Many bladelets are also available like the Dynamic SQL

Bladelet which permits SPL routines to define SQL on the fly and

execute it, a regular expression bladelet, etc.

*

_Functional indexes_

This is a favorite of mine. This extends the usability of IDS

indexes in many ways. IDS indexes are otherwise limited to

indexing 32 columns and certain data types cannot be included.

With a functional index based on a Java language UDR you can pass

up to 255 columns as arguments to the UDR and the functions return

is the value which becomes the key in the index Btree. The return

can be a compressed version of the original columns or some

calculation based on them. As long as the function is invariant

and deterministic it can be used.

*

_Row types_

The ability to create a collection of datatypes which can be used

to define a table column or even an entire table. When you have

several tables which will have wholly or partially identical lists

of columns row types can be used to simplify administration. The

classic example is to define an address row type as two address

lines plus city, state, postal code, and country columns and use

that as a column in any table that needs to store addresses. This

guarantees that the address columns are always the same length, etc.

*

_Additional built-in types_

*

BOOLEAN

Classic true/false

*

SERIAL8

64bit extended serial type – a table can contain both a SERIAL and

SERIAL8 column.

*

Int8

64bit integer – note this is a proprietary format which is NOT

compatible with 64bit C/C++ integers (though one could use it to

define a distinct type with conversion functions written in 'C' to

make the conversion).

*

Smart large objects – BLOB and CLOB types.

*

LVARCHAR - Stores variable-length strings of up to 32,739 bytes

*

_Collection data types_ - SET, LIST, MULTISET – these are new

collection data types which can hold multiple values of the same

type in a single column. Lists are ordered collections permitting

duplicate values, sets and multisets are unordered. Sets do not

permit duplicate values, multisets do. The collections can be

built of any single built-in type or UDT except SERIAL, SERIAL8,

and simple large objects.

*

_Sequences_

Similar to sequences under Oracle, but more flexible and much more

efficient in runtime resources.

*

_OP Classes_

Allow you to create functions that indexes use to order and search

data within the index, including at build time. User defined op

classes can be used to support application specific key ordering.

*

_XA Datasource management_

IDS 10+ can coordinate XA transactions affecting multiple

databases in unlike servers (ie Oracle, DB2, etc) that support XA

protocols or that are managed by a transaction manager like Tivoli

using UDRs.

*

User Virtual Processors

Permits you to isolate UDRs and datablades to purpose specific VPs

so that bugs and performance problems in these user developed

features cannot adversely affect unrelated users and

Note that unlike the extension libraries available for other database
systems, any of these features that are not built-in are incorporated
into the core of the IDS engine so that their use does not detract for
server performance or cause general server crashes. Once such code has
been thoroughly debugged it can be deployed in the standard CPU VPs or
in multiple user VPS to gain from server parallelization.

> 2. What types of extensibility (possibly already available in other DBMSs) are currently missing in IDS?
>

None.

> 3. To what extent was your choice of IDS as a development platform based primarily on its extensibility features?
>

Chose IDS years before extensibility was included. It just keeps getting
better every day!.

Art S. Kagel
Oninit

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.