Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to set Processes Parameter Oracle
  • Oracle Statspack survival Guide Oracle
  • get_vmstat_linux Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • Parallel DML Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • TRUNCATE table and disabling referential constraints. Oracle
  • handling filenname with space Linux/Unix
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Find Stale DR Physical Standby Oracle
  • RAC with RHEL4 and 11g Oracle
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Rename Oracle Instance Name Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle

Default User Profile

Posted on 27-May-2009 By Admin No Comments on Default User Profile

Problem Description

——————-

The DBA needs to know which values are assigned to limits set to DEFAULT

for a given profile. Querying DBA_PROFILES does not display the actual values

but rather lists DEFAULT for those LIMITs.

Solution Description

——————–

From the SQL*Plus prompt, type:

SQL> select * from dba_profiles where profile = ‘DEFAULT’;

PROFILE RESOURCE_NAME RESOURCE_TYPE LIMIT

———- —————————- ————- ——————–

DEFAULT COMPOSITE_LIMIT KERNEL UNLIMITED

DEFAULT SESSIONS_PER_USER KERNEL UNLIMITED

DEFAULT CPU_PER_SESSION KERNEL UNLIMITED

DEFAULT CPU_PER_CALL KERNEL UNLIMITED

DEFAULT LOGICAL_READS_PER_SESSION KERNEL UNLIMITED

DEFAULT LOGICAL_READS_PER_CALL KERNEL UNLIMITED

DEFAULT IDLE_TIME KERNEL UNLIMITED

DEFAULT CONNECT_TIME KERNEL UNLIMITED

DEFAULT PRIVATE_SGA KERNEL UNLIMITED

DEFAULT FAILED_LOGIN_ATTEMPTS PASSWORD UNLIMITED

DEFAULT PASSWORD_LIFE_TIME PASSWORD UNLIMITED

DEFAULT PASSWORD_REUSE_TIME PASSWORD UNLIMITED

DEFAULT PASSWORD_REUSE_MAX PASSWORD UNLIMITED

DEFAULT PASSWORD_VERIFY_FUNCTION PASSWORD NULL

DEFAULT PASSWORD_LOCK_TIME PASSWORD UNLIMITED

DEFAULT PASSWORD_GRACE_TIME PASSWORD UNLIMITED

16 rows selected.

The value of the LIMIT column corresponds to the “default” value.

You can change the default profile by changing the value in the LIMIT column.

SQL> ALTER PROFILE DEFAULT limit ;

Ex:

SQL> ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS 5 PASSWORD_LOCK_TIME 1;

When you create a new profile, you must set at least one limit. It automatically

uses the default limits for all other resources not explicitly initialized.

Ex:

SQL> CREATE PROFILE test LIMIT connect_time 60;

Profile created.

SQL> select * from dba_profiles where profile = ‘TEST’;

PROFILE RESOURCE_NAME RESOURCE_TYPE LIMIT

———- —————————- ————- ——————–

TEST COMPOSITE_LIMIT KERNEL DEFAULT

TEST SESSIONS_PER_USER KERNEL DEFAULT

TEST CPU_PER_SESSION KERNEL DEFAULT

TEST CPU_PER_CALL KERNEL DEFAULT

TEST LOGICAL_READS_PER_SESSION KERNEL DEFAULT

TEST LOGICAL_READS_PER_CALL KERNEL DEFAULT

TEST IDLE_TIME KERNEL DEFAULT

TEST CONNECT_TIME KERNEL 60

TEST PRIVATE_SGA KERNEL DEFAULT

TEST FAILED_LOGIN_ATTEMPTS PASSWORD DEFAULT

TEST PASSWORD_LIFE_TIME PASSWORD DEFAULT

TEST PASSWORD_REUSE_TIME PASSWORD DEFAULT

TEST PASSWORD_REUSE_MAX PASSWORD DEFAULT

TEST PASSWORD_VERIFY_FUNCTION PASSWORD DEFAULT

TEST PASSWORD_LOCK_TIME PASSWORD DEFAULT

TEST PASSWORD_GRACE_TIME PASSWORD DEFAULT

Only the resource CONNECT_TIME has a value of 60 in the column LIMIT. All other

values refer to the DEFAULT limit – which means you have to look at the DEFAULT

profile to see which value is under LIMIT by using:

SQL> select * from dba_profiles where profile = ‘DEFAULT’;

Explanation

———–

If you only query DBA_PROFILES, this does not give sufficient information for

the default profile values. You need to query DBA_PROFILES where profile = ‘DEFAULT’

in order to see the default values.

Oracle, SQL scripts

Post navigation

Previous Post: Privilege to describe the table.
Next Post: How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema)

Related Posts

  • ORA-3136 Oracle
  • configUOCIOTTO.ora Oracle
  • tab.sql Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Export With Query Another Example. Oracle
  • Jai Shree Ram Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • backspace in SQL Plus not working then..? Linux/Unix
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • Paste command syntax Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Index Range Scan Oracle
  • Formatter Explain plan Output 1 Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme