This article provides an overview of the Easy IWA Technical Articles Series. Using the TPCH database schema, Data Generation utilities and sample queries from http://www.tpc.org, this series covers everything to get up and running with IBM Informix Warehouse Accelerator including data generation, creation of an accelerator, loading a Data Mart and running a set of queries.
The introduction of IBM Informix Warehouse Accelerator (IWA) added the capability to place data from tables within an IBM Informix database into an in-memory, columnar data store using a derivative of Huffman encoding to encode and compress, based on the BLU development by IBM. The resultant performance was phenomenal, taking queries which scan millions of rows down to seconds on commodity hardware. Following discussions between Oninit Consulting Ltd and IBM Informix R&D there followed the additional capability to load data from external tables, which obviated the need for data storage requirements within the source IBM Informix database and allowed any data source able to be presented as an external table, file or pipe, to be loaded into a Data Mart within IWA. This has now been further extended so that views and synonyms can now also be used as a source for loading into IWA.
This series of technical articles was written in order to provide a comprehensive, technical introduction to getting up and running with IWA and culminates with a set of queries demonstrating the raw performance that can be achieved with minimal resources.
The articles are as follows and are provided with attached files where applicable:
All of the material was developed on a laptop running Windows 7 with an OpenSuse 13.1 Virtual Machine allocated 4 CPU cores and 6 GB RAM running IBM Informix Dynamic Server Enterprise Edition 12.10.FC4 with IWA (although this would be far within licensing limitations for Enterprise growth Edition).
As an example of the performance achieved on the above host, the following query with 48,000,000 lineitems took 22 seconds.
If this is not fast enough, then by just adding another 4 cores with no other changes, duration is nearly halved to 13 seconds!
These articles were written and developed by Oninit Consulting Ltd and kindly reviewed by Martin Fuerderer from IBM Informix R&D in Germany, thanks also go to Sandor Szabo!
Martin is key in the IBM Informix Warehouse Accelerator development, writes a thorough and enjoyable blog on IWA at http://tinyurl.com/the-iwa-blog and is also a significant contributor the “Query Acceleration for Business Using IBM Informix Warehouse Accelerator” IBM Redbook http://www.redbooks.ibm.com/abstracts/sg248150.html?Open
This article provides an introduction to IBM Informix Warehouse Accelerator and an overview of a set of supporting technical articles to enable the reader to go through all requirements of generating a set of sample data, creating an Accelerator, creating and loading two Data Marts and finally running a set of controlled queries utilising the TPCH standard benchmarks.
The code fix suggested above is provided “as is” without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.