Feature Suggestion/Index tuning wizard that automatically decide on indexes

From: "Brian Maguire" <bmaguire(at)vantage(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Feature Suggestion/Index tuning wizard that automatically decide on indexes
Date: 2003-06-09 17:47:56
Message-ID: 2F2E24372F10744588A27DEECC85FE040103E62A@vt-pe2550-001.vantage.vantage.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I don't think that this has been up for discussion yet but I think it
would be good concept/feature that someone might want to take up or
shoot down. However some may have already. I am not sure where it falls
PGAdmin, psql, optimizer, gborg... all.

Recommended Feature: Index Tuning Wizard

Description: The Index Tuning Wizard simplifies the task of identifying
which indexes to create in a table and also optionally generates scripts
to create them by analyzing a user-supplied workload. Various modes are
offered for tuning both indexes and indexed views.

Rational: Why this would be a killer feature... because it can save
time and improve the performance of the database based real data.

Sure you could say that the DBA should be able to do this but it really
is a good job for a machine because it analyzes real production data
workload queries and statistics quickly. Not to mention not everyone
has a DBA on staff and the databases are managed by developers.

Comments:
MSSQL Server has an excellent model for this. It has the ability to
take the transaction logs and statistics and analyze them and recommend
indexes and create them.

Various URLS

Description of MS SQL's Feature
http://www.sql-server-performance.com/index_tuning_wizard_tips.asp

MS Feature White Paper
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodt
echnol/sql/maintain/optimize/tunesql.asp

A discussion blurb regarding it
http://weblogs.flamefew.net/bayard/archives/000406.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carlos 2003-06-09 17:50:34 FW: Retrieving the server time and date -- java??
Previous Message Jeffrey W. Baker 2003-06-09 17:27:58 Thousands of semops for every i/o

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2003-06-09 19:45:27 Re: Proposal to Re-Order Postgresql.Conf, part II
Previous Message Tom Lane 2003-06-09 17:25:09 Re: freeaddrinfo2 changes.