• liunx下oracle链接数超出最大链接数处理方法


    -------------使用如下命令------------------
    SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
    ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
    alter system set processes = 5000 scope = spfile;
    alter system set O7_DICTIONARY_ACCESSIBILITY=false scope=spfile;
    alter system set remote_login_passwordfile=NONE scope=spfile;
    shutdown immediate;
    startup;
    lsnrctl status
     
    .............................................具体操作..............................
    Connection established.
    Escape character is '^@]'.
     
    Last login: Thu Dec  6 14:49:49 2018 from 10.10.1.220
    [root@oracledb ~]# su - oracle
    Last login: Thu Dec  6 09:16:38 CST 2018 from 10.10.1.220 on pts/0
    [oracle@oracledb ~]$ source /home/oracle/.bash_profile
    [oracle@oracledb ~]$ sqplus / as sysdba
    bash: sqplus: command not found...
    [oracle@oracledb ~]$ sqplus / as sysdba
    bash: sqplus: command not found...
    [oracle@oracledb ~]$ sqlplus / as sysdba
     
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 27 16:52:21 2018
     
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
     
     
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
     
    SQL> SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
     
    PROFILE                RESOURCE_NAME            RESOURCE
    ------------------------------ -------------------------------- --------
    LIMIT
    ----------------------------------------
    DEFAULT                PASSWORD_LIFE_TIME        PASSWORD
    180
     
     
    SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
     
    Profile altered.
                               " - rest of line ignored.
    SQL> ^[[A^[[A
    SQL> 042: unknown command "
    SQL>
    SQL>
    SQL> SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
     
    PROFILE                RESOURCE_NAME            RESOURCE
    ------------------------------ -------------------------------- --------
    LIMIT
    ----------------------------------------
    DEFAULT                PASSWORD_LIFE_TIME        PASSWORD
    UNLIMITED
     
     
    SQL> alter system set processes = 5000 scope = spfile;
     
    System altered.
     
    SQL> alter system set remote_login_passwordfile=NONE scope=spfile;
     
    System altered.
     
    SQL> shutdown  immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup;
    ORACLE instance started.
     
    Total System Global Area 1.3429E+10 bytes
    Fixed Size            2217992 bytes
    Variable Size         7650412536 bytes
    Database Buffers     5704253440 bytes
    Redo Buffers           71770112 bytes
    Database mounted.
    Database opened.
  • 相关阅读:
    图像处理基本算法(整理)
    Java 数据校验自动化(validation)
    Java Web文件上传
    JavaScript中call、apply、bind、slice的使用
    在不借助其他工具的情况下破解Windows开机密码
    【Docker】iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8480 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name
    【异常】Caused by: java.lang.IllegalStateException: RequestParam.value() was empty on parameter 0
    【Docker】docker的安装和常用命令
    【监控】jvisualvm之jmx远程连接 jar启动应用
    【监控】jvisualvm之jmx远程连接 tomcat war启动应用
  • 原文地址:https://www.cnblogs.com/zyanrong/p/11315520.html
Copyright © 2020-2023  润新知