I have a performance problem on a table that has more than 83,000,000 records. I need to make multiple SELECTs in it being that most of the most recent inserted data.
Does anyone have any idea to start solving the problem?
Table Performance with more than 83 million records
-
- Moderador
- Posts: 1177
- Joined: Thu, 15 Oct 2009 10:28 am
- Location: Recife
You can use HINTS, create indicates according to your parameters, partition the table,
Finally, there are many outings, but we can only give the best solution when we know where the bottleneck is,
Take the queries and manages the execution plan of them, which will show you what the fun's "match" to return, if there is full table scan, etc., which index is being used,
Begin by posting Querery's Execution Plans
Finally, there are many outings, but we can only give the best solution when we know where the bottleneck is,
Take the queries and manages the execution plan of them, which will show you what the fun's "match" to return, if there is full table scan, etc., which index is being used,
Begin by posting Querery's Execution Plans
-
- Rank: Estagiário Júnior
- Posts: 2
- Joined: Thu, 06 Aug 2009 3:26 pm
- Location: BH - MG
Vitor Leandro
The best way to perform tuning is with partitioning for date range. In this way, only the filter partitions will be accessed. This, combined with local indexes, will make everything stay super fast.
See if your Oracle is Enterprise and if your table has a historical date that is rarely or never updated. Ex: transaction date.
Any questions, will post there!
See if your Oracle is Enterprise and if your table has a historical date that is rarely or never updated. Ex: transaction date.
Any questions, will post there!
-
- Rank: Programador Júnior
- Posts: 16
- Joined: Fri, 14 May 2010 8:06 pm
- Location: São José dos Campos - SP
O Primeiro passo não vale nada se você não chegar ao final.
Friend if they are only queries that you are performing once, no nothing will always be used.
You can create a smaller table only with the data you need, so you have liberality and ease to work with the table.
If it is a definitive solution, it is what the staff has already spoke, it has nowhere to run away.
You can create a smaller table only with the data you need, so you have liberality and ease to work with the table.
If it is a definitive solution, it is what the staff has already spoke, it has nowhere to run away.
- dr_gori
- Moderador
- Posts: 5024
- Joined: Mon, 03 May 2004 3:08 pm
- Location: Portland, OR USA
- Contact:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
It puts all possible restrictions, especially in the fields that you have indices, for it to restrict the lines.
And tb everything the people said there.
And tb everything the people said there.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests