Hibernate cache application accumulation and summary, and hibernate cache Accumulation
Hibernate cache has been relatively difficult to grasp, the following analysis and summary of the reasons, I believe you will gradually understand the original
mysql| Reference | Reference Manual | cache | Chinese MySQL 4.1.0 chinese reference manual---dog (heart sail) Translate MySQL Reference Manual for version 4.1.0-alpha.
6.9 MySQL Query Cache
Starting with MySQL 4.0.1, MySQL server has an
first, Cache avalanche
Cache Avalanche We can simply understand that due to the original cache failure, the new cache is not in the period (for example: we set the cache with the same expiration time, at the same time a large area of cache
First, let me introduce the background of using the cache by myself, so that readers can better understand what I will talk about below.I am mainly a cache implementer, not a user. To provide cache support for some ORM (such as JPA implementation),
1. Result Set Caching description
For instructions on the Oracle official website, refer:
7.6 Managing the Server and ClientResult Caches
Http://docs.oracle.com/cd/E11882_01/server.112/e16638/memory.htm#BGBCABED
1.1 Overview
You can enable
1. cache Introduction 1.1 cache objects
Theoretically, each layer of the Web layered design can be cached, and any object in the Web can be cached.
Cache of HTTP request results
Browser cache, proxy cache, proxy cache at the server side, and use
Linux page cache in the system and Buffer Cache Free Command Display MemoryFirst, let's look at the usage of the memory:650) this.width=650; "title=" clip_image001 "style=" border-top:0px;border-right:0px;background-image:none;
1. cache Overview Cache is a set of examples in memory in java applications. It stores backups of data from permanent storage sources (such as files or databases on hard disks, it reads and writes faster than hard disks. The application reads and
First-level caching:Also known as local cache, sqlsession level cache. The first-level cache is always on, and the data queried during the same session with the database is placed in the local cache.If you need to get the same data, take it directly
You can enable explicit cache for query result sets and query fragments in the database memory. Dedicated memory buffers stored in the Shared Pool
You can enable explicit cache for query result sets and query fragments in the database memory.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.