第 19 章 提升性能

    • 19.1. 抓取策略(Fetching strategies)
      • 19.1.1. 操作延迟加载的关联
      • 19.1.2. 调整抓取策略(Tuning fetch strategies)
      • 19.1.3. 单端关联代理(Single-ended association proxies)
      • 19.1.4. 实例化集合和代理(Initializing collections and proxies)
      • 19.1.5. 使用批量抓取(Using batch fetching)
      • 19.1.6. 使用子查询抓取(Using subselect fetching)
    • 19.2. 二级缓存(The Second Level Cache)
      • 19.2.1. 缓存映射(Cache mappings)
      • 19.2.2. 策略:只读缓存(Strategy: read only)
      • 19.2.3. 策略:读/写缓存(Strategy: read/write)
      • 19.2.4. 策略:非严格读/写缓存(Strategy: nonstrict read/write)
      • 19.2.5. 策略:事务缓存(transactional)
    • 19.3. 管理缓存(Managing the caches)
    • 19.5. 理解集合性能(Understanding Collection performance)
      • 19.5.1. 分类(Taxonomy)
      • 19.5.2. Lists, maps 和sets用于更新效率最高
      • 19.5.3. Bag和list是反向集合类中效率最高的
      • 19.5.4. 一次性删除(One shot delete)
    • 19.6. 监测性能(Monitoring performance)
      • 19.6.1. 监测SessionFactory