There is an index on the columns of (hotel_id, room_type_id,
sku_id).
4.3.2 The Original Application and Stored
Procedures Involved
The original application is shown in Figure 19 for one typical
execution of processing 10 hotels. The processing logic in pseudo
code is as follows: