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: Getting Number of Rows in CTAS across DBLink

RE: Getting Number of Rows in CTAS across DBLink

From: Sami <saminathans_at_myrealbox.com>
Date: Fri, 07 Nov 2003 19:24:25 -0800
Message-ID: <F001.005D603E.20031107192425@fatcity.com>


Arup,
connot you use COPY command?

  -----Original Message-----
  From: ml-errors_at_fatcity.com [mailto:ml-errors_at_fatcity.com]On Behalf Of Daniel Fink
  Sent: Friday, November 07, 2003 4:20 PM   To: Multiple recipients of list ORACLE-L   Subject: Re: Getting Number of Rows in CTAS across DBLink

  Arup,
  Any chance there will be an index on the table?

  Daniel

       "Arup Nanda" <orarup_at_hotmail.com>
          Sent by: ml-errors_at_fatcity.com
           11/07/2003 12:34 PM
           Please respond to ORACLE-L

                  To:        Multiple recipients of list ORACLE-L
<ORACLE-L_at_fatcity.com>
                  cc:
                  Subject:        Getting Number of Rows in CTAS across
DBLink

    List,

    When I create a table as select * from another table across a dblink, how do I find out how many rows were created in the table? Is there a statistic somewhere, documented or otherwise, that tells me how many rows were fetched?

    Currently I am using a rather convoluted approach - using the statistic, bytes received via SQL*Net to dblink, and dividing that by the average row size to get an approximate idea of the number of rows. However, this approximation is far from even reasonably accurate; and since the rowsize can change radically, it can be way off the mark. Any help or pointers will be highly appreciated.

    Thanks.

    Arup Nanda

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Sami
  INET: saminathans_at_myrealbox.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 Fri Nov 07 2003 - 21:24:25 CST

Original text of this message

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