标签:
telnetxinetdservices |
分类: linux |
今天配置suse 10启动telnet发现服务一直没起来,反复检查配置都没发现问题,后来检查log发现报错:
cat /var/log/message | grep telnet
xinetd[24501]: Port not specified and can't find service: telnet with getservbyname
检查/etc/services 才发现 telnet端口被注释掉了,取消注释成功telnet,特此记录
#telnet
#telnet
附:开启telnet方法
编辑 /etc/xinetd.d/Telnet
| 分类: oracle-基础 |
标签:
it |
分类: linux |
| 分类: oracle备份恢复 |
| 分类: oracle_rac |
From:
http://www.oracle.com/technetwork/cn/articles/hunter-rac11gr2-iscsi-083834-zhs.html
上图这个基于Oracle 11gR2的一个用户组说明。
(1)Oracle
清单组(一般为
OINSTALL
[root@rac1 ~]#cat /etc/oraInst.loc
in
标签:
杂谈 |
database link概述
database link是定义一个数据库到另一个数据库的路径的对象,database
link允许你查询远程表及执行远程程序。在任何分布式环境里,database都是必要的。另外要注意的是database
link是单向的连接。
在创建database link的时候,Oracle再数据字典中保存相关的database link的信息,在使用database
link的时候,Oracle通过Oracle Net用用户预先定义好的连接信息访问相应的远程数据库以完成相应的工作。
建立database link之前需要确认的事项:
确认从local database到remote database的网络连接是正常的,tnsping要能成功。
确认在remote database上面有相应的访问权限。
database
link分类
| 类型 | Owner |
|---|
标签:
杂谈 |
1.物理读(physical read)
当数据块第一次读取到,就会缓存到buffer cache 中,而第二次读取和修改该数据块时就在内存buffer cache 了 以下是例子:
1.1
C:'Documents and Settings'Paul Yi>sqlplus '/as sysdba'
SQL*Plus: Release 9.2.0.4.0 - Production on Thu Feb 28 09:32:04
2008
Copyright (c) 1982, 2002, Oracle Corporation.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> set autotrace traceonly
SQL> select * from test;
Execution Plan
----------------------------------------------------------
标签:
杂谈 |
分类: ORCLE常见错误 |
ORA-01114错误解决方法
ORA-01114: IO error writing block to file 203 (block #
971238)
ORA-27063: skgfospo: number of bytes read/written is
incorrect
IBM AIX RISC System/6000 Error: 28: No space left on device
Additional information: -1
Additional information: 253952
刚开始以为数据文件有坏块,通过下面的语句,想查出file 203 block #971238是哪个对象:
SELECT tablespace_name, segment_type, owner, segment_name
WHERE file_id = 203
查询不到记录。
再检查了一下A\B\C表,没有发现有坏块。
此时有点纳闷了,上网查询了一下错误,网上也有人遇到了类似的错误。
在初始化参数中,db_files = 200 , file#=201 就是第一个temp file,用下面的语句就可以查出FILE
20
标签:
杂谈 |
在Oracle10g中,有两个后台进程是新增的,这里我想说的是MMON和MMNL。
在Oracle不同的文档中,对这两个进程的解释存在歧义。
MMON 应该是 Memory Monitor
的缩写,但是在有的文档中被记录为Manageability Monitor
,这应当是10g早期版本中的称呼,只不过后来发生了变更。
这个进程的主要作用如下:
The memory monitor (MMON) process was introduced in 10g and is associated with the Automatic Workload Repository new features used for automatic problem detection and self-tuning. MMON writes out the required statistics for AWR on a scheduled basis.
另外一个进程是 MMNL ,是 Memory Monitor Light (MMNL) 的缩写,在部分文档中记录为
Manageability Monitor Light .
这个进程的作用如下:
The Memory Monitor Light (MMNL) process is a new process in 10g which works with the Automatic Workload Repository new features (AWR) to write out full statistics buffers to disk as nee
标签:
杂谈 |
分类: oracle-基础 |