Re: LOAD & IMPORT results in different disk space, occupied by a Mark A wrote:
>> Here are the results:
>>
>> syscat.tables, npages:
>> ----------------------
>> TABLE IMPORT LOAD
>> ------- --------- -------
>> F4106 372 401
>> F42199 694862 700326
> The load utility loads the data in blocks (or pages) in the same format they were exported, even if there are pages which are not completely full when the data is exported.
Can not be true. One reason and one confirmation:
- The intermediate data format (DEL,IXF) intended to be interoperable. This allows moving data between different platforms and on-disk structures. It (data format) by definition does not contain page and block information. Thus LOAD operation must reconstruct any data blocks specifically for target platform.
- I just checked - the source table F42199, when exported, occupied: npages=1399252, fpages=1399430. If you are right, LOAD'ed table would occupy the same number of pages, but it occupies just half of them. This is because VALUE COMPRESSION option for target table. Thus, the data pages for pages *were* reconstructed by LOAD.
Cheers,
--
Konstantin Andreev. |