Download presentation
Presentation is loading. Please wait.
Published byMyron Atkins Modified over 9 years ago
1
© 2004 IBM Corporation DB2 – Informix Terminology and Architecture Comparison By Pradeep Kutty Jan 30 th, 2004
2
© 2004 IBM Corporation KCIIUG - 2004 DB2 – Product Family Personal Edition (PE) Enterprise Edition (EE) Everyplace Enterprise Extended Edition (EEE) Workgroup Edition (WE) Enterprise Server Edition (ESE) Version 8
3
© 2004 IBM Corporation KCIIUG - 2004 Products Positioning Single Product line for all Applications – Common code base for UNIX and NT – Differentiation depending on target platform and licensing strategy Additional applications built upon the database server – Data warehouse – OLAP – Connectivity (DB2 Connect, Data Joiner) – Web enablement (Web Sphere Application Server)
4
© 2004 IBM Corporation KCIIUG - 2004 Informix – Product Family SE / CISAM Online 4.x Online 5.x Online 6.x Online 7.x XPS 8.x 9.x 8.1x 8.2x 8.3x 8.4x 9.1x 9.2x 9.3x 9.4x 7.1x 7.2x 8.5x 9.5x 7.3x
5
© 2004 IBM Corporation KCIIUG - 2004 Products Positioning IDS (7.x and 9.x): – OLTP – Data blades and Extensibility – Replication (HDR and ER) – Max Connect XPS (8.x) – – Data Ware Housing – Cluster support
6
© 2004 IBM Corporation KCIIUG - 2004 Informix – Long Term 2003200420052006 6.27.27.1 Red Brick: BI Tool Integration, Performance 8.408.608.50 XPS: BI Tool Integration, Ease-of-Use 9.409.609.50 IDS: RAS, Ease-of-Use, Security 2002
7
© 2004 IBM Corporation KCIIUG - 2004 Platforms Supported DB2 ƒAIX ƒNUMA-Q PTX ƒLinux ƒSUN Solaris ƒHP UX ƒLinux/390 (Not EEE) ƒAS/400 ƒOS/390 ƒWindows ƒOS/2 XPS ƒAIX ƒNUMA-Q PTX ƒLinux ƒSUN Solaris ƒHP UX ƒCompaq True Unix ƒReliant Unix IDS ƒAIX 32/64 Bit ƒNUMA-Q PTX ƒLinux Intel / Alpha ƒSUN Solaris Intel / Sparc ƒHP UX 32/64 Bit ƒCompaq True Unix ƒReliant Unix 32/64 Bit ƒSCO Open Server ƒSCO UNIXWARE 7 ƒWindows NT / 2000 ƒTandem Nonstop UX C61 ƒDEC TRU64 ƒNCR ƒFujitsu/Siemens ƒSGI 32/64 Bit ƒData General DGUX
8
© 2004 IBM Corporation KCIIUG - 2004 DB2 Architecture TCP/IP or SHM and Semaphores or any Network Protocol Client Server Applications Coordinator agent EDU Subagents EDU Prefetchers Page Cleaners Containers Logs Logger EDU Log Buffer Buffer Pool Deadlock Detector Log requests Prefetch Requests Prefetch Manager Read Req Parallel Page write requests
9
© 2004 IBM Corporation KCIIUG - 2004 IDS/XPS Architecture Other VPs: ADM, ADT, Java, etc. Client Resident Virtual Communication Net VP AIO VP CPU VP PIO VP LIO VP Shm VP Ext VP Logs Disks IDS only
10
© 2004 IBM Corporation KCIIUG - 2004 Process vs. Thread “In Solaris, creating a process is about 30 times slower than creating a thread, synchronization variables are about 10 times slower, and context switching about 5 times slower.” Thread Primer Page 21
11
© 2004 IBM Corporation KCIIUG - 2004 Terminology DB2 – Instance – Database – Partition/Node – Node group – Table space – Container IDS/XPS – Instance – Database – Co-server – Co-group – Dbslices, Dbspace – Chunks
12
© 2004 IBM Corporation KCIIUG - 2004 Configuration DB2 – Instance Parameters controlled by DBM CFG – Every database has its own database configuration – Registry and Environment Variables – SQL SET command – Multi threaded only on NT Informix – Instance Parameters controlled by ONCONFIG – Environment Variables – SQL SET Command – Multi threaded on UNIX and NT
13
© 2004 IBM Corporation KCIIUG - 2004 Storage DB2 (table spaces) – System Managed Storage (SMS) – Database Managed Storage (DMS) Files Devices – Configurable page size: 4KB, 8KB, 16KB, 32KB IDS/XPS (db spaces) - Database Managed Storage Cooked Raw – IDS pre-defined page size – XPS configurable: 2KB, 4KB, 8KB
14
© 2004 IBM Corporation KCIIUG - 2004 Extent Allocation DB2 – Extent Size set at the table space level – Allocated in a round robin fashion among containers – Valid for all tables within the table space Informix – Extent size set at the table level – Allocated in a serial manner
15
© 2004 IBM Corporation KCIIUG - 2004 Tables DB2 – One table per table space – Partitioning in a EEE environment – Two extents are allocated at table creation time Extent map Data extent Informix – Can span multiple db spaces (fragmentation) – First and next extent control extent sizing – Doubling after every 16 extents
16
© 2004 IBM Corporation KCIIUG - 2004 Table Types DB2 – Not logged initially – Global Temp Table – Volatile Table – Summary Tables Informix – TEMP – Scratch (XPS) – Raw (XPS) – Static (XPS) – Operational (XPS) – Standard (XPS)
17
© 2004 IBM Corporation KCIIUG - 2004 Row size DB2 – Determined by the page size – Out-of-row objects: BLOB, CLOB, DBCLOB, LONG VARCHAR, LONG VARGRAPHIC IDS/XPS – 32KB (page linking) – (IDS) Out-of-row objects: BLOB, BYTE, CLOB, TEXT
18
© 2004 IBM Corporation KCIIUG - 2004 Object Names Sizes ObjectDB2XPSIDS Database name818128 User name8*832 Table name12818128 Column name3018128 Index name1818128 Procedure name1818128
19
© 2004 IBM Corporation KCIIUG - 2004 Memory Usage IDS/XPS – Instance memory shared by all databases (buffer pool, locks, heap, stack, sort, cache, etc) DB2 – Instance shared memory – Database shared memory (buffer pool, lock list, sort, heap, etc.) – Application shared memory – Agent private memory
20
© 2004 IBM Corporation KCIIUG - 2004 Indexes DB2 – Separate Table space than table (DMS) – Forward and Reverse Scans – B-Tree – MDC Index – Db2advis [Advisor] Informix – Attached and Detached Indexes – B-Tree – R-Tree (IDS Only) – Functional (IDS Only) – Bitmap (XPS Only) – GK (XPS Only)
21
© 2004 IBM Corporation KCIIUG - 2004 Locking DB2 – Row level is the default – LOCK parameters include: LOCKLIST and MAXLOCKS – LOCK escalation can occur based on parameter settings Informix – Specified at table creation – Default is page – ONCONFIG Parameter: LOCKS – No Lock escalations
22
© 2004 IBM Corporation KCIIUG - 2004 Logical Logs DB2 – Logs allocated at Database level – Primary and secondary logs – Circular logging – Archival Logging – Backed up using USEREXIT – Dual logging – Infinite log space Informix – Logs allocated at Instance level – Default is No logging – Backed up using ontape onbar
23
© 2004 IBM Corporation KCIIUG - 2004 Management [Analysis] Tools DB2 – Control Center (backup, index, configuration wizards) – Alert center – Performance monitor – Snapshot Monitoring Locks BufferPools SQL Sort Operations – Event Monitors – Explain [dynexplain/db2exfmt] Informix – onstat – onparams – onspaces, etc. – ISA – I-SPY – Explain
24
© 2004 IBM Corporation KCIIUG - 2004 Utilities DB2 – Import / Export – REORGCHK – REORG – RUNSTATS – db2look – Db2batch – Load – db2move Informix – dbexport – HPL – Unload – Load – Update statistics – dbschema – External Table (XPS)
25
© 2004 IBM Corporation KCIIUG - 2004 Backup / Restore DB2 – Online – Offline – Incremental – Delta – Split Mirror – Redirected Restore Informix – Level 0 – Level 1 – Level 2 – EBR – Imported Restore
26
© 2004 IBM Corporation KCIIUG - 2004 Extensibility DB2 Types: – Distinct – Structured DB2 Functions – Scalar – Table IDS Types: – Distinct – Row – Opaque – Collection (set, list, …) IDS Functions: – Scalar – Iterator – Aggregate
27
© 2004 IBM Corporation KCIIUG - 2004 Data Blades and Extenders DB2 Extenders – Spatial – XML – Text – Audio – Video – Image IDS Data Blades – Spatial/geodetic – Time Series, NAG – Text, image, video – Third parties IDS Bundles – Financial Foundation – Law Enforcement Foundation – Other to come
28
© 2004 IBM Corporation KCIIUG - 2004 DB2 Future features Autonomic Computing 4GL and ESQL/C (SQLI) support IDS date types and functions IDS replication – HDR in V8.2 IDS fragmentation R-Tree Indexes Time Series Data blade
29
© 2004 IBM Corporation KCIIUG - 2004 IDS – The Future In Planning: Backup & Restore enhancements High Availability Data Replication working with ER Remove Capacity Limitations >2gig chunk size Security Enhancements System Monitoring Enhancements track causes of deadlocks Utility Enhancements > 2gig file support 2003 Safety – High Availability XML Standards Compliance On-Line Reorg Safety – High Availability Application Dev / XML / Stds. Compliance 4GL with WebSphere / IDS Autonomic / Ease of Administration Software Group Integration Security Enhancements Partner Enhancements Infrastructure Improvements Performance, Install, I-Star for Built-in UDTs 2004 Driven by Customer & Partner Requests 2005 2006 Announced GA March 28th IDS 9.60 IDS 9.40 IDS 9.50
30
© 2004 IBM Corporation KCIIUG - 2004 Conclusion DB2 and IDS complement each other The synergy between development groups will accelerate technology migration both ways The IBM portfolio strengthens the Informix position The DB2 federated approach helps support dual environments
31
© 2004 IBM Corporation KCIIUG - 2004 For Additional Information Web sites: – http://www.ibm.com/software/data/db2 – http://www.ibm.com/software/data/informix
32
© 2004 IBM Corporation KCIIUG - 2004 Questions?
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.