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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Breaking down values in a large table

Re: Breaking down values in a large table

From: <Jared.Still_at_radisys.com>
Date: Tue, 11 Feb 2003 12:20:53 -0800
Message-ID: <F001.00549F3F.20030211122053@fatcity.com>


Er, I mean, 'filesize'.

Jared.Still_at_radisys.com
Sent by: root_at_fatcity.com
 02/11/2003 10:39 AM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Re: Breaking down values in a large table


John,

use the 'volsize' parameter.

Look at 'exp help=y'

Jared

"John Hallas" <john.hallas_at_hcresources.co.uk> Sent by: root_at_fatcity.com
 02/11/2003 06:19 AM
 Please respond to ORACLE-L  

        To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>

        cc: 
        Subject:        Breaking down values in a large table


Listers,
I have a table of 125M rows (not partitioned) which I am exporting. I want

to break the export into 4 dmp files using the query command on the pk column.  

I am looking at how the best way of finding the values of the PK (number) which are at 25%, 50% and 75% ish for the table so that I can get 4 evenly

sized exports  

My query line in the parameter file will be along the lines of where

1)       log_no < xx
2)       log_no >= xx and < yy
3)       log_no >= yy and < zz
4)       log_no >= zz
 

I am thinking of a sql something like the following  

Select /*+ index ffs(table_name index_name) */ Log_no , floor(log_no / 4), count(*)
>From table_name group by floor(log_no / 4), log_no
 

Version is 8.1.7.1  

Can anybody help please  

Thanks  

John    

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Feb 11 2003 - 14:20:53 CST

Original text of this message

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