承接 acet/qcache 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

acet/qcache

Composer 安装命令:

composer require acet/qcache

包简介

Database query caching

README 文档

README

Database query caching

Qcache is a query caching library which works with MySQL, MSSQL and SQLite databases.

PHP scripts spend much of their time querying databases using SELECT statements. Qcache can replace those calls, making time-hungry database operations perform faster and more efficiently.

How it works

Qcache checks the tables used in a SELECT statement to see whether anything has changed since it last looked (rows added/updated/dropped).

If a change is detected or there is no cache entry corresponding to the SQL statement, the database is queried, the time is recorded and the result set is cached before being passed back to the calling program.

If no change is detected, there is no need for the database to repeat the operation using the exact same query and producing an identical result set, so a cached result can be returned to the calling program.

The result (whether from the cache or the database query) is passed back to the caller in object Qcache::SqlResultSet which mimics the functionality of the result sets used by most native databases (fetch_row(), fetch_assoc() etc.).

Requirements

Qcache requires the following:

  • PHP 7.1+

Installation

Qcache is installed via Composer.

Run the following to use the latest stable version:

    composer require acet/qcache

or if you want the latest master version:

    composer require acet/qcache:dev-master

You can also manually edit your composer.json file:

    {
        "require": {
           "acet/Qcache": "*"
        }
    }

Example

统计信息

  • 总下载量: 119
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2020-06-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固