To determine a fragmentation strategy, you must know how the data in a table is used. Take the following steps to gather information about a table that you might fragment.
For information on the output of the SET EXPLAIN statement, see Query Plan Report. To determine how the data is accessed, you can sometimes simply review the SELECT statements along with the table schema.
For example, if certain rows in the table are read most of the time, you can isolate them in a small fragment to reduce I/O contention for other fragments.
Decision-support queries typically create and access large temporary files, and placement of temporary dbspaces can be critical to performance.
To see how the column values are distributed, create a distribution on the column with the UPDATE STATISTICS statement and examine the distribution with dbschema.
dbschema -d database -hd table