- 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
- ActiveMQ - Home
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- XML.com: Implementing REST Web Services: Best Practices and Guidelines
- Quick HOWTO: Dynamic DNS
- Setting up java tomcat on linux V - Configure APACHE non-ssl
- Simplify XML file processing with the Jakarta Commons Digester
- ONJava.com: Extending Struts
- PostgreSQL 7.3 Documentation
- Understanding Portals and Portlets: Part Two (SYS-CON)(Printview)
- PostgreSQL on Mandrake 9.1 with Java
No comments:
Post a Comment