易截截图软件、单文件、免安装、纯绿色、仅160KB

oracle install

1 、创建用户和组
 /usr/sbin/groupadd oinstall
 /usr/sbin/groupadd dba
 /usr/sbin/useradd -g oinstall -G dba oracle
2、配置OS核心参数
 1)编辑文件 /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
 
2) 使核心参数生效:
 /sbin/sysctl -p
 
3、设置oracle用户的shell限制值
1)添加以下行到文件 /etc/security/limits.conf :
oracle           soft    nproc   2047
oracle           hard    nproc   16384
oracle           soft    nofile  1024
oracle           hard    nofile  65536
 
2)添加以下行到文件 /etc/pam.d/login file, if it does not already exist:
session    required     pam_limits.so
 
3)添加以下行到文件 /etc/profile (for bash):
      if [ $USER = "oracle" ]; then
              if [ $SHELL = "/bin/ksh" ]; then
                    ulimit -p 16384
                    ulimit -n 65536
              else
                    ulimit -u 16384 -n 65536
    &nbs


相关文档:

oracle 时间 处理 大全

sysdate+(5/24/60/60) 在系统时间基础上延迟5秒
sysdate+5/24/60 在系统时间基础上延迟5分钟
sysdate+5/24 在系统时间基础上延迟5小时
sysdate+5 在系统时间基础上延迟5天
add_months(sysdate,-5) 在系统时间基础上延迟5月
add_months(sysdate,-5*12) 在系统时间基础上延迟5年
上月末的日期:select last_day(add_mon ......

建立Oracle全文索引

最近要做搜索,所以学起Oracle全文索引来了。
参考文章:http://www.eygle.com/archives/2005/06/ecieoaoracleeia.html
如何使用Oracle全文检索功能?
作者:eygle
出处:http://www.eygle.com/blog
日期:June 11, 2005
浏览次数:
890
本文链接:http://www.eygle.com/archives/2005/06/ecieoaoracleeia.html
本文简要 ......

Oracle RAC 日常基本维护命令

列出配置的所有数据库
[root@node1 ~]# srvctl config database
NOVADB
所有实例和服务的状态
[root@node1 ~]# srvctl status database -d NOVADB
Instance NOVADB1 is running on node node1
Instance NOVADB2 is running on node node2
单个实例的状态
[root@node1 ~]# srvctl status instance -d NOVADB -i NOVA ......

解决Oracle 9i和Tomcat端口冲突(转载)


    方案一:
    新装了系统后,发现在调试程序时TOMCAT提示8080端口已被占用,于是运行NETSTAT -ANO查看端口使用情况,发现8080端口被ORACLE的监听器给占用了,于是结合上网查到方法,将ORACLE XDB的HTTP服务端口改成8081,问题解决。
 
    总结一下可解决的方 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号