Title: Performance Tuning

Performance Tuning

Most performance problems in database applications, including those using ORM, are related to the inefficient queries and/or large volumes of data in the database. Here is a few common issues that a typical application may run into:

There is no single solution to all performance problems. Cayenne offers a few strategies to improve performance. They should be applied where appropriate.

Sections

  1. Prefetching
  2. Data Rows
  3. Iterating Through Data Rows
  4. Paginated Queries
  5. Caching Lookup Tables
  6. Turning off Context Synchronization