by shigemk2

当面は技術的なことしか書かない

2017-04-10から1日間の記事一覧

zabbix pfree/free

ドキュメントとか読み漁っていたのだけれど、 pfree (空き容量のパーセント表示) free (空き容量のバイト表示) という簡単な違いであった。 ディスク容量監視について | 日本Zabbixユーザー会

date_diff presto

date_diff(unit, timestamp1, timestamp2) → bigint Returns timestamp2 - timestamp1 expressed in terms of unit. 第二引数と第三引数はdate型にキャストとかする必要があったりする 6.10. Date and Time Functions and Operators — Presto 0.172 Document…