crash操作cratedb数据

 

1.查询数据

echo -e "select count(1) from sentinel_dev.metric where app='sentinel-dashboard' and id=1141889973611356200"|/cratedb/crash --host=192.168.1.129:4200

 

2.删除数据
echo -e "delete from sentinel_dev.metric where app='sentinel-dashboard' and id=1141889973611356200"|/cratedb/crash --host=192.168.1.129:4200

posted @ 2019-11-29 09:32  slnngk  阅读(400)  评论(0编辑  收藏  举报