Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    16

    Unanswered: find the time taking stored procedures...

    this are the interview question(i culd not answer):
    1.he asked me to tell a stored procedure for find the first three timetaking stored procedures in the database
    2. how to calculate the size of a given table space?
    3. can we call a stored procedure thru a cursor?
    i said yes..
    any answer plz
    Last edited by skarri; 10-14-08 at 02:38.

  2. #2
    Join Date
    May 2006
    Posts
    42
    2. find the size of your database
    select sum(bytes)/1048576 MB from dba_segments;
    find the size of your tablespace
    select sum(bytes)/1048576 MB from dba_segments where tablespace_name = 'TBS1';

  3. #3
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Talking statspack.snap

    1) statspack.snap
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •