1

Postgres 中的 analyse 與 analyze 有什麼不一樣?

 2 years ago
source link: https://blog.niclin.tw/2018/07/14/postgres-%E4%B8%AD%E7%9A%84-analyse-%E8%88%87-analyze-%E6%9C%89%E4%BB%80%E9%BA%BC%E4%B8%8D%E4%B8%80%E6%A8%A3/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Nic Lin's Blog

喜歡在地上滾的工程師

最近在找效能瓶頸時,很常用到 explain + analyze 的分析語句,這樣一來可以清楚掌握真正執行的 sql 究竟用了什麼 query plan。

但在用 metabase 查詢時,發現我如果打 analyze 時也會出現 analyse 我就在想這是不是有什麼不一樣之處,就去搜了一下。

其實也沒什麼,就是貼心的支持英國和美國英語,在功能上並沒有區別,即時是源代碼也提到是英國的拼寫,所以是完全沒有差異的。

查 Postgres Source code

analyze_keyword:
        ANALYZE                                 {}
        | ANALYSE /* British */                 {}

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK