data dictionary views

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nunnasujatha
    New Member
    • Nov 2006
    • 24

    data dictionary views

    Hi all,

    I know that using dba_data_files we can view all the datafiles created by the users.


    But what data dictionary view will help us to know the data files created by the particularuser? ???


    Thanks In Advance
  • pragatiswain
    Recognized Expert New Member
    • Nov 2006
    • 96

    #2
    Originally posted by nunnasujatha
    Hi all,
    I know that using dba_data_files we can view all the datafiles created by the users.
    But what data dictionary view will help us to know the data files created by the particularuser? ???
    Thanks In Advance
    Check:
    ALL_DATA_FILES, USER_DATA_FILES , V$DATAFILE

    Comment

    • nunnasujatha
      New Member
      • Nov 2006
      • 24

      #3
      i tried these before also n i'm using ORACLE 9.2 version.the errors are


      SQL> desc all_data_files;
      ERROR:
      ORA-04043: object all_data_files does not exist


      SQL> desc user_data_files ;
      ERROR:
      ORA-04043: object user_data_files does not exist


      SQL> desc v$datafiles;
      ERROR:
      ORA-04043: object v$datafiles does not exist

      Comment

      • pragatiswain
        Recognized Expert New Member
        • Nov 2006
        • 96

        #4
        Originally posted by nunnasujatha
        i tried these before also n i'm using ORACLE 9.2 version.the errors are

        SQL> desc all_data_files;
        ERROR:
        ORA-04043: object all_data_files does not exist

        SQL> desc user_data_files ;
        ERROR:
        ORA-04043: object user_data_files does not exist

        SQL> desc v$datafiles;
        ERROR:
        ORA-04043: object v$datafiles does not exist
        I am not much experienced in this as I am just a user, not a DBA.
        May be the object user_data_files is not there as that user didn't create any tablespace/ doesn't have priviledge to create table space.

        Comment

        • suvam
          New Member
          • Nov 2006
          • 31

          #5
          Check whether there is any column called OWNER in the DBA_DATA_FILES .

          Comment

          • nunnasujatha
            New Member
            • Nov 2006
            • 24

            #6
            there is no column like owner in dba_data_fiels

            Comment

            • buzznt
              New Member
              • Dec 2006
              • 3

              #7
              There is no track on which user created which database object unless U activate the "audit" option (taking into account that it will effect your DB performance) and then get a log for every operation in the DB.

              Only take into account that only users with DBA privilege can create datafile.

              10X,

              Roni

              Comment

              Working...