Home > Ask the AS/400 Experts > DB2/400 and DB2 UDB Questions & Answers > Get the most out of your database
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Get the most out of your database

Pascal Jacquemain EXPERT RESPONSE FROM: Pascal Jacquemain

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 25 March 2002
Can you recommend a good book or methodology to make sure that we get the best performance out of our databases?

>

This is a very vast subject. First of all, database can be very different. The database may be very old style, with few indexes and no views. It could be more modern, relational but still DDS based. It may be SQL based. Also, it may be read with old style tools (which are sometimes very quick) like FMTDTA or the RPG cycle. RPG may access them with or without blocking (blocking enables up to 32 kb of data to be read into the memory in one go). It may be accessed via OPNQRYF or SQL and this with or without very long examination of available access path or creation of access path. A book may give you some ideas, but if you want to improve certain processes, you need to observe. You may want to check option 14 of WRKJOB and see how many times a file is read. If some records are read repeatedly even though the records are not changed by the process, would an array built in a program be more efficient? If you need SQL or OPNQRYF and it creates a huge and slow index, would it not be possible to do a first SQL or OPNQRYF to put your records into a temporary file and then order the file? Test is the answer. And test in live conditions. If your database contains millions of records, testing performance on a few dozens simply won't do. When exploiting a database, some processes may increase proportionally to the number of records, but some others may do so geometrically.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries SQL commands and statements
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Making the most of RPG data handling on IBM i
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Creating a host variable of the 'where in' statement in SQL
SQL server error message -321
Choose which column names are returned via ODBC when working with DB2 files
Convert a numeric physical file to a character in SQL without leading zeros
iSeries SQL commands and statements Research

Oracle on iSeries
Oracle boasts 11g on SPARC is faster than IBM DB2 on Power 595
Debating DB2 versus Oracle
IBM steps up iSeries, pSeries overlap
Securing query definitions
New, undocumented Query function can boost your productivity
Get the system to recognize a date separator
Run multiple SQL statements
Populate a Lotus Notes database with iSeries data
Updating the 'VALUE' column using DB2/400
Inserting data into a table

DB2/400 and DB2 UDB
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Developing tables in a parent-child relationship in DB2
SQL server error message -321
Creating a host variable of the 'where in' statement in SQL
Choose which column names are returned via ODBC when working with DB2 files
Allow access to data from a stored procedure result set using COBOL or RPG
Access path and an open data path differences
Convert a numeric physical file to a character in SQL without leading zeros
Inserting data from a CTE into a file in SQL

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts