cratedb日常管理

版本:4.2.1

1.查看操作日志

select
date_format('%Y%m%d %H',started),name,count(1)
from sys.operations_log
group by
date_format('%Y%m%d %H',started),name limit 100;

 

2.查看job日志

select
date_format('%Y%m%d %H',started),username,count(1)
from sys.jobs_log
group by date_format('%Y%m%d %H',started),username limit 100;

 

3.查看系统表

select * from information_schema.tables limit 100;

posted @ 2020-08-17 15:02  slnngk  阅读(360)  评论(0)    收藏  举报