0% found this document useful (0 votes)
77 views91 pages

Informix Tutorials-Configuring Informix

The document describes an upcoming webinar by Lester Knutsen of Advanced DataTools on configuring a new Informix server using scripts. The webinar will cover scripting the Informix ONCONFIG file and best practices for configuring memory, CPUs, networking, and disks. It will include demos of scripts for configuring environment variables, networking settings, server properties, and initializing a new server.

Uploaded by

gen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views91 pages

Informix Tutorials-Configuring Informix

The document describes an upcoming webinar by Lester Knutsen of Advanced DataTools on configuring a new Informix server using scripts. The webinar will cover scripting the Informix ONCONFIG file and best practices for configuring memory, CPUs, networking, and disks. It will include demos of scripts for configuring environment variables, networking settings, server properties, and initializing a new server.

Uploaded by

gen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 91

Advanced DataTools

Webcast
from the IBM Informix Champions

Informix Tutorial
Configuring a New Informix
Server
by Lester Knutsen
Thursday, February 27, 2020
2:00pm EDT
Lester Knutsen
Lester Knutsen is President of Advanced DataTools
Corporation and has been building large data
warehouse and business systems using Informix
Database software since 1983. Lester focuses on
large database performance tuning, training, and
consulting. Lester is a member of the IBM Gold
Consultant program and was presented with one of
the Inaugural IBM Information Champion awards by
IBM. Lester was one of the founders of the
International Informix Users Group and the
Washington Area Informix User Group.

[email protected]
www.advancedatatools.com
703-256-0267 x102
2
Webcast Guidelines
• The Webcast is being recorded. The
Webcast replay and slides will be
available in a few days.
• Please Mute your line. Background
sounds will distract everyone.
• Use the Chat Button in the upper right
to ask questions.

3
Informix Tutorial -
Configuring a New Informix
Server by Lester Knutsen

How to script configuring an Informix Server? This


Webcast will cover everything you need to know to
build using scripts a new small or large server. The
Webcast will be a review of the Informix ONCONFIG
file and configuring memory, CPUs, Network, and Disk
for a more extensive Informix Server configuration.
Agenda
• Demo – Script to configure an Informix Server
• CPU Recommendations and Best Practices
• Memory Recommendations and Best
Practices
• ONCONFIG Recommendations and Best
Practices
• Demo – Ten scripts to configure a large
Informix Server

5
Demo – Script to configure
an Informix Server
• informix.env – set the environment
variables
• sqlhosts - configure the network
settings
• onconfig.servername – configure the
server properties
• setup.sh – initialize and configure a new
server
6
CPU – Central Processor Unit
Recommendations for Informix
and Best Practices
CPU Terms
• Socket = One Chip or Processor
• Cores per Socket = How many cores run on a chip. A core only
runs one process at a time.
• Hyper-Threads or SMT threads per Core = Many Cores have
the ability to run multiple threads. No matter how many threads
run on a Core, only one thread can run at a time on a core.
Hyper-Threads will appear as additional Virtual Cores.
• Chip speed is measured in gigahertz (GHz); this is the speed of
a single core of your processor.
• PVU - IBM Processor Value Unit = A unit of measure used to
differentiate licensing of software

Informix 8
Configuration
CPU Terms
• Example: 2 Sockets with 5 Cores and 2 Hyper-
Threads per Core = 10 Cores and 20 Virtual Cores
• Can run 10 processes at the same time

Informix 9
Configuration
Informix CPU Best Practices
• How many Cores will be allocated for
Informix? What else is running on the
machine?
• Traditional best practice is number of
physical CPU Cores minus 1
• Current CPU Cores are fast enough to
handle 2-3 oninits per Core or 1 oninit
per 500-1000 MHz
Informix 10
Configuration
CPU Usage Best Practices
• How busy are your CPUs?
• Tools to monitor:
– sar –u, vmstat, mpstat, top, prstat
• Performance Guideline for Average CPU Usage:
– < 30 % - Good
– 30-60% - Fair
– > 60% - Poor
• Save 60% of your CPU usage to handle workload
spikes or you may not be able to handle busy
loads

Informix 11
Configuration
Hyper-Threads or SMT
Threads
• Hyper-Threads and SMT Threads may
not be helpful to Informix oninit process
• Example:
Informix on AIX:
Each AIX Core
has 4 SMT
threads, each
displaying as a
CPU; only the
first thread is
busy, the rest
are idle.

Informix 12
Configuration
Hyper-Threads or SMT
Threads Best Practices
• Test, Test and Test again; don’t assume that
more Hyper-Threads or SMT threads are
better. Your workload will determine what is
best.
• AIX – Try 2 SMT threads per Core on Power6
and Power7, 4 SMT on Power8 or Power9
• Intel – Try 2 Oninits per Core instead of 2
Hyper-Threads and 1 Oninit per Hyper-
Thread
Informix 13
Configuration
Informix Architecture
SQL SQL SQL SQL SQL
Clients Clients Clients Clients Clients

Oninit Oninit Oninit

Oninit
Informix
Shared
Oninit Memory Oninit

Disk Drives
Informix 14
Configuration
Oninit Process
informix@train6:~ train6 > ps -ef | grep oninit
informix 22472 1 9 14:03 ? 00:00:03 oninit -v
root 22473 22472 0 14:03 ? 00:00:00 oninit -v
root 22474 22473 0 14:03 ? 00:00:00 oninit -v
root 22475 22473 0 14:03 ? 00:00:00 oninit -v
root 22476 22473 0 14:03 ? 00:00:00 oninit -v
root 22477 22473 0 14:03 ? 00:00:00 oninit -v
root 22478 22473 0 14:03 ? 00:00:00 oninit -v
root 22479 22473 0 14:03 ? 00:00:00 oninit -v

Informix 15
Configuration
Oninit Process
onstat –g sch
informix@train6:~ train6 > onstat -g sch

IBM Informix Dynamic Server Version 12.10.FC6 -- On-Line -- Up 00:02:12 -- 766404 Kbytes
VP Scheduler Statistics:
vp pid class semops busy waits spins/wait bsy lspins
1 22472 cpu 141 0 0 0
2 22473 adm 0 0 0 0
3 22474 lio 4115 0 0 0
4 22475 pio 30 0 0 0
5 22476 aio 7453 0 0 0
6 22477 msc 5 0 0 0
7 22478 fifo 2 0 0 0
8 22479 soc 2 0 0 0
9 22480 aio 2890 0 0 0
10 22481 aio 187 0 0 0
11 22482 aio 113 0 0 0
12 22483 aio 55 0 0 0
13 22484 aio 58 0 0 0
14 22485 aio 41 0 0 0
15 22486 aio 32 0 0 0
16 22487 aio 29 0 0 0
17 22489 aio 22 0 0 0

Informix 16
Configuration
Oninit Process Classes
• CPU - Executes all user and session threads and some system threads
• PIO - Handles physical log file when cooked disk space is used
• LIO - Handles logical log file when cooked disk space is used
• AIO - Handles disk I/O
• SHM - Performs shared memory communications
• TLI - Performs TLI network communications
• SOC - Performs socket network communications
• FIFO - Performs FIFO operations
• OPT - Handles optical disk I/O
• ADM - Executes administrative threads
• ADT - Executes auditing threads
• MSC - Handles request for system calls

Informix 17
Configuration
Oninit Process
Automatically Started
• Started Automatically
– PIO - Handles physical log file when cooked disk space is used
– LIO - Handles logical log file when cooked disk space is used
– FIFO - Performs FIFO operations
– ADM - Executes administrative threads
– MSC - Handles request for system calls
• Started when Auditing is on
– ADT - Executes auditing threads
• Started when UDRs are called
– Java
– User Defined Functions

Informix 18
Configuration
Oninit Process Controlled
by VPCLASS
• ONCONFIG VPCLASS Setting
– CPU - Executes all user and session threads and
some system threads
– AIO - Handles disk I/O

Informix 19
Configuration
VPCLASS Options
The VPCLASS parameter allows you to:
• Designate a class of virtual processors (VPs)
• Create a user-defined VP, and specify the following information
for it:
– The number of virtual processors that the database server should start
initially - optional
– The maximum number of virtual processors allowed for this class - optional
– The assignment of virtual processors to CPUs if processor affinity is
available - optional
– The disabling of priority aging by the operating system if the operating
system implements priority aging - optional

