Oracle Cloud Infrastructure
Coming soon ...
Apps R12.2
  • R12.2 Architecture
  • Cloning Error (RC-50208)
  • Apps R12.1
  • Major changes from 11i
  • R12:HTTP Debug Logging
  • Compile Apps Schema invalid objects in R12
  • Apps 11i
  • Apps Components and Architecture
  • Concurrent managers
  • Patching
  • Using AD Patch
  • Using AD Control
  • FNDCPASS utility
  • Single-node Installation
  • Multi-node Installation
  • Find Apps Version
  • Cloning
  • Upgrade 11.5.9 to 11.5.10.2
  • Upgrade from 11.5.10.2 to R12
  • Upgrading 9i to 10g with 11i
  • 11i/R12 General Topics
  • AppsDBA System Management Utilities Guide
  • Identifying Long Idle Sessions
  • Identifying High Active Sessions
  • Change hostname for EBS
  • Oracle 12c Database
  • Oracle12c PSU Apply
  • Oracle12c Datafile moved Online
  • Oracle 11g Database
  • Upgrade 10g to 11g R1
  • Upgrade 11.2.0.2 to 11.2.0.3
  • Database 9i-10g
  • Top 99 Responsibilities of a DBA
  • General Info
  • Database Patching
  • 10g:ASM
  • 10g:Data Pump
  • 10g:Data Guard Installing
  • 10g:Rollback Monitoring
  • 10g:Flashback Table
  • Tablespace Management
  • Materialized Views
  • 10g:Enterprise Manager
  • 10g:Upgrade
  • Error:Ora-01631
  • DBA Scripts
  • Disk I/O,Events,Waits
  • Tablespace Information
  • Session Statistics
  • Hit/Miss Ratios
  • User Information
  • Rollback Segments
  • Full Table Scans
  • Contention/Locking
  • Redo Log Buffer
  • Data Dictionary Info
  • Oracle10g Application Server
  • Oracle10g Application Installation
  • (Re)Securing OAS Control
  • Oracle AS10g null protocol issue
  • Oracle Backup & Recovery
  • RMAN
  • RMAN Setup
  • Backup Recovery
  • Flash Recovery Area
  • Oracle10g Discoverer with Apps
    Coming soon ..............
    Troubleshooting
  • Discoverer Troubleshooting
  • Access EBS in mozile
  • Linux and Unix Platforms
  • How To configure NFS
  • Unix/Linux Command
  • Change hostname in Linux
  • SENDMAIL configuration
  • This Oracle Application DBA Portal is the biggest knowledge gateway for the people in the world of Oracle...
    Monday, June 22, 2009
    User Information
    User Information
    Here are some scripts related to User Information .

    User Objects
    USER OBJECT NOTES:


    Username - Owner of the object(s)
    Tabs - Table(s)
    Inds - Index(es)
    Syns - Synonym(s)
    Views - Views(s)
    Seqs - Sequence(s)
    Procs - Procedure(s)
    Funcs - Function(s)
    Pkgs - Packages(s)
    Trigs - Trigger(s)
    Deps - Dependencies

    select USERNAME,
    count(decode(o.TYPE#, 2,o.OBJ#,'')) Tabs,
    count(decode(o.TYPE#, 1,o.OBJ#,'')) Inds,
    count(decode(o.TYPE#, 5,o.OBJ#,'')) Syns,
    count(decode(o.TYPE#, 4,o.OBJ#,'')) Views,
    count(decode(o.TYPE#, 6,o.OBJ#,'')) Seqs,
    count(decode(o.TYPE#, 7,o.OBJ#,'')) Procs,
    count(decode(o.TYPE#, 8,o.OBJ#,'')) Funcs,
    count(decode(o.TYPE#, 9,o.OBJ#,'')) Pkgs,
    count(decode(o.TYPE#,12,o.OBJ#,'')) Trigs,
    count(decode(o.TYPE#,10,o.OBJ#,'')) Deps
    from obj$ o,
    dba_users u
    where u.USER_ID = o.OWNER# (+)
    group by USERNAME
    order by USERNAME

    Invalid Objects
    INVALID OBJECT NOTES:


    Owner - Owner of the object
    Object Type - Type of object
    Object Name - Name of the object
    Status - Status of the object

    select OWNER,
    OBJECT_TYPE,
    OBJECT_NAME,
    STATUS
    from dba_objects
    where STATUS = 'INVALID'
    order by OWNER, OBJECT_TYPE, OBJECT_NAME

    Object Modification
    OBJECT MODIFICATION NOTES: (Modified in last 7 days)


    Owner - Owner of the object
    Object Name - Name of the object
    Object Type - Type of the object
    Last Modified - Last modification date/time
    Created - Object creation date/time
    Status - Status of the object

    select OWNER,
    OBJECT_NAME,
    OBJECT_TYPE,
    to_char(LAST_DDL_TIME,'MM/DD/YYYY HH24:MI:SS') last_modified,
    to_char(CREATED,'MM/DD/YYYY HH24:MI:SS') created,
    STATUS
    from dba_objects
    where (SYSDATE - LAST_DDL_TIME) < 7
    order by LAST_DDL_TIME DESC

    User Privileges
    USER PRIVILEGES NOTES:


    Grantee - Grantee name, user or role receiving the grant
    Granted Role - Granted role name
    Admin - Grant was with the ADMIN option
    Default - Role is designated as a DEFAULT ROLE for the user
    Privilege - System privilege

    select rp.GRANTEE,
    GRANTED_ROLE,
    rp.ADMIN_OPTION,
    DEFAULT_ROLE,
    PRIVILEGE
    from dba_role_privs rp, dba_sys_privs sp
    where rp.GRANTEE = sp.GRANTEE
    and rp.GRANTEE not in ('SYS','SYSTEM','DBA')
    order by rp.GRANTEE, GRANTED_ROLE, PRIVILEGE

    Labels:

    posted by Srinivasan .R @ 1:20 AM  
    0 Comments:
    Post a Comment
    << Home
     
    About Me

    Name: Srinivasan .R
    Home: Chennai, India

    About Me:
    I am working as an Oracle Applications DBA specializing in EBS 11i/R12 with Over 14+ years of experience, mainly in different versions of Oracle Database & Application administration on various platforms like HP-UX, SOLARIS, AIX, Red hat Linux & Windows
    See my complete profile
    High Availability
  • Oracle10g RAC Installation
  • A Quick Reference for Oracle Database 10g RAC on Linux and Unix Platforms
  • Implementing Oracle 10g RAC with ASM on AIX
  • Locked objects for whole RAC
  • Monitor Memory RAC
  • Sessions RAC
  • Install Oracle 11g RAC On Linux
  • Migrating Oracle10g DB to ASM
  • Helpful Links
  • Good Metalink Notes
  • Discoverer:Metalink Notes
  • Logs Scripts:Metalink Notes
  • Support:Metalink Notes
  • Previous Post
  • Hit/Miss Ratios
  • Session Statistics
  • Tablespace Information
  • Disk I/O, Events, Waits
  • General Info
  • Migrating Oracle10g DB to ASM
  • Install Oracle 11g RAC On Linux
  • Sessions RAC
  • Monitor Memory RAC
  • Lists all locked objects for whole RAC
  • Archives
    Download Software
  • Oracle 11g
  • Oracle 10g
  • 10g Express Edition
  • Oracle 9i
  • Oracle Apps
  • Oracle Linux
  • Oracle VM
  • App Server
  • Solaris
  • Fedora
  • Fedora
  • OpenSUSE
  • Ubuntu
  • Advertisement Links
    INTUIT Technology

    MACHS DATA

    Add Ons
    Locations of visitors to this page

    Add to Google Reader or Homepage

    Template by
    Sreene



    Oracle Application DBA Portal