Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Support Team,
I hope you are doing well.
Please allow me to confirm the following description in the documentation:
▼ Relevant section
“Only table-level SHRINK SPACE operations are supported. These include the full table, partitions, and sub-partitions.”
https://help.qlik.com/en-US/replicate/November2024/Content/Global_Common/Content/SharedReplicateHDD/...
In our verification, even when executing SHRINK SPACE on the source database using the following queries, it appears that the SHRINK SPACE operation is not being replicated to the target database.
▼ Queries
ALTER TABLE <TABLE_NAME> ENABLE ROW MOVEMENT;
ALTER TABLE <TABLE_NAME> SHRINK SPACE CASCADE;
Therefore, regarding the above statement that SHRINK SPACE is supported,
what behavior is Qlik Replicate expected to perform when a SHRINK SPACE operation is executed on the source database?
Our test environment was as follows:
Source: Oracle 19c
Target: Oracle 19c
Qlik Replicate: 2023.05 and 2024.11
Best Regards.
Hello @iti-attunity-sup ,
Yes, you are right.
Replicate will not fail
Replicate will continue CDC normally
Replicate will NOT replicate the SHRINK SPACE action itself to the target
Regards,
Sachin B
Hello @iti-attunity-sup ,
Handling shrink space operations :
When a SHRINK SPACE operation occurs, Replicate will capture all of the changes logged to the redo log as a result of the operation and ignore them.
The following message will appear in the task’s log file:
Operations generated by the SHRINK SPACE process were ignored.
Monitoring considerations:
When Replicate captures changes resulting from a SHRINK SPACE operation, the task’s Incoming Changes bar will indicate an unusually large number of changes. However, these changes will not be reflected in the Applied Changes pie chart or the Applied Changes Details table.
Limitations and considerations section for the limitations related to SHRINK SPACE operations in Replicate Log Reader and LogMiner mode.
Regards,
Sachin B
Hi, @SachinB
I have also reviewed the following article:
https://help.qlik.com/en-US/replicate/November2024/Content/Global_Common/Content/SharedReplicateHDD/...
Regarding the term “ignore” used in this article, does it mean that the SHRINK SPACE operation itself is ignored and not executed on the target database?
If the SHRINK SPACE operation itself is ignored, then what exactly does
“Only table-level SHRINK SPACE operations are supported” mean?
Does it simply mean that running SHRINK SPACE on the source database will not cause the task to stop or fail, rather than meaning the operation is replicated to the target?
Best Regards.
Hello @iti-attunity-sup ,
Yes, you are right.
Replicate will not fail
Replicate will continue CDC normally
Replicate will NOT replicate the SHRINK SPACE action itself to the target
Regards,
Sachin B