Oracle数据库还真不好整
从在Linux上安装Oracle到投入使用才几天,碰到的问题就成百上千的。在使用客户端连接远程Oracle数据库服务器时,出现了listener refused the connection with the following error ora-12519 Listener refused the connection with the following error:ORA-12519, TNS:no appropriate service handler foundThe Connection descriptor used by the client was: xxx
刚开始以为是客户端listener没搞好,搞了好长时间还是不能连接成功。
后来就登录数据库服务器,执行sqlplus看看数据库是否正常,但却出现了ORA-00020: maximum number of processes (%s) exceeded的错误,这才恍然大悟。哎 有浪费这么多时间。
到网上搜了一把,找到了解决方法。
1. 以先把你的应用程序关闭,这样就降低了oracle的连接数
2. 以sysdba身份登录数据库
3. 执行show parameter process, 看看processes的值是多少
4. 执行 alter system set processes = <比你刚才看到的processes值大的数字> scope=spfile
再试一下连接,应该不会出现上述错误了
相关文档:
oracle表空间操作详解
1
2
3作者: 来源: 更新日期:2006-01-04
5
6
7建立表空间
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
查询用户信息
SELECT USERNAME,DEFAULT_TABLESPACE, TEMPORARY_TABLESPACE, PROFILE, ACCOUNT_STATUS, CREATED from dba_users; 查询用户空间使用和上限情况
SELECT username, tablespace_name, bytes/1024/1024 space_used_in_mb, max_bytes/1024/1024 max_space_in_mb from dba_ts_quotas; 创建 ......
按资料说V$BH查看表来显示数据库里每个对象类型的数据缓冲区里数据块的数量.
然后查询V$bh
select
owner, object_name
from
dba_objects o,
v$bh &nbs ......
1. Read the Data Block.
2. Read the Row Header.
3. Check the Lock Byte to determine whether there's an ITL entry.
4. Read the ITL entry to determine the Transaction ID (Xid).
5. Read the Transaction Table using the Transaction ID. If the transaction has been committed and has a System Commit ......