Home >Backend Development >PHP Tutorial >mysql - Is the efficiency of ezsql the same as that of php if the cache is not turned on?

mysql - Is the efficiency of ezsql the same as that of php if the cache is not turned on?

WBOY
WBOYOriginal
2016-07-06 13:52:51868browse

If ezsql does not enable caching, will the efficiency be the same as that of PHP? Is it equivalent to just making a package? If caching is enabled, will the data not be timely?

Reply content:

If ezsql does not enable caching, will the efficiency be the same as that of PHP? Is it equivalent to just making a package? If caching is enabled, will the data not be timely?

ezSQL uses disk cache. If the cache is enabled, the cache will expire after 24 hours by default. Data changes during this period will not be reflected in subsequent queries after the data is cached.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn