查询历史sql视图
create view history_query as
select
logtime,
loguser,
logdatabase,
loghost,
logdebug
from
hawq_toolkit.__hawq_log_master_ext
where
logdebug <> ''
and logdebug <> 'select * from history_query ;'
order by
logtime;
create view history_query as
select
logtime,
loguser,
logdatabase,
loghost,
logdebug
from
hawq_toolkit.__hawq_log_master_ext
where
logdebug <> ''
and logdebug <> 'select * from history_query ;'
order by
logtime;