Postgres is creating simple index more than 2 days. Where can I see a log, or something about status index creation? Before this situation I've created index couple times and it took about an hour or less. I have about 5.5m rows and execute next command:
CREATE INDEX collapse_url ON tablle (url, collapse)
CREATE INDEXstatement is actually being blocked by another process/transaction: wiki.postgresql.org/wiki/Lock_Monitoring. Please update your post with your findings