Stores the database metadata (schema) in a file. You can also use the Sun Java System Studio IDE to capture the database schema. Run capture-schema as the same database user that owns the tables, so that the -username and -schemaname
options are given the same username. Additionally, you can grant the database user running the capture-schema command the ANALYZE ANY TABLE privilege.