Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> using DBMS_SPACE for multiple inst.
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