Re: Improve Query sqlm_bshtdhgmsvqad
Date: Sat, 2 Nov 2024 22:29:41 -0400
Message-ID: <ebd81c96-e9f7-4dfd-91d6-687667752289_at_gmail.com>
Hi Sayan,
I believe that it would be better to change the data model. People have to understand that most of the huge and unwieldy queries like the OP has given us the opportunity to study are most of the time a result of lacking data model. Missing objects and inadequate indexing can cause that. Also, translating an OLTP data model to the data warehouse environment can do that. B*Tree indexes are not al ways the best. Unfortunately, bitmap indexes can have very interesting consequences in an OLTP environment so they're normally not used for that. Oracle offers a ton of options (clustering, hash clusters, IoT) which are rarely used. Fixing the model first is probably the best advice for Amit.
Regards