Syntax:
• VPCLASS classname, options

Informix 20
Configuration
CPU Oninit Configuration
• VPCLASS CPU – Configure the number
of Oninit CPU VPs to start for Informix
– VPCLASS cpu,num=<number> [,max=<max number cpu>]
[,aff=<single CPU number> | <start cpu>-<end cpu> | ( <start
cpu>-<end cpu>/<skip amount> ) ] ] [,noage]
• Examples for 8 Core machine:
– VPCLASS cpu,num=4,noage
– VPCLASS cpu,num=8,noage
– VPCLASS cpu,num=8,aff=0,noage
– VPCLASS cpu,num=8,aff=1-4,noage

Informix 21
Configuration
CPU Affinity
• Example:
– VPCLASS cpu,num=4,aff=0-3,noage
Message in the Online Log:
15:33:12 Affinitied VP 8 to phys proc 1
15:33:12 Affinitied VP 9 to phys proc 2
15:33:12 Affinitied VP 10 to phys proc 3
15:33:12 Affinitied VP 1 to phys proc 0
Informix 22
Configuration
Additional CPU Best
Practices
• Set MULTIPROCESSOR to 1 (Almost
all machines today are multiprocessor)
• Set SINGLE_CPU_VP to 0 (Allows you
to run more Oninits of CPU class as
needed)
• Set NOAGE if your OS supports it

Informix 23
Configuration
Additional CPU Best
Practices
• Set VP_MEMORY_CACHE_KB <size in
KB for private cache for each CPU VP>
• Format is: <size>[,DYNAMIC|STATIC]
Acceptable values for <size> are: 0
(disable) or 800 through 40% of the
value of SHMTOTAL
• Example:
– VP_MEMORY_CACHE_KB 4096
Informix 24
Configuration
AIO Oninit Best Practices
• Default is
– AUTO_AIOVPS 1 – enable automatically adding
AIO VPs as needed
– This can lead to too many AIO VPs writing to the
same disk system
• Recommended
– AUTO_AIOVPS 0
– VPCLASS aio,num=<number of oninits you need
to write to disk>
Informix 25
Configuration
AIO Oninit Best Practices
• How many AIO Class Oninits do you
need? Test, Test, Test…
– With KAIO on – only need 2 AIO oninits.
– With KAIO off (default), it depends on how many
processes can write to a disk at the same time.
– Never need more than twice the number of active
chunks.
– Most hard disks can handle up to 8 AIO oninits.
– SSD disks may handle more AIO oninits.

Informix 26
Configuration
AIO Oninit Best Practice
Examples
• 1 Disk and 24 Chunks
– VPCLASS aio,num=8
• 6 Disks and 24 Chunks (12 active)
– VPCLASS aio,num=24

Informix 27
Configuration
Oninit Processes Controlled
by NETTYPE
• ONCONFIG NETTYPE Setting
– SHM - Performs shared memory communications
– TLI - Performs TLI network communications
– SOC - Performs socket network communications

Informix 28
Configuration
NETTYPE Configuration
• NETTYPE <protocol>,<number of oninit
process>, <number of connections per
oninit>, <Type of Oninit – CPU or NET>
• Examples:
– NETTYPE ipcshm,1,50,CPU
– NETTYPE soctcp,4,250,NET

Informix 29
Configuration
NETTYPE Configuration
Best Practices
• Configure Shared Memory Connection to run
on NETTYPE type CPU and Network
Connections to run on NETTYPE NET.
• Configure 200-300 Connections per Oninit
process.
• Example:
– NETTYPE ipcshm,1,50,CPU – Shared Memory with 50 connections
– NETTYPE soctcp,4,250,NET – Network with 1000 connections

Informix 30
Configuration
Memory Recommendations for
Informix and Best Practices
Informix Memory Best
Practices
• How much memory is available on the
machine?
• How much is used by the Operating
System and other applications?
• How much will be assigned to Informix?
• DO NOT allow the machine to Swap
memory to disk as this will SLOW
everything down
Informix 32
Configuration
Informix Memory Classes
• R – Resident Memory Segment
• B – Buffer Pool Segment for data
• V – Virtual Memory Segment for
Working Storage
• M – Message Segment for
communications between clients

Informix 33
Configuration
Informix Shared Memory
•Control Tables
Resident Memory Segment •Buffers
LRU Page Page

LRU Page Page

LRU Page Page

LRU Page Page

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Informix 34
Configuration
Page Gets Read into Memory by a Select
•Control Tables
Resident Memory Segment •Buffers
LRU Page Page

LRU Page Page

LRU Page Page

LRU Page Page

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page

Informix Configuration 35
When all Buffers are full, Least Recently Used (LRU)
Page is discarded to make room for more data.
Resident Memory Segment •Control
•Buffers
Tables

LRU Page Page

LRU Page Page

LRU Page Page

LRU Page Page

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 36
When a user updates a page, it is marked as dirty and must
be written out to disk before it is discarded.
Resident Memory Segment •Control•Buffers
Tables
Updates
LRU Page Page
UpdatesLRU Page Page

UpdatesLRU Page Page


LRU Page Page
Updates

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 37
LRU Queues manage writing data to disk in the background
when there is idle time based on LRU_MAX_DIRTY and
LRU_MIN_DIRTY ONCONFIG
Resident Memory values.
Segment
Updates
LRU Page Page
UpdatesLRU Page Page

UpdatesLRU Page Page


LRU Page Page
Updates

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 38
When all buffers are Dirty, the server must STOP all
processing and perform a Foreground Write.
•Control Tables
Resident Memory Segment •Buffers
Updates
LRU Page Page
All Activity is Blocked

UpdatesLRU Page Page

UpdatesLRU Page Page


LRU Page Page
Updates

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 39
When a buffer is written to disk, it is marked as clean and may
be discarded if needed.
•Control Tables
Resident Memory Segment •Buffers
Updates
LRU Page Page
UpdatesLRU Page Page

UpdatesLRU Page Page


LRU Page Page
Updates

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 40
Checkpoint writes all Dirty Buffers to Disk.

•Control Tables
Resident Memory Segment •Buffers
Updates
LRU Page Page
UpdatesLRU Page Page

UpdatesLRU Page Page


LRU Page Page
Updates

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 41
After a Checkpoint, all Buffers are clean and the cycle
starts over again.
Resident Memory Segment •Control
•Buffers
Tables

LRU Page Page

LRU Page Page

LRU Page Page

LRU Page Page

•Dictionary cache
Virtual Memory Segment •Working Storage
•Sort Space

Message Memory Segment

Page Page
Page Page Page Page
Informix Configuration 42
Informix Shared Memory
onstat –g seg
informix@train6:~ train6 > onstat -g seg

IBM Informix Dynamic Server Version 12.10.FC6 -- On-Line -- Up 00:30:00 -- 766404 Kbytes

Segment Summary:
id key addr size ovhd class blkused blkfree
32769 525c4801 44000000 4911104 495784 R 1199 0
65538 525c4802 444af000 33439744 393384 V 8030 134
98307 525c4803 46493000 562749440 1 B 137390 0
131076 525c4804 67d41000 166359040 1 B 40615 0
163845 525c4805 71be8000 561152 7848 M 136 1
196614 525c4806 71c71000 8388608 99720 V 1529 519
294919 525c4807 72471000 8388608 99720 V 25 2023
Total: - - 784797696 - - 188924 2677

(* segment locked in memory)


No reserve memory is allocated

Informix 43
Configuration
ONCONFIG Memory
Configuration Settings
• BUFFERPOOL
• SHMVIRTSIZE
• SHMADD
• LOCKS

Informix 44
Configuration
BUFFERPOOL Best
Practices
• More Buffers - the better and faster your
database will perform.
• Goal is to put all the active data into Memory
Buffers.
• Goal is to prevent high Memory Buffers
Turnover (Art Kagel’s rule – less than 8 times
per hour).
• Always leave the default BUFFERPOOL line
in the ONCONFIG.
Informix 45
Configuration
BUFFERPOOL Settings
• The BUFFERPOOL configuration parameter consists of two lines in the onconfig.std file,
as shown in this example for a UNIX platform:

BUFFERPOOL default,lrus=8,buffers=5000,lru_min_dirty=50,lru_max_dirty=60
BUFFERPOOL size=2K,buffers=5000,lrus=8,lru_min_dirty=50,lru_max_dirty=60

• The top line specifies the default values that are used if you create a dbspace with a
page size that does not already have a corresponding buffer pool created at startup.

• The next line below the default line specifies the database server's default values for a
buffer pool, which are based on the database server's default page size.

• When you add a dbspace with a different page size with the onspaces utility, or when
you add a new buffer pool with the onparams utility, a new line is appended to the
BUFFERPOOL configuration parameter in the ONCONFIG file. The page size for each
buffer pool must be a multiple of the system's default page size.

Informix 46
Configuration
BUFFERPOOL Examples
• 3 GB Memory for Buffers – Linux OLTP System
– BUFFERPOOL size=2k,buffers=1500000,lrus=32,lru_min_dirty=10,lru_max_dirty=20

• 12 GB Memory for Buffers – AIX OLTP System


– BUFFERPOOL size=4k,buffers=3000000,lrus=128,lru_min_dirty=1,lru_max_dirty=2

• 48 GB Memory for Buffers – Solaris Data Warehouse


– BUFFERPOOL size=2K,buffers=24000000,lrus=128,lru_min_dirty=60,lru_max_dirty=70

• 15 GB Memory for 4K Buffers and 12.8 GB for 16K Buffers


– BUFFERPOOL size=4K,buffers=60000000,lrus=256,lru_min_dirty=0.1,lru_max_dirty=0.2
– BUFFERPOOL size=16K,buffers=800000,lrus=256,lru_min_dirty=20,lru_max_dirty=30

Informix 47
Configuration
Memory LRU Settings
• AUTO_LRU_TUNING - Enables (1) or
disables (0)
• BUFFERPOOL LRU Settings
– lrus=<Number of LRU QUEUES>,
– lru_max_dirty=<Percent dirty to START
cleaning>
– lru_min_dirty=<Percent dirty to STOP
cleaning>
Informix 48
Configuration
Memory LRU Best Practices
• Enable AUTO_LRU_TUNING for
turnkey or embedded systems.
• Disable AUTO_LRU_TUNING for high
performance systems where you do not
want CHECKPOINTS to write a huge
amount of data to disk and slow
everything down.

Informix 49
Configuration
Memory LRU Settings
• LRU Settings for AUTO_LRU_TUNING
Disabled
– lrus=<Number of LRU QUEUES>,
– lru_max_dirty=<Percent dirty to START
cleaning>
– lru_min_dirty=<Percent dirty to STOP
cleaning>

Informix 50
Configuration
SHMVIRTSIZE Best
Practices
• Controls the size of the Informix Virtual
Memory Workspace, which can grow if
needed.
• Best practice is to set it large enough so
it does not need to grow.
– Monitor with onstat –g seg

Informix 51
Configuration
Informix Shared Memory
onstat –g seg
informix@train6:~ train6 > onstat -g seg

IBM Informix Dynamic Server Version 12.10.FC6 -- On-Line -- Up 00:30:00 -- 766404 Kbytes

Segment Summary:
id key addr size ovhd class blkused blkfree
32769 525c4801 44000000 4911104 495784 R 1199 0
65538 525c4802 444af000 33439744 393384 V 8030 134
98307 525c4803 46493000 562749440 1 B 137390 0
131076 525c4804 67d41000 166359040 1 B 40615 0
163845 525c4805 71be8000 561152 7848 M 136 1
196614 525c4806 71c71000 8388608 99720 V 1529 519
294919 525c4807 72471000 8388608 99720 V 25 2023
Total: - - 784797696 - - 188924 2677

(* segment locked in memory)


No reserve memory is allocated

Informix 52
Configuration
Additional Memory Setting
• RESIDENT - Controls whether shared
memory is resident. Acceptable values are:
– 0 off (default)
– 1 lock the resident segment only
– n lock the resident segment and the next n-1
virtual segments, where n < 100
– -1 lock all resident and virtual segments
• SHMADD - The size, in KB, of additional
virtual shared memory segments
Informix 53
Configuration
LOCKS Memory Settings
• LOCKS – The number of LOCKS when
Informix Starts. This determines the
amount of Memory initially set for
LOCKS. Can be dynamically added
when needed.
• Dynamically adding LOCKS can cause
a performance degradation.

Informix 54
Configuration
LOCKS Memory Settings
• To monitor, look at the last line of:
– onstat –k

– This shows 2 lock table overflows.


– This system requires 80,000 locks.
Informix 55
Configuration
LOCK Best Practices
• LOCK Table Overflows will slow
performance and should be avoided.
• LOCK Table Overflows are a major
contributor to SHMVIRT Memory
additions.
• Set your LOCK setting to a value that is
the largest number required.

Informix 56
Configuration
Informix ONCONFIG File
Recommendations and Best
Practices
Basic (Minimum) Informix
ONCONFIG Setup and
Configuration
ROOTPATH /PATH/rootdbs
ROOTSIZE 400000
MSGPATH /PATH/trainX_online.log
CONSOLE /PATH/trainX_console.log
TAPEDEV /dev/null
LTAPEDEV /dev/null
SERVERNUM <Your Server number goes here>
DBSERVERNAME <Informix Server Name>
DBSERVERALIASES <Informix Server Alias Name>
NETTYPE ipcshm,1,50,CPU
NETTYPE soctcp,1,50,NET

Informix 58
Configuration
Basic Informix ONCONFIG
Setup and Configuration
• ROOTPATH – full path location to your
rootdbs
– ROOTPATH /informixchunks/train1/rootdbs
• ROOTSIZE – Size of your rootdbs in KB
– ROOTSIZE 2000000
• File must be owned by Informix and belong to
the Informix group
• File Permissions must be read/write by user
and group Informix only
Informix 59
Configuration
Basic Informix ONCONFIG
Setup and Configuration
• MSGPATH – Full path to the location of
the Informx Message log file
– MSGPATH $INFORMIXDIR/train1_online.log
• CONSOLE – Full path to the location of
the Informx Console log file
– CONSOLE $INFORMIXDIR/train1_console.log

Informix 60
Configuration
Basic Informix ONCONFIG
Setup and Configuration
• Set Ontape Backups to a directory
– TAPEDEV /home/informix/backups/servername/archive
– LTAPEDEV /home/informix/backups/servername/logs

• Directory must be owned by Informix


and belong to the Informix group
• Permissions must be read/write by user
and group Informix only

Informix 61
Configuration
Basic Informix ONCONFIG
Setup and Configuration
• SERVERNUM – Must be a unique
number for each instance on a machine
• DBSERVERNAME – the Server Name
– The connections INFORMIXSERVER
• DBSERVERALIAS – the Server Alias
Name for other (Network Connections)
– The connections INFORMIXSERVER

Informix 62
Configuration
Basic Informix ONCONFIG
Setup and Configuration

• NETTYPE – The Network settings for


your Server

Informix 63
Configuration
ONCONFIG Setting
• The following is a review of critical
ONCONFIG Settings

Informix 64
Configuration
Rootdbs – Set before
Initialization

Informix 65
Configuration
Physical and Logical Logs:
Use onparams to set after
initialization

Informix 66
Configuration
Long Transactions –
Change default to 50%

Informix 67
Configuration
Temp DBSpace – Set after
initialization

Informix 68
Configuration
INFORMIXSERVER
Server Names

Informix 69
Configuration
Nettype – Communications
Settings

Informix 70
Configuration
Network Configuration
DBSERVERNAME - Name of default
database server (INFORMIXSERVER)
DBSERVERALIASES - List of alternate
dbservernames (INFORMIXSERVER)
NETTYPE - How to configure poll
thread(s) on oninit processes
NETTYPE
protocol,poll_threads,connections,VP_class

Informix 71
Configuration
VPCLASS - CPU Settings

Informix 72
Configuration
Additional CPU Settings

Informix 73
Configuration
Auto Tuning – Off or On?

Informix 74
Configuration
Auto Tuning

Informix 75
Configuration
Auto Tuning

Informix 76
Configuration
Disk I/O

Informix 77
Configuration
Memory Settings

Informix 78
Configuration
Memory Settings

Informix 79
Configuration
Locks

Informix 80
Configuration
Buffer Pool

Informix 81
Configuration
Memory Configuration - Bufferpool
Informix IDS Shared Memory

Resident Memory Segment


Page Page

2K Page Page

PagePage Page

Page Page

Page Page
8K
Page Page
Page
Page Page

Informix 82
Configuration
Demo – Ten scripts to
configure a large Informix

Server
01makerootdbs.sh - create directories and links for all dbspaces
• 02setupServer.sh - initialize the server and rootdbs
• 03makeplogdbs.sh - move the physical log to a new dbspace
• 04makelogsdbs.sh - create two dbspaces for logical logs
• 05makeaddlogs.sh - create the logical logs
• 06maketempdbs.sh - create the temp dbspaces
• 07makesysadmindbs.sh - create and move the sysadm dbspace
• 08makedatadbs.sh - create the dbspaces for data
• 09makeindexdbs.sh - create the dbspaces for indexes
• 10extendablechunks.sh - make the dbspaces and chunks extendable
• cleanup.sh - remove everything and start over
• informix.env - set the Informix environment variables
• onconfig.newserver - configure the server properties
• sqlhosts - configure the network settings
83
Questions?

Send follow-up questions to


[email protected]
International Informix User Group:
http://www.iiug.org

85
IBM Informix Community
http://www.iiug.org/community

This replaced Informix-List

86
Free Informix Tutorials Webcasts
from the IBM Informix Champions

A step by step guide to using Informix Database Servers


Ø Getting Started with Informix by Lester Knutsen on January 30th, Replay on website
This Webcast is a step-by-step guide to installing and getting up and running with a
basic Informix Server. We will introduce using InformixHQ, the IBM Informix
Knowledge Center, and how to find resources to get started with Informix.

Ø Configuring a New Informix Server by Lester Knutsen on February 27th, Replay on


website
This Webcast will be an introduction to the Informix ONCONFIG file and configuring
memory, CPUs, network, and disk for a more extensive Informix Server.

Ø Managing Informix Disk Space - March 19, 2020 at 2:00 pm EDT


Ø Managing Informix Logs - April 30, 2020 at 2:00 pm EDT

Ø Informix Backup, Recovery, and High Availability - May 28, 2020 at 2:00 pm EDT
Ø Connecting Users to Informix Servers - June 25, 2020 at 2:00 pm EDT

Ø Creating Databases and Tables in Informix - July 23, 2020 at 2:00 pm EDT
Ø Basic Informix Server Monitoring - August 20, 2020 at 2:00 pm EDT

Registration and more information: https://advancedatatools.com/tech-info/next-webcasts/


Upgrading to Informix 14.10?
We have the course for you!

Ø May 18-21, 2020 - Informix for Database Administrators


Ø July 6-9, 2020 - Advanced Informix Performance Tuning
Ø October 5-8, 2020 - Informix for Database Administrators

More information and registration at:


https://advancedatatools.com/training/

Attend classes online on the web or in person at our training center in Virginia. All you need is a web
browser to connect to our WebEx training system, and an SSH client (like Putty) to connect to our
training lab for hands-on exercises.
88
Informix 14 Training

Each student in class


will have a server
running Informix
14.10 with:
- 8 CPU Cores
- 16 GB RAM
- 1 SSD Disk
- 1-4 Disks
Class size is limited to
8 students.

Attend online or in
person!

89
Informix Support and Training from the Informix Champions!
Advanced DataTools is an Advanced Level IBM Informix Data Management Partner, and has been an authorized
Informix partner since 1993. We have a long-term relationship with IBM, we have priority access to high-level support
staff, technical information, and Beta programs. Our team has been working with Informix since its inception, and
includes 8 Senior Informix Database Consultants, 4 IBM Champions, 3 IIUG Director’s Award winners, and an IBM
Gold Consultant. We have Informix specialists Lester Knutsen and Art Kagel available to support your Informix
performance tuning and monitoring requirements!

• Informix Remote DBA Support Monitoring


• Informix Performance Tuning
• Informix Training
• Informix Consulting
• Informix Development
Free Informix Performance Tuning Webcast replays at:
https://advancedatatools.com/tech-info/next-webcasts/
Email: [email protected]
Web: https://www.advancedatatools.com

90
Thank You
Advanced DataTools Corporation

For more information:


[email protected]
https://www.advancedatatools.com

You might also like