Wei,
> Does postgreSQL have some kind of utility to fix/defrag the fragmented > index?
Yes. See REINDEX under "SQL Commands" in the postgresql docs.
-- -Josh Berkus Aglio Database Solutions San Francisco