-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ponder_sync.rpcRequestResults
table exceeds postgres index limits
#1104
Comments
Looks like it is caused by some big periodic multicalls I was making. Refactoring those seems to have fixed the issue. |
Thanks for opening. Yeah, splitting into several multicalls is probably the best workaround. Will keep this in mind though - at one point we considered "unbundling" multicalls for storage in that cache table, but decided against it. How many calls and what kind of input data were you doing here, and how many after the fix? We could consider a quick validation that would have nudged you to split it up earlier on / during development. Might prevent this happening to someone else in prod. |
Is an embarrassing amount... had 300 calls in a single multicall. The calls all had one argument. The db didnt complain for days, so it took a while to hit whatever limit pg has. |
might be useful to have an option to tell the context read to not write the rpc calldata to the db. my use case was to check that the ponder state of my contracts (based on events-driven typescript implementation of the contract code) matches the state of the on-chain contracts (collected through rpc calls). this was running about once per day using the block-number driven ponder cron mechanism. |
getting this on & off from |
My ponder instance crashed with the following error:
Looking at the database logs, I see this further error detail:
Any suggestions on a fix?
The text was updated successfully, but these errors were encountered: