Tool for determining field usage of database tables

From: Andy Yoder <ayoder(at)airfacts(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Cc: Andy Yoder <ayoder(at)airfacts(dot)com>
Subject: Tool for determining field usage of database tables
Date: 2010-02-25 16:36:25
Message-ID: BB3AA8A575B8B14B9247145A7E44E3BF16AE3DD36E@34093-MBX-C17.mex07a.mlsrvr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does anyone know of a tool (or a way to use the database catalogs) that can analyze function code/queries accessing the database to pull out a list of the fields used in a set of tables. Basically we are importing a lot of data from another source, and we are trying to determine what percentage of the data we are actually using at this point . We have hundreds of stored procedures, and combing through the code would not be practical.

Thanks.

--Andy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2010-02-25 16:47:36 Re: Performance comparison
Previous Message Alex Hunsaker 2010-02-25 16:16:32 Re: Restricting the CREATEROLE privilege