1.1 Informix Fundamentals
1.1 Informix Fundamentals
7 Bootcamp
Informix Fundamentals
Information Management Technology Ecosystems
• Introduction To Informix
• Informix Editions
• Appendix
• Introduction To Informix
• Informix Editions
• Appendix
“…Intrado provides the core of U.S. 9-1-1… …for near hands free
administration, high availability
We needed a fast database; one that
and clustering for transaction
would respond immediately, every
intensive solutions
time…”
Cost
Mission critical Effective
and life critical Solutions
solutions
HP-UX on PA-RISC
and Itanium
Solaris on SPARC/x64
AIX on pSeries/iSeries
Linux on xSeries, X86-64
Windows 2003, Vista
zSeries, POWER and XP on x86/x64
Windows Server 2008
2007 - 2008
2009
Scale-out at lower costs 2010
(Informix 11) Business Optimization
Application Integration
• Multi-node active cluster for • Informix Warehouse
high-availability (MACH) 11 • Grid Computing
• Cognos integration
• Multiple remote servers • Enhanced Warehouse capabilities
• Virtual Appliance
and shared disk cluster • Star/snowflake join
• Cloud Computing
• Open Admin tool (OAT) for support • Support for ODS environments
administration, SQL Admin
API • Online Storage • Improved optimizer statistics
2005 Optimization
• Improved checkpoint • Improved application
Optimized OLTP Engine performance • XPS features development environment
(Informix 10) • Secured data encryption, • External Tables • Stored procedure debugging
• Query performance LBAC, Common Criteria • Deeper Embed
• In memory support with
improvement certification
SolidDB • Automatic storage provisioning
• Online index build • Enhanced application • Replicate with other
development for SOA and • Automatic Fragmentation
• Multiple page size XML vendors via CDC • Embedability toolkit
support for better space
utilization • Web Feature Service support • Delayed Replication • Installation API
for geospatial applications
• Enhanced buffer • 4GL Enhancements • Even simpler administration
management • Optim Data Studio Support
• ConnectBy statement • Security
• Increased security with • Built-in Text Search support
column encryption • Fine-grained Auditing
• MQ Series support • Merge statement
• Disaster recovery with support • Trusted context
table level restore • Retail Integration Framework • Online Alter table • 4GL Enhancements
Flexible Grid
Development Performance
*Informix vNext+
2012
Warehouse/BI
improvements *Informix vNext+++
Benchmarks Applications Availability 2016…
Embed SolidDB into IDS
Informix for Security Continue to invest
Hadoop/Cloud
in Informix to
Informix for Handheld increase its
*Informix vNext++
devices strengths and to
2014
4GL stored procedures open new markets
Distributed query
Support for multi- processing
temperature data
Materialized Query Tables
Enhance Deep Embed
Extend Grid to non-
Enhance Industry Offering database sources
(Utilities) * Features Subject to change
The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new
product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to
deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion.
• Introduction To Informix
• Informix Editions
• Appendix
Restrictions None
Features All features included, except Storage
Optimization Feature !
(i.e. compression is still an add-on feature)
• General Information:
http://www-01.ibm.com/software/data/informix/
• Introduction To Informix
• Informix Editions
• Appendix
• An Informix instance:
ONCONFIG
• Is a set of O/S processes and memory Parameter
Physical
file
that are shared by all databases defined Log
in that instance
OS
Data
• All server processes are multi-threaded Authentication
files
Databases Logical
Logs
• A single file for configuration parameters
Data
(called ONCONFIG) Backup Instance
###################################################################
# System Configuration Parameters
###################################################################
# SERVERNUM - The unique ID for the IDS instance. Acceptable
# values are 0 through 255, inclusive.
# DBSERVERNAME - The name of the default database server
# DBSERVERALIASES - The list of up to 32 alternative dbservernames,
# separated by commas
###################################################################
• SQLHOSTS file
dbservername nettype hostname servicename options
Required.
export INFORMIXSERVER=panther1 Use symbolic link to
simplify in-place upgrade.
export INFORMIXDIR=/opt/IBM/informix/
Required.
export PATH=$INFORMIXDIR/bin:$PATH Always in
$INFORMIXDIR/etc
export ONCONFIG=onconfig.$INFORMIXSERVER
export
INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhosts.$INFORMIXSERVER
oninit -v
Every
Every process
process in
in the
the database
database server
server environment
environment
is
is known
known as
as aa virtual
virtual processor
processor (VP).*
(VP).*
These VPs:
Virtual processor class
• Runs threads of the
appropriate class
Virtual Virtual
• Belong to a VP class; processor processor
responsible for a specific set
of tasks (e.g. CPU, physical
log [PIO], logical log [LIO], Virtual Virtual
asynchronous I/O [AIO], processor processor
administrative functions
[ADM], auditing functions
[ADT], and more!
© 2010 IBM Corporation
Data Caching
The
The physical
physical log
log is
is aa special
special log
log used
used for
for
automatic
automatic recovery
recovery purposes.
purposes.
Buffer pool
The physical log:
Before images
• is collection of contiguous
pages on disk
• is used to record before
images (first copy) of pages
that have been modified in
shared memory
Chunk Physical log
The
The logical
logical log
log is
is comprised
comprised of of logical
logical log
log files,
files, which
which are
are collections
collections of
of
contiguous
contiguous pages
pages used
used for
for transaction
transaction records,
records, andand physical
physical changes
changes in in
the
the underlying
underlying chunks
chunks to
to accommodate
accommodate these these changes.
changes.
Big Buffers
Global Pool
Message Segment
Unallocated Memory
Communication between local
clients using shared memory and
Client/server IPC messages
the database
• Information about
tblepaces is stored in the
sysfragments system tblspace tblspace
catalog table
• Can be also retrieved with
oncheck –p[tT]
command tblspace
• Two tblspaces in the tblspace
same table, stored in the
same dbspace are called
partitions
Dbspace
Chunk
Page
Chunk
Chunk
Extent
A
A checkpoint
checkpoint is
is aa system
system event
event during
during which
which all
all
modified
modified buffers
buffers are
are copied
copied to
to disk
disk
• Two Phases
1. Physical Recovery
1. Before images in the physical log are restored to disk
2. Logical Recovery
1. Locate last checkpoint in logical log
2. Logical log records are rolled forward, replaying all
transactions
3. Uncommitted transactions are rolled back
Mirroring
Mirroring is
is aa process
process ofof automatically
automatically writing
writing
identical
identical pages
pages to
to two
two different
different devices
devices
Task Task
100% transparent to
applications CPU CPU
CPU
• Informix Editions
• Appendix
• US: 210-272
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=897&letternum=ENUS210-272
• AP: AP10-0249
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=872&letternum=ENUSAP10-0249
• CAN: A10-0710
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=649&letternum=ENUSA10-0710
• EMEA: ZP10-0348
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=877&letternum=ENUSZP10-0348
• LA: LP10-0362
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=899&letternum=ENUSLP10-0362
• US: 910-180
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=897&letternum=ENUS910-180
• AP: WP10-0086
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=872&letternum=ENUSWP10-0086
• CAN: A10-0672
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=649&letternum=ENUSA10-0672
• EMEA: ZP10-0327
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=877&letternum=ENUSZP10-0327
• LA: LP10-0339
• http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&supplier=899&letternum=ENUSLP10-0339
TLI (TCP/IP)) X X X
TLI (IPX/SPX) X X X
Shared X X
memory
Stream pipe X X
Named pipe X X
Fragment key
List values
expression
Range expression
© 2010 IBM Corporation
Informix Engine Architecture – High Level View
IBM Informix was named #1 in customer satisfaction among database software vendors in
2008 and 2009. Informix’ score of 94.3 out of a possible 100 was the top overall mark for
2009. Informix has placed first or second on VendorRate in each quarter since Q3 of 2008.
http://www.vendorrate.com/news/2009-12-15-VendorRate-Annual-Report.htm