These steps involve preparing sample data files for the Database Designer to use in producing the
Physical Schema design. If your actual data files are available at this point, you can use a subset of the full data set as sample data. Otherwise, you can use data generated by a commercial data generator application.
How Much Data to Prepare
The Database Designer can read up to one hundred thousand (100K) rows of data (1000 uniform seeks reading 100 rows at a time) of sample fact table data. If there are 100K or fewer rows in the sample data file, all rows are sampled. If the data file is larger, the sampling is uniformly distributed to avoid skew problems. (An internal cycle in the data may cause skew problems but is unlikely.)
How to Name Data Files
Name each data file to match the corresponding table in the logical schema. Case does not matter. Use the extension .tbl
or whatever you prefer. For example, if a table is named Stock_Dimension, name the corresponding data file stock_dimension.tbl
. When using multiple data files, append _
nnn (where nnn is a positive integer in the range 001 to 999) to the filename. For example, stock_dimension.tbl_001
, stock_dimension.tbl_002
, etc.