Thomas Steinholz
10/27/2022, 6:02 PMselect count(*)
for the whole table, it says there are 12,391,295 records, yet even in the query stats it says the total number of docs is 333,029,029. The query stats also say that only 344 of the segments match *
yet that is not even half of the real time segments and I am assuming none of the offline segmentsMayank
Thomas Steinholz
10/27/2022, 6:34 PMMayank
Mayank
select *
without orderby/limit or filter will do an early bailout (as it needs to only return some 10 records.Thomas Steinholz
10/27/2022, 6:37 PMMayank
Thomas Steinholz
10/27/2022, 6:38 PMThomas Steinholz
10/27/2022, 6:38 PMMayank
Mayank
Mayank
Mayank
Thomas Steinholz
10/27/2022, 6:40 PM2022-03-31T10:00:39.299
for real time (note this has only been running for the last couple of days) and 2022-10-18T20:02:52.759
for offlineThomas Steinholz
10/27/2022, 6:51 PMMayank
Thomas Steinholz
11/02/2022, 1:01 AMselect * from uplinkpayloadevent
order by message_timestamp asc
limit 10
First result = 2022-10-18T20:02:52.759 (1666123372759)
This is the same for the uplinkpayloadevent_OFFLINE table, but not the uplinkpayloadevent_REALTIME table (which has only been online for a few days)
select * from uplinkpayloadevent_REALTIME
order by message_timestamp asc
limit 10
First result = 2022-03-31T10:00:39.299 (1648720839299)
To ensure that this data was ETLed, I even downloaded a segment to verify the expected time range is there.
I am having trouble making sense of this..