I just tested it myself:
WITH arr AS (
SELECT array_agg((random()*18000000)::bigint) AS id FROM generate_series(0, 10000)
) SELECT * FROM arr
JOIN foxo.file ON file.id = ANY(arr.id)
Query complete 00:01:13.853
I just tested it myself:
WITH arr AS (
SELECT array_agg((random()*18000000)::bigint) AS id FROM generate_series(0, 10000)
) SELECT * FROM arr
JOIN foxo.file ON file.id = ANY(arr.id)
Query complete 00:01:13.853
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Sep 29, 2022, 12:32 PM
test it.