SQLite Optimization FAQ

Jim Lyon (jplyon@attglobal.net)
10-Sep-2003
Compiled from sqlite docs, source, and yahoo postings

This document is current for SQLite 2.8.6

1. Introduction

1.1. About this FAQ

This FAQ is an incomplete summary of my experiences with speed-optimizing an application that uses the SQLite library. It will be of most use to people who are already familiar with using SQLite. Feel free to send any questions and comments.

It is released under the terms of the SQLite license :)

** The author disclaims copyright to this material.
** In place of a legal notice, here is a blessing:
**
**    May you do good and not evil.
**    May you find forgiveness for yourself and forgive others.
**    May you share freely, never taking more than you give.

1.2. Table of Contents

  1. Introduction
  2. PRAGMA settings
  3. Transactions
  4. Indexes
  5. Optimizing queries
  6. Moving code into SQL
  7. User functions
  8. Callback functions
  9. Reducing database file size
  10. Reducing database load time
  11. Reducing SQL query parse time
  12. Hacking the source
  13. Using the btree interface
  14. Multiple threads
  15. Operating system issues

本日志由 flyinweb 于 2011-09-28 11:07:11 发表到 数据库技术 中,目前已经被浏览 463 次,评论 0 次;

作者添加了以下标签: SQLite OptimizationSQLiteSQLite tuning

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文