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 -> using DBMS_SPACE for multiple inst.

using DBMS_SPACE for multiple inst.

From: Frank Zaum <frankzaum_at_yahoo.de>
Date: 14 Apr 2002 04:34:32 -0700
Message-ID: <4c1e5bbe.0204140334.737d3ef7@posting.google.com>


Dear People,

I am trying to write a package that analyzes a given number of tables on a given number of dblinks using DBMS_SPACE and writes the information into a new table (stats). the names of the tables are in a table (tabname) and the names of the dblinks are in a separate table, too (at_db).i know there must be two loops, an inner for the number of tables and an outer for the number of dblinks. I guess i have to use cursors to get table and dblink names, but i dont know where to start. another problem is i dont know if i can use dblink in the segment_owner parameter of DBMS_SPACE package when executing(like 'scott_at_dbthx').

any help would be appreciated,

Frank Zaum, Salzgitter, Germany Received on Sun Apr 14 2002 - 06:34:32 CDT

Original text of this message

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