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

猜你喜欢

转载自www.cnblogs.com/hxlasky/p/11955767.html