赞
踩
- CREATE CONTINUOUS VIEW recent_users WITH (sw = '1 minute') AS
- SELECT user_id::integer FROM stream;
- CREATE CONTINUOUS VIEW recent_users AS
- SELECT user_id::integer FROM stream
- WHERE (arrival_timestamp > clock_timestamp() - interval '1 minute');
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。