查询 >3天的数据
select created_at,vm_state,memory_mb,vcpus from nova.instances where created_at<curdate()-interval 3 day and vm_state!="deleted";
查询3天前至今的数据
select created_at,vm_state,memory_mb,vcpus from nova.instances where created_at>=curdate()-interval 3 day and vm_state!="deleted";