- Overview of JDBC
- Choosing the right Driver
- Optimization with Connection
- Set optimal row pre-fetch value
- Use Connection pool
- Control transaction
- Choose optimal isolation level
- Close Connection when finished
- Optimization with Statement
- Choose right Statement interface
- Do batch update
- Do batch retrieval using Statement
- Close Statement when finished
- Optimization with ResultSet
- Do batch retrieval using ResultSet
- Setup proper direction of processing rows
- Use proper getxxx() methods
- Close ResultSet when finished
- Optimization with SQL Query
- Cache the read-only and read-mostly data
- Fetch small amount of data iteratively instead of fetching whole data at once
- Key Points
Monday, April 18, 2005
Best practices to improve performance in JDBC
Subscribe to:
Post Comments (Atom)
Popular Posts
- AS400 Job Scheduler
- API Example - Deleting Old Spooled Files
- Recover or reset QSECOFR passwords
- as400 Iseries Tips
- Make a Home made, open source mp3 Player
- UDATE and *DATE in AS400 RPG
- Sending and receiving email on i5/os - QtmmSendMail
- AS400 API - QCMDEXC - Execute Command
- AS400 API - Retrieve Network Attributes (QWCRNETA)
- Encrypt Data on as400 (QC3ENCDT, Qc3EncryptData)
No comments:
Post a Comment