-- 1
select * from poll_fish.logging_evts_by_priority_ord_time_desc
where priority = 'NORMAL';
-- 2
select * from poll_fish.logging_evts_by_priority_ord_time_desc
where priority = 'NORMAL' and time < '2020-11-26T19:25:19.694Z';
select * from poll_fish.logging_evts_by_type_ord_time_desc
where type = 'USER_INFO_EVENT' and time < '2020-11-26T19:25:19.694Z';
-- 3
select * from poll_fish.logging_evts_by_priority_by_type_ord_time_desc
where priority = 'CRITICAL' and type = 'TRANSACTION_EVENT' and time < '2020-11-30T19:25:19.694Z';
-- 4
select * from poll_fish.logging_evts_by_or_by_prio_by_typ_ord_t_desc
where origin = 'wallet_service_0' and priority = 'CRITICAL' and type = 'TRANSACTION_EVENT' and time < '2020-11-30T19:25:19.694Z';
select * from poll_fish.logging_evts_by_or_by_prio_by_typ_ord_t_desc
where origin = 'wallet_service_1' and priority = 'CRITICAL' and type = 'TRANSACTION_EVENT' and time < '2020-11-30T19:25:19.694Z';
select * from poll_fish.logging_evts_by_or_by_prio_by_typ_ord_t_desc
where origin = 'wallet_service_2' and priority = 'CRITICAL' and type = 'TRANSACTION_EVENT' and time < '2020-11-30T19:25:19.694Z';
-- 5
select * from poll_fish.logging_evts_by_or_ord_prio_typ_t_desc
where origin = 'wallet_service_2';
select * from poll_fish.logging_evts_by_or_ord_prio_typ_t_desc
where origin = 'wallet_service_2' and priority = 'CRITICAL';