Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: fast table scan

Re: fast table scan

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 16 Apr 1999 17:20:45 +0100
Message-ID: <924282043.27762.0.nnrp-10.9e984b29@news.demon.co.uk>


Depends what you want to do with the data, how much change occurs between scans etc, how busy the system is, how many spindles available, how many CPUs etc.

1.5 Mb off-disk - at a typical 64Kb per read request requires 24 I/O requests. Assuming disks capable of 10 millisec response per read request you can an idea of how unlikely you are to meet your requirement.

For suitably simplistic requests, with very little update taking place elsewhere (i.e. to avoid need to read rollback segments as well), you may have some success after the 1st pass with parallel query, several CPUs, lots of spindles, making the table a cached table, running on file system with a large filesystem buffer.

If you want to return 10,000 separate rows into a Pro*C array then that's another issue.

--

Jonathan Lewis
Yet another Oracle-related web site: www.jlcomp.demon.co.uk

rosmit_at_acxiom.com wrote in message <7f0atu$lq5$1_at_nnrp1.dejanews.com>...
>I am looking for the fastest possible way to scan a table. The table is
>small - 10,000 rows with a datafile of about 1.5MB. I want to run a query
>(or have ProC fetch) in .020 seconds or less.
>
Received on Fri Apr 16 1999 - 11:20:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US