You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/29 03:40:38 UTC

[GitHub] [incubator-doris] caiconghui commented on a change in pull request #4479: [Apache][Doris]add query cache docs

caiconghui commented on a change in pull request #4479:
URL: https://github.com/apache/incubator-doris/pull/4479#discussion_r479602225



##########
File path: docs/zh-CN/administrator-guide/query_cache.md
##########
@@ -0,0 +1,184 @@
+---
+{
+    "title": "QUERY CACHE",
+    "language": "zh-CN"
+}
+---
+
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+# QUERY CACHE
+
+
+
+## 一 需求
+
+虽然在数据库层也做了对应的缓存,但这种数据库层次的缓存一般针对的是查询内容,而且粒度也太小,一般只有表中数据没有变更的时候,数据库对应的cache才发挥了作用。但这并不能减少业务系统对数据库产生的增、删、查、改的庞大IO压力。所以数据库缓存技术在此诞生,实现热点数据的高速缓存,提高应用的响应速度,极大缓解后端数据库的压力

Review comment:
       虽然在数据库层  ->  虽然在数据库存储层?
   一般只有表中数据没有变更的时候,数据库对应的cache才发挥了作用 -> 查询结果的高速缓存的实现方案也是需要数据没有变更?
   但这并不能减少业务系统对数据库产生的增、删、查、改的庞大IO压力 -> 但这并不能减少业务系统对数据库进行增删改查所带来的庞大的IO压力? 
   所以数据库缓存技术 在此诞生,  -> 数据库计算层的缓存技术?
   实现热点数据  ->  实现查询结果??




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org