# Indexer DB: error connecting to postgres

### Jun 7, 2023

thank you! but the processing speed is so slow, 12 hours for 2.4 million blocks on my computer. By this speed, it will take a week to get the whole chain.
May I ask what content the indexer is processing? because the postgresql database is empty after processing so many blocks, and the indexer data…

### Jun 6, 2023

Thanks, I finally solved the database connection problem, and the console is like this:
Is it normal( but I didn’t see anything added in the database)?
Should I keep it running?

### Jun 6, 2023

Hi, have you solved the problem? My bug is that index cannot connect to postgresql database: **error":"connecting to postgres: failed to connect to host=127.0.0.1 user=postgres database=algorand: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)","level":"error","msg":"could not init…
