Friends,
I have a production DW, and in it some tables are not being more accessed. How do I know what these tables are?
With Index I can ask Oracle that monitors and through the View v $ object_usage see which indexes that were not used. But how to do this with tables?
Hugs,
Gustavo.
Monitoring of use of tables ...
-
- Rank: Analista Sênior
- Posts: 130
- Joined: Mon, 22 Nov 2004 1:45 pm
- Location: Niterói - RJ
Gustavo Erthal Jr. | TRISCAL
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
Paul,
You are mistaken, the question is from 08/11/2006.
My registration is that it was done in 2004.
Hugs,
You are mistaken, the question is from 08/11/2006.
My registration is that it was done in 2004.
Hugs,
-
- Rank: Analista Sênior
- Posts: 130
- Joined: Mon, 22 Nov 2004 1:45 pm
- Location: Niterói - RJ
Gustavo Erthal Jr. | TRISCAL
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
Paulo,
Complementing, the bank is 10gr2.
Hugs,
Complementing, the bank is 10gr2.
Hugs,
-
- Rank: Analista Sênior
- Posts: 130
- Joined: Mon, 22 Nov 2004 1:45 pm
- Location: Niterói - RJ
Gustavo Erthal Jr. | TRISCAL
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
Paul,
This type of detail is only used in the collection of statistics.
What I need is a way to find out if a table is suffering charge or some kind of access by the user.
Hugs,
This type of detail is only used in the collection of statistics.
What I need is a way to find out if a table is suffering charge or some kind of access by the user.
Hugs,
-
- Moderador
- Posts: 1396
- Joined: Fri, 01 Feb 2008 2:06 pm
- Location: Rio de Janeiro - RJ
- Contact:

Would not that help you?
If you find out what the name of your DW process can filter for it and then in sql_text know the name of the table
select *
from v$sql sql,
v$session se
where sql.sql_id = se.sql_id
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
So why monitoring.
Indixes and monitoring tables update their use in the dictionary and can be viewed by V $ object_usage.
follows an example:
After a period, role query:
1]]
See if IF The Products_PK Index is Being Used.
has a column called Used, which in case of non-use, is like no.
Hugs
Indixes and monitoring tables update their use in the dictionary and can be viewed by V $ object_usage.
follows an example:
After a period, role query:
1]]
See if IF The Products_PK Index is Being Used.
select distinct PROD_ID from SH.PRODUCTS;
Table..........................Index..........................Monitoring Used
------------------------------ ------------------------------ ---------- ----
PRODUCTS...................... PRODUCTS_PK....................YES........YES
.............................. PRODUCTS_PROD_CAT_IX.......... YES........NO
.............................. PRODUCTS_PROD_STATUS_BIX...... YES........NO
.............................. PRODUCTS_PROD_SUBCAT_IX........YES.
Hugs
-
- Rank: Analista Sênior
- Posts: 130
- Joined: Mon, 22 Nov 2004 1:45 pm
- Location: Niterói - RJ
Gustavo Erthal Jr. | TRISCAL
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
...................................................
Rio de Janeiro | (21) 2507-2010
São Paulo | (11) 3167-0526
www.triscal.com.br
My noble, and if for example a table does not have any kind of index?
This solution will not work.
In addition, the index needs to be updated so that a record "exists" in the V $ object_usage.
The problem persists.
Hugs,
This solution will not work.
In addition, the index needs to be updated so that a record "exists" in the V $ object_usage.
The problem persists.
Hugs,
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
Updated not, used.
As for no index tables I would use the DBA_HIST_SEG_STAT view to check the physical Reads variation. Or Physical Writes. If they had variation in a period, it is because the table is used.
Hugs
As for no index tables I would use the DBA_HIST_SEG_STAT view to check the physical Reads variation. Or Physical Writes. If they had variation in a period, it is because the table is used.
Hugs
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest