← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 10294 · 生成模型:未记录

查询从解析到执行

理解等级:初级

传输层接收请求并承载节点间通信。处理器识别查询对象与含义,从而验证查询和检查权限。优化器消去无效或重复步骤,再按统计量、索引、数据位置与跨节点传输代价选择执行计划。执行引擎发起计划中的本地和远程操作,并汇集结果。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 1. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch01.html#dbms_architecture,段 22) - 结论依据:原文详细列出优化依据及关系操作表示形式,随后给出执行计划与执行引擎。 - 原始内容:The parsed query is passed to the query optimizer, which first eliminates impossible and redundant parts of the query, and then attempts to find the most efficient way to execute it based on internal statistics (index