Вы находитесь на странице: 1из 6

sql> select executions , disk_reads, buffer_gets,

2 round((buffer_gets-disk_reads)/buffer_gets,2) hit_radio,
3 round(disk_reads/executions,2) reads_per_run,
4 sql_text
5 from v$sqlarea
6 where executions>0
7 and buffer_gets > 0
8 and (buffer_gets-disk_reads)/buffer_gets < 0.8
9 order by 4 desc;

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
2 2 8 .75 1
select count(0) from tbl_results where url='http://google.blogspace.com/' and re
sult_time>current_timestamp - interval '30' day

1 1 4 .75 1
select count(0) from tbl_results where url='http://www.blosxom.com/colophon.html
' and result_time>current_timestamp - interval '30' day

1 1 4 .75 1

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://www.blosxom.com/features.html
' and result_time>current_timestamp - interval '30' day

2 2 8 .75 1
select count(0) from tbl_results where url='http://www.wyldryde.org/' and result
_time>current_timestamp - interval '30' day

2 2 8 .75 1
select count(0) from tbl_results where url='http://www.chicagobusiness.com/cgi-b

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
in/news.pl?id=19053' and result_time>current_timestamp - interval '30' day

2 2 8 .75 1
select count(0) from tbl_results where url='http://www.topix.net/' and result_ti
me>current_timestamp - interval '30' day

1 1 4 .75 1
select count(0) from tbl_results where url='http://www.consumating.com/updates/#
' and result_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------

1 1 4 .75 1
select count(0) from tbl_results where url='http://www.jamesyu.org' and result_t
ime>current_timestamp - interval '30' day

1 1 4 .75 1
select count(0) from tbl_results where url='http://www.magnaromagna.it/rss.php'
and result_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
1 1 4 .75 1
select count(0) from tbl_results where url='http://withrealestate.com/blogs/real
-estate-new-york/135/' and result_time>current_timestamp - interval '30' day

2 2 8 .75 1
select count(0) from tbl_results where url='http://blogshares.com/help.php' and
result_time>current_timestamp - interval '30' day

2 2 8 .75 1

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://thestartupnews.com/submit' an
d result_time>current_timestamp - interval '30' day

1 1 4 .75 1
select count(0) from tbl_results where url='http://www.magnaromagna.it/catalogo/
abbigliamento/' and result_time>current_timestamp - interval '30' day

2 2 8 .75 1
select count(0) from tbl_results where url='http://www.firefox-browser.de/' and

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
result_time>current_timestamp - interval '30' day

1 1 4 .75 1
select count(0) from tbl_results where url='http://www.magnaromagna.it/ricerca/'
and result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://davenycphoto.com/' and result
_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.flaloans.net/' and result
_time>current_timestamp - interval '30' day
1 1 3 .67 1
select count(0) from tbl_results where url='http://yourwaitress.com/' and result
_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
1 1 3 .67 1
select count(0) from tbl_results where url='http://refinance.bestwebdiz.org/' an
d result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://safetyharbormortgage.com/' an
d result_time>current_timestamp - interval '30' day

1 1 3 .67 1

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://btatum456.iblogs.com/2006/06/
22/bad-credit-refinance-fha-goldmedalmortgage-com/' and result_time>current_time
stamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://withrealestate.com/blogs/real
-estate-new-york/' and result_time>current_timestamp - interval '30' day

1 1 3 .67 1

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://pdt.tradedoubler.com/click?a(
406658)p(17339)prod(1393927)' and result_time>current_timestamp - interval '30'
day

1 1 3 .67 1
select count(0) from tbl_results where url='http://about-home-loans.org/student-
loan-refinance/2006/08/student-loan-refinance-1-loans-usa.html' and result_time>
current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
1 1 3 .67 1
select count(0) from tbl_results where url='http://www.mortgagerefinancingblog.c
om/2006/08/16/save-thousands-of-dollars-with-mortgage-refinance/' and result_tim
e>current_timestamp - interval '30' day

1 1 3 .67 1
delete from result_keywords where result_id=5162467

1 1 3 .67 1

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://www.buzzshout.com/' and resul
t_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://wiki.qpsmtpd.org/' and result
_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.hrpfinance.com/purchasepr

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
operty/purpose.htm' and result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.news4me.info/credit-debt/
mortgage-commitment.htm' and result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.pamortgagequotes.com/john
stown-mortgage.html' and result_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.memotomyself.org/' and re
sult_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.affinitymortgagetoday.com
/programs.php' and result_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
1 1 3 .67 1
select count(0) from tbl_results where url='http://best-mortgage-rate.nowgetmore
4less.info/2006/09/best-home-loan-mortgage-ratehome.html' and result_time>curren
t_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://rayozzie.spaces.live.com/blog
/cns!fb3017fbb9b2e142!285.entry' and result_time>current_timestamp - interval '3
0' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------

1 1 3 .67 1
select count(0) from tbl_results where url='http://xfloridarefinancemortgage5.on
lineblogger.com/friends/' and result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.hjp.at/projekte/qpsmtpd/i
ndex.en.rxml' and result_time>current_timestamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
1 1 3 .67 1
select count(0) from tbl_results where url='http://diamond08.com/mortg/540.html'
and result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.tradingforeignxchange.com
/1031-exchange-escaping-the-certainty-of-taxes.html' and result_time>current_tim
estamp - interval '30' day

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
1 1 3 .67 1
select count(0) from tbl_results where url='http://smtpd.develooper.com/' and re
sult_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://search.surveys.yahoo.com/news
searchfinal' and result_time>current_timestamp - interval '30' day

1 1 3 .67 1

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://www.schoolwork.org/refinance-
student-loans.html' and result_time>current_timestamp - interval '30' day

1 1 3 .67 1
select count(0) from tbl_results where url='http://www.ahmadvantage.com/landingp
ages/form1.aspx?referrer=83666857' and result_time>current_timestamp - interval
'30' day

1 1 3 .67 1
executions disk_reads buffer_gets hit_radio reads_per_run
---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://www.intellinetinteractive.com
/sample-mortgage-marketing-letter.html' and result_time>current_timestamp - inte
rval '30' day

1 2 4 .5 2
select count(0) from tbl_results where url='http://joesnyc.streetnine.com/' and
result_time>current_timestamp - interval '30' day

1 2 4 .5 2

executions disk_reads buffer_gets hit_radio reads_per_run


---------- ---------- ----------- ---------- -------------
sql_text
--------------------------------------------------------------------------------
select count(0) from tbl_results where url='http://www.markushartel.com/blog/' a
nd result_time>current_timestamp - interval '30' day

3 6282 10318 .39 2094


select result_id, url from new_queue where flag=0

47 rows selected.

sql> set spool off;


sp2-0158: unknown set option "spool"
sql> spool off;