Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Getting Number of Rows in CTAS across DBLink
Dennis,
Thanks. Sorry for not being explicit about it. Since the table created is huge, I want to avoid the count(*) if I can get the number in some other way.
Arup
> Arup
> select count(*) from table?
> What is your goal? Corruption detection?
>
>
> Dennis Williams
> DBA
> Lifetouch, Inc.
> dwilliams_at_lifetouch.com
>
> -----Original Message-----
> Sent: Friday, November 07, 2003 2:34 PM
> To: Multiple recipients of list ORACLE-L
>
>
> 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: DENNIS WILLIAMS
> INET: DWILLIAMS_at_LIFETOUCH.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: Arup Nanda INET: orarup_at_hotmail.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 - 14:59:25 CST
![]() |
![]() |