lightdb生成pwr快照

[lightdb@hs-10-20-30-199 ~]$ ltsql -p5432
ltsql (13.3-22.2)
Type "help" for help.

lightdb@postgres=# select show_samples();
show_samples
-------------------------------------
(1,"2022-08-19 19:00:00+08",t,,,)
(2,"2022-08-19 19:10:00+08",t,,,)
(3,"2022-08-19 19:20:00+08",t,,,)
(4,"2022-08-19 19:30:00+08",t,,,)
(5,"2022-08-19 19:40:00+08",t,,,)
(6,"2022-08-19 19:44:03+08",t,,,)
(7,"2022-08-19 19:46:43+08",t,,,)


ltsql -Aqtc "SELECT get_pwr(480,482)"

生成的快照类似Oracle awr,如下: