Feed items

  • strict warning: Non-static method view::load() should not be called statically in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/handlers/views_handler_argument.inc on line 744.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 24.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /homepages/43/d332539707/htdocs/drupal.planetids/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
mholzbauer's picture

Backup Costs with/without Compression

Here is a short calculation of Informix Backup costs with and without compression.
Informix backup can be compressed in different ways:
- ontape to disk (with ONCONFIG Parameters BACKUP_FILTER and RESTORE_FILTER)
- onbar to tape (with ONCONFIG Parameters BACKUP_FILTER and RESTORE_FILTER)
- onbar to tape (with TSM compression)

 
mholzbauer's picture

Expandable Chunks in Informix 11.70

One of my personal favorite new Features in IDS 11.70.

To enable the "Expandable Chunk" Feature we must set the following ONCONFIG Parameters:

 
 
 

$ onmode -wf SP_AUTOEXPAND=1        # 1 = The automatic creation or extension of chunks is enabled.

$ onmode -wf SP_THRESHOLD=131072    # set the minimum amount of free kilobytes that can exist in a storage space
                                    # before Informix automatically runs a task to expand the space, either by

 
mholzbauer's picture

Logical Logfile monitoring using SMI Tables - PART II

 

1. logical logfile backup times (onbar)

 
DATABASE sysutils;

SELECT a.obj_name::VARCHAR(10) AS logfile,
       b.act_start, b.act_end,
       (b.act_end - b.act_start)::INTERVAL SECOND(9) TO SECOND AS time_sec
 FROM bar_object a, bar_action b
  WHERE a.obj_oid = b.act_oid
    AND a.obj_type = 'L'
ORDER BY 1 ASC;

Database selected.

logfile    act_start           act_end             time_sec   

40852      2010-12-22 21:34:10 2010-12-22 21:34:15          5
 
mholzbauer's picture

Logical Logfile monitoring using SMI Tables - PART I

 

From the Informix Administrators Guide / Chapter 15:

You perform the following tasks routinely:

  • Backing up a logical-log file
  • Switching to the next logical-log file
  • Freeing a logical-log file
  • Monitoring logging activity and log-backup status    <== discussed here

You perform these tasks occasionally, if necessary:

 
mholzbauer's picture

Server Migration with IDS CLR (Continous Log Restore)

To minimize downtime when migrating IDS Instances from one Server to another (faster Server)
IDS CLR (Continous Log Restore) is one of the best choises.
CLR is available since IDS Version 11.
 
mholzbauer's picture

speed up cooked file chunk creation

Normaly IDS onspaces command creates existing (0 Byte) chunks/cooked files with
2k/4k blocksize (touch chunkname; onspaces -c/-a ....).
This can take a long time when creating large chunks (100 GByte or greater for example).
To speedup this task it can be helpful to create a litte script on AIX/Linux/Solaris which
creates a empty file with larger blocksizes:

#!/bin/sh
usage()
{
        printf "usage: $0 -f FILE -s SIZE_GB\n"
        printf "SIZE should be a multiple of 2 GByte !\n"
        exit 1
}

 
mholzbauer's picture

sysadmin database task to check table maximum number of pages

 

Every unfragmented/unpartitioned IDS Table can have a maximum of 16 Mio. pages.
To exceed this limit the table can be fragmented / partitioned.
Here is a example function/task for the IDS 11.X sysadmin database to check this limit.
The function triggers a Serverity RED Warning event if page fillfactor >= 98%, a Severity YELLOW
Warning event if page fillfactor >= 90% and a YELLOW Info event if page fillfactor >= 70%.

 

DATABASE sysadmin;

DROP FUNCTION check_table_pages1;
 
mholzbauer's picture

ids pagesize and maximum number of extents

 

Since IDS Version 10.00 dbspaces can be created with other than the default 2k/4k pagesize.

This feature has multiple benefits:

  • less disk I/O with larger pagesizes (8k ... 16k)
  • more rows per data/index page (max. 255 Rows / data page)
  • higher upper limit of rows per table (max. 16777216 pages / table fragment)
  • higher upper limit of table/index extents
  • reduce "-136 ISAM error: no more extents." Errors

Example (stores_demo database):

 
mholzbauer's picture

sysadmin database task to check table next extent will fit into

 

It could be a problem for the application (or the admin) when database tables next extent size
is larger than the dbspace free size. Here is a example function/task for the IDS 11.X sysadmin database to
check these events:

 
mholzbauer's picture

Welcome

 

Welcome to the Informix Administrators Blog !

 

My Name is Markus Holzbauer and I am working with Informix since Version 4.0
(which was EOS long time before Y2K) as Support Engineer, Consultant, DBA, ...

 

The Focus of this blog is to make IDS more "Administration free" and show how to
automatize and optimize DBA/Admin tasks..