So I write a lot of sum (decode), performance has a problem, now for optimization solution
CodePudding user response:
Demand is not clear,Is a one-time conversion is complete, or timing refresh
Would you please consider using materialized views
CodePudding user response:
We this two tables for incremental data every month (summary: hundreds of thousands of, detail: tens of millions). The logic is implemented in the PKG. Then use etl scheduling. A month. But now need a full amount of script for the first time. So it will make a great amount of dataCodePudding user response:
11 g? There is a corresponding implementation pivot, unpivotCodePudding user response:
Even if the full amount for the first time, you can also use the job in batches of a career change,