Web
Web
Web
Information Management
Information Management
Higher Availability
Increased Scalability Enhanced Security Simplified Administration Easier Application Development
Information Management
buffer manager
HDR/ER
raw tables
Fuzzy ckpts
optimizer directives
dynamic locking
onarchive gone
9.2
9.3
9.4
10.0
Information Management
Performance Enhancements
IDS 10.0 provides the best performance of any IDS engine ever produced! 15 - 20% Improvement over IDS 7.31
As evidenced by internal TPC-C benchmarks As evidenced by our key customers and partners
Fuzzy Checkpoints
Shared Statement Cache New Buffer Management System B-Tree Scanner
Information Management
High Availability
Restartable Fast Recovery Improved Rollback Performance Dynamic Log Creation
Information Management
Huge data volumes Deployment: distributed across 1000s of sites Types of data: no limit to new data types
SHMEM >4G
Multiple Table Fragments in a Single DBspace
7
Information Management
Security Enhancements
Encrypted Network Communication Column Level Encryption Secure environment check before startup Trigger Introspection
Information Management
Information Management
Information Management
All other migrations will require other migration tools like dbexport/dbimport, HPL, etc including different operating systems
11
Information Management
OnLine 5.1x
12
Information Management
13
Information Management
2. Install the target database server and copy over relevant $INFORMIXDIR/etc configuration from source to target
3. Validate your environment settings are pointing at target 4. CONVERT by starting target server
14
Information Management
Perform conversion
Validate data integrity
15
Information Management
Intel EM64T/AMD64
HP-UX on PA-RISC and Itanium. Tru64 on Alpha Solaris on SPARC AIX on pSeries Linux on xSeries, zSeries, pSeries* and iSeries*
IRIX
http://www-306.ibm.com/software/data/informix/ids/requirements.html
16
Information Management
System Requirements
Requirements for a new Installation of IDS v10 500 MB of disk space 256 MB of RAM Plan for: Adequate disk space to house schema Adequate disk space to house temporary tables Adequate CPUs for application needs Plan for about 20% disk space overhead
** Lookup Installation guide for details
IDS provides industrial-strength capabilities with a relatively small footprint, ensuring the best performance with less hardware.
17
Information Management
18
Information Management
Client connectivity
Application compatibility
3rd Party Applications (Storage Managers, Monitoring Tools, Scripts)
Replication
Extra scripts to run. Refer to Migration Guide for details.
Back-Out Plan
In case of emergency. Always good to prepare for contingencies
Save data that can help Tech Support diagnose issues that may arise
19
Information Management
Back-Out Plan
Consider steps required to back-out of the migration at each step in the process Take a level-0 archive before migration starts Make sure the archive is good - use archecker to check it. Consider taking another form of backup such as: An offline OS level backup of the chunks A dbexport of key databases (just in case)
20
Information Management
21
Information Management
During times of peak usage, run the following onstats repetitively with -r repeat option for a period of about 3 to 5 minutes:
onstat -u, to see the total number of sqlexecs used.
onstat -p, for read and write cache rates, to detect deadlocks and the number of sequential scans.
onstat -g nta, a consolidated output of -g ntu, ntt, ntm and ntd. onstat -g nsc, -g nsd, -g nss for status of shared memory connections. onstat -P, -g tpf, -g ppf
vmstat, iostat and sar, for cpu utilization. Run these repetitively for a period of about 3 to 5 minutes. Check man pages for usage.
timex of all regularly run queries.
22
Information Management
**
Recommended documented steps to shutdown current server properly: Run onmode -sy, onmode -l, onmode -c and then onmode -kuy.
23
Information Management
Perform conversion
Validate data integrity
24
Information Management
Product.rpm
GLS.rpm Message.rpm For enhanced usability, a wrapper script is provided that invokes the RPMs in the correct sequence
25
Information Management
$INFORMIXDIR/etc/sm_versions
$INFORMIXDIR/aaodir/adtcfg $INFORMIXDIR/dbssodir/adtmasks $INFORMIXDIR/etc/sqlhosts $INFORMIXDIR/etc/tctermcap $INFORMIXDIR/etc/termcap $INFORMIXDIR/etc/ixbar.servernum
%INFORMIXDIR%\etc\sm_versions
%INFORMIXDIR%\aaodir\adtcfg.* %INFORMIXDIR%\dbssodir\adtmasks.* %INFORMIXDIR%\etc\ixbar.servernum
26
Information Management
Perform conversion
Validate data integrity
27
Information Management
28
Information Management
Perform conversion
Validate data integrity
29
Information Management
Perform Conversion
Start Dynamic Server 10.00
** No oninit ivy please - will initialize disk!
30
Information Management
Perform conversion
Validate data integrity
31
Information Management
Post Migration
Update Statistics (Low to drop, High on sysmaster, normal on your databases)
Verify the Integrity of the Data [oncheck; archecker] For ON-Bar, Rename the sm_versions.std File Make an Initial Backup of Dynamic Server 10.00 Tune Dynamic Server 10.00 for Performance Enable HDR and ER, if applicable
** Rerun the pre-migration checklist described in premigration for before/after picture comparison
32
Information Management
Install and configure the Target database server Use dbimport, LOAD or dbload to load the databases into the target database server. Post-migration Steps for the Target Database Server
Take a level 0 backup of the database server Run UPDATE STATISTICS
33
Information Management
Information Management
Cons:
35
Information Management
Pre-Reversion Steps
Check and Configure available space Save copies of the current configuration files Verify the integrity of data using oncheck Take a level 0 backup of the database server Remove pending in-place alters Remove usage of any new feature adoption Remove BladeManager extensions If necessary, disable HDR
36
Information Management
37
Information Management
TEMPLATE
TEST TYPEID TYPENAME TYPEOF WAIT XADATASOURCE XID
38
Information Management
ODBC/.NET/Java
Upgrade to a newer version of CSDK/JDBC driver and run the application
4GL (v 7.32.UC3 )
c4gl upgrades required applications to be recompiled/relinked. The version 7.32.UC3 removes this requirement. Simply upgrade to this version and run your c4gl applications (supported 7.30.xc6 onwards) . P-code versions still require recompilation. In order to get new functionality like DYNAMIC ARRAY, applications need to be changed
39
Information Management
Companies that need their data and transaction resources to be available 24x 7 will be pleased with the release of IDS 10.0. With this new release, organizations can tune their database and manage index issues online, without interrupting service..
Gerd Kaluzinski Senior Systems Engineer BYTEC GmbH
Table level restore enables us to implement a BCP plan without the need for duplicate servers.
David A. Link IS Manager, West Corporation
40
Information Management
41
Information Management
Information Management
Prepare for:
Pseudo updates to 9.40 take a lot of LOCKS and you can run into OVERLOCKS. Physical log must be big enough and/or PLOG_OVERFLOW_PATH set. If physlog overflow occurs during migration you have to start again. Some new reserved words have been introduced (ref, status, ...) and so you have to check your application on a test server against this.
Benefits:
Response times in application have been reduced without changing the application. A backup concept, where every night a dbexport blocked the database was changed by using the new feature "table level restore".
Information Management
Information Management
Information Management
Information Management
oninit -v to see all steps Check online.log to see Conversion and Messages Execute ONMODE -BC 1 and ONMODE -BC 2 (BigChunks) oncheck -cr / oncheck -cc oncheck -cI (each database) oncheck -cD (each database) update statistics (each database) update statistics high (on leading indexcolumns)
Information Management
Take the first backup of the new version Initiate CDR Register Datablades Activate RC-Scripts Make a snapshot of your installation (onstat -a)
Information Management
Review of Migrations
Following the checklist all Migrations went without problems within the calculated time Among these Migrations have been Hospitals, where the complete Migration with more than 50 Chunks could be made within 2 hours of downtime. Other customers situated in Metal Industries, Fashion manufacturers as well as Public Sites (Libraries and Universities) have been migrated InPlace.
Information Management
Review of Migrations
Here one example of Configuration, which has been migrated. You see all kind of Dbspaces used at customersite. Medical images are stored in Smartblobs, Doctor-Letters are in Blobspaces:
Dbspaces address number fags 892ba7d8 1 89f18ad0 2 89f18c20 3 89f18d70 4 89f18ec0 5 fchunk nchunks flags name 1 25 20 1 3 N B rootdbs N B datadbs N BB blobdbs N TB tempdbs N B logdbs 0x40001 1 0x40001 2 0x40011 12 0x42001 22 0x40001 24
89f19018 6
b3b7aea8 7
0x42001 23
0x48001 52
1
12
N TB tempdbs2
N SB sbspace
Information Management
51
Information Management
52