Replies: 9 comments 9 replies
-
When indexing over a long slot range, you should enable
I'd love a confirmation of that; Logs should actually give you request times on Kupo so you should be able to tell whether it's
No, database migrations should handle that for you; there hasn't been any database schema changes though since v2.2.0 |
Beta Was this translation helpful? Give feedback.
-
Same request done two times:
Just to be sure I retried overtaking the reverse proxy directly
I'm trying, didn't know, thanks.
This is useful too. Luckily we have snapshots for
|
Beta Was this translation helpful? Give feedback.
-
Hmmm. Sounds like there's something weird with your setup; I've been trying that same request on a Kupo instance running on https://demeter.run with
Especially on requests that fetch results by output reference which are literally a primary key on the underlying table. I need to add some kind of database health check to the health output, but in the meantime, if you have access to it it could help to run some sanity checks on your database and run the following commands:
|
Beta Was this translation helpful? Give feedback.
-
Glad to hear that, at least now I know that what I'm trying to do is doable :)
Here's to you:
|
Beta Was this translation helpful? Give feedback.
-
Question: is your infra running on a fast SSD? |
Beta Was this translation helpful? Give feedback.
-
Could be this related to the fact that I've other services connected to the same cardano node socket? |
Beta Was this translation helpful? Give feedback.
-
Do you think this could be cause by an older cardano node version? Honestly I can't see how but I'm running out of ideas, right now I'm using |
Beta Was this translation helpful? Give feedback.
-
Yes; Kupo will inevitably slow down during synchronization if you just look at slot numbers / block numbers because the chain is getting more dense. Not much really happened during the first two years of history and the Byron era is relatively empty. Starting from Mary era things start to get serious with multi-assets and first NFT projects, then Alonzo really kicks it off in terms of activity. So yes, synchronizing the first 70% of the chain takes something like 10x less time than the last 30%. That's not a Kupo issue, just the way the chain is populated. Synchronizing the entire mainnet will take something around 12-18h depending on your hardware requirement. And not also that this demands more memory (1-2GB) than once synchronized. So if you have less memory available, you may likely run into issues.
Yes, if you are passing
I hardly think so; I've been running on 1.35.4 for a while actually. Node versions usually do not touch the client interfaces so it doesn't really impact these areas. You could likely even connect to a 1.10.0 node and still be able to synchronize through Byron and Shelley. |
Beta Was this translation helpful? Give feedback.
-
hic, I got same issue, here's my check: |
Beta Was this translation helpful? Give feedback.
-
Hello,
we've been using for months some internal shared instances between several teams and projects for
preview
andpreprod
networks and they worked without any problem. Recently I've enabled an instance also formainnet
but now:kupo
, still we cannot afford to 45+ seconds)I was using
v2.2.0
but now I've updated tov2.4.0
(without deleting the db, had I to do so?), this is how I run it:The
cardano-node
'config.json
is taken from hereAlso
Even if the delta between
kupo_most_recent_node_tip
andkupo_most_recent_node_tip
is slowly decreasing it seems to be taking days.I still have to try enabling
--prune-utxo
as suggested in #110 since I'm not sure that this is compatible to our needs. In case I want to enable it, should I remove the db before?Is Kupo supposed to be used indexing everything since origin without pruning utxos on mainnet? Right now the
kupo.sqlite3
is 146GB.Beta Was this translation helpful? Give feedback.
All reactions