Oracle Certification trainings

Total Pageviews

Wednesday, 16 January 2013

Export-Import Subset of Production Data

SAMPLE SAMPLE=[[schema_name.]table_name:]sample_percent
 Allows you to specify a percentage of the data rows to be sampled and unloaded from the source database.
This parameter allows you to export subsets of data by specifying the percentage of data to be sampled and exported. The sample_percent indicates the probability that a row will be selected as part of the sample. The sample_percent can be applied to specific tables. In the following example, 50% of the HR.EMPLOYEES table will be exported:
If you specify a schema, then you must also specify a table. However, you can specify a table without specifying a schema; the current user will be assumed. If no table is specified, then the sample_percent value applies to the entire export job.