Пока мы готовим серию постов про сортировку, предлагаем поразмять мозги над одной из задачек.
Перед вами план запроса, который создаёт таблицу с архивными данными продаж старше двух последних недель. На основании этого плана нужно понять, как ускорить запрос, не меняя при этом его текст.
Версия Oracle: 12.2.0.1 Структура индекса из 4 операции: SALE_DT, COSTUMER_ID, RETAILER_ID.
Predicate Information (identified by operation id): ---------------------------------------------------
4 - access("S"."SALE_DT"<=TRUNC(SYSDATE@!)-14)
Пишите в комментариях свои вопросы, идеи, предложения 👇🏻
Пока мы готовим серию постов про сортировку, предлагаем поразмять мозги над одной из задачек.
Перед вами план запроса, который создаёт таблицу с архивными данными продаж старше двух последних недель. На основании этого плана нужно понять, как ускорить запрос, не меняя при этом его текст.
Версия Oracle: 12.2.0.1 Структура индекса из 4 операции: SALE_DT, COSTUMER_ID, RETAILER_ID.
Predicate Information (identified by operation id): ---------------------------------------------------
4 - access("S"."SALE_DT"<=TRUNC(SYSDATE@!)-14)
Пишите в комментариях свои вопросы, идеи, предложения 👇🏻
The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.
Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.