Postgresql – How hard would it be to have PostgreSQL run a test to adjust the cost parameters

performancepostgresql

By using EXPLAIN one can see the cost of running a query. The cost is in artificial units, and they are based on pre-defined parameters. 1 is one disk fetch and a CPU cycle is 0.01 units, I believe. My question is why PostgreSQL does not automatically run a test upon installation to determine the real numbers based on the hardware? Shouldn't this be an obvious quick win?

Best Answer

What you're referring to is known as System Statistics in Oracle; I don't think Postgres supports these (yet?).