Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to know ,the tables which are accessed via FTS?
Ian,
There is no relation between data block in the buffer cache and statement that actually read it. For example, if you are about to read 8 blocks (scattered read), and block #3 already in the buffer cache in consistence state, your I/O request will be broken up for 2(1-2) and 5(4-8) blocks. Interesting exercise will be found segments, which experience both type of I/O (sequential and scattered). You may found state of the block (CR or CUR), except segment header which always read in CUR mode, "SELECT" read in CR, while "INSERT/UPDATE/DELETE" in CUR. Not much help, I know.
Alex.
Thanks Alex! The second method is great. However knowing what tables are undergoing a full table scan is only a part of what's needed. One also needs to know the size of the table; i.e., blocks up to the highwater mark, and the statement which caused the scan in the first place. The first I can determine. Can the second be determined without explaining the statements in the sql cache?
Ian MacGregor
Stanford Linear Accelerator Center
ian_at_SLAC.Stanford.edu
-----Original Message-----
From: Alex Feinstein [mailto:alexf1_at_san.rr.com]
Sent: Monday, March 11, 2002 9:58 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: how to know ,the tables which are accessed via FTS?
Gopal, Ganesh, ...
Small correction:
Alex.
Ganesh,
You can find FTS in the following methods:
Best Regards, K Gopalakrishnan Bangalore, INDIA -----Original Message----- From: Ganesh Raja [mailto:ganesh_at_gtfs-gulf.com] Sent: Monday, March 11, 2002 1:12 AM To: LazyDBA.com Discussion Subject: RE: how to know ,the tables which are accessed via FTS? What will that Acheive... this will not give u Tables that have FTS Done on them. Best Regards, Ganesh R Tel : +971 (4) 397 3337 Ext 420 Fax : +971 (4) 397 6262 HP : +971 (50) 7456019 -----Original Message----- From: vipin jain [mailto:vipin.jain_at_tatainfotech.com] Sent: Monday, March 11, 2002 1:02 PM To: LazyDBA.com Discussion Subject: Re: how to know ,the tables which are accessed via FTS? USE analyze table with compute statistcs.... Thanks and regards, Vipin Jain ----- Original Message ----- From: Atul Gupta To: LazyDBA.com Discussion Sent: Monday, March 11, 2002 2:20 PM Subject: how to know ,the tables which are accessed via FTS? Hi Gurus , One little question how will i get to know what all tables are accessed via full table scan ? any help will be highly appreciated Thnax in advance Atul Gupta
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Alex Feinstein
INET: alexf1_at_san.rr.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Mar 14 2002 - 05:26:00 CST