Cancelling statement due to statemtn timeout
i am experiencing an issue where a query to a table is timing out and I am not sure why.
the query is
however, when i navigate to my page /reports/dynamic/cameras
i see that the request fails here are my terminal logs showing the error and request time
the amount of cameras in the table are 433 so the query should be pretty fast,
what could the issue possibly be?
I have indexes on the table, simple rls policies, and when running
i get the following
a large about of time is spent in planning.
any thoughts on what may be causing the issue?
the query is
however, when i navigate to my page /reports/dynamic/cameras
i see that the request fails here are my terminal logs showing the error and request time
the amount of cameras in the table are 433 so the query should be pretty fast,
what could the issue possibly be?
I have indexes on the table, simple rls policies, and when running
i get the following
a large about of time is spent in planning.
any thoughts on what may be causing the issue?