SQL Language (MOSC)

MOSC Banner

Query assistance needed on view with large partitioned/sub-partitioned table

edited Mar 26, 2025 5:51PM in SQL Language (MOSC) 7 commentsAnswered

Hi Community members!

There is a requirement to pull some data from a database that we manage. The data is accounting related. I've been asked to provide some guidance on how to efficiently do this via SQL query. A view exists which contains the necessary data (group by's, summations, etc.) that the users need to have. This view contains a very large table in it of about 1.5 billion records and has several dozen columns. As I understand it, the table is partitioned on a column named "period" of VARCHAR2 data type (each 'period' represents 1 calendar month of data; i.e. JAN-2025, FEB-2025, …

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center