摘要
语义缓存技术是优化数据库性能的有效方法。为优化查询性能,H ibernate引入了查询缓存机制。在深入研究基于语义缓存技术的H ibernate缓存机制同时,提出了在不同进程中利用JM S技术与手工刷新查询结果,从而实现了一个查询应用进程与一个更新应用进程间的相互通信,并根据后一进程的状态判定是否需要查询缓存。
Semantic caching is an efficient approach to improving the performance of database applications. In order to optimize query performance, Hibernate imports query caching mechanism. The paper thoroughly researches on Hibernate cache mechanism on the basis of semantic caching. The paper utilizes JMS and handwork refreshing query results in different process, thus realizing communication between a query process and an update process, and determining query cache according to the state of the end process.
出处
《交通与计算机》
2006年第4期120-122,共3页
Computer and Communications