Replies: 1 comment
-
relates to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are running trino in very resource restricted environment.
Having a restricted amount of memory, it would be nice if we could rewrite some parts of the query into a multiple ones, with intermediate results written to disk.
e.g. having a join query like this
select * from a inner join b on a.id=b.a_id where a.property = 1234;
it would be nice to execute the query with the following plan:
select * from a where a.property=1234
tmp1
select * from tmp1 inner join b on a.id=b.a_id
From our tests this reduces the resources need drastically in our case and we are willing to pay the performance costs in this case.
So, can we do this say using SPI? e.g. by influencing the execution plan our even rewriting it?
Or maybe any other idea?
(While we know about spiller it does not helps us enough)
Beta Was this translation helpful? Give feedback.
All reactions