How can you gather statistics on a table?

The ANALYZE command.