How do you calculate the time to create an index on a large Postgresql table?
<p>I have a Postgres table with 26 million rows in it, and I want to add an indexed boolean column.</p>

<p>Is there a way to calculate how long that type of operation will take, before attempting it in production?</p>