Page 1 of 1

Is the status also queried for all relevant queries?

Posted: Mon Jan 27, 2025 5:02 am
by Mitu9900
This is a question that you always have to ask yourself before partitioning. In fact, in this case, some queries had to be adjusted. In addition, you will often find some queries that do not contain the partition criterion. Then you have to make sure that these queries are not critical in terms of runtime.

2. Can the moving of the records to the "Processed" partition be done at the same time as the status change or does the process have to be decoupled?
The question of potential side effects is also one of the questions that must always be asked in relation to physical database design. One argentina telegram screening question that arises at this point is whether records whose status value is changed should be immediately moved to the correct partition, or whether this movement should be decoupled. Technically, this means whether the value " enable row movement " should be set for this table [7] .

If this happens, it means that the record is deleted from the old location and reinserted in the new partition - during the ongoing transaction. The records can therefore always be found exactly in a partition. This is of course a certain overhead. Experience shows that this overhead is OK as long as one record is processed after the other. However, if we are dealing with a mass update in which records are perhaps also changed in parallel at a high frequency, then this overhead will be very disruptive.

The question is whether such a mass update occurs regularly in the course of regular processing or is an exception. There is one exception that can be made, and row movement can be temporarily disabled. If mass updates occur regularly, row movement must be prohibited and processed data records must be saved to the "Processed" partition in a dedicated action. Even then, the majority of the data records that have been processed will still be found in the "Processed" partition, but the benefits of the clean room strategy defined above will only be partially realized.