posted @ 2016-08-18 08:30
随笔分类 - oracle
摘要:(Study_env) ➜ DAL python -c "import cx_Oracle"Traceback (most recent call last): File "<string>", line 1, in <module>ImportError: dlopen(/Code_Depot/S
阅读全文
摘要:设置NLS_LANG环境变量 import os os.environ['NLS_LANG'] = 'SIMPLIFIED CHINESE_CHINA.UTF8'
阅读全文
posted @ 2016-08-02 15:42
摘要:InstallationSee the Instant Client Home Page for more information. Installation of ZIP files: 1. Download the desired Instant Client ZIP files. All in...
阅读全文
posted @ 2015-06-30 10:22
摘要:TRUNCATE TABLE TABLE_NAME这个不记日志.delete table table_name这个记日志drop table table_name删除表 TRUNCATE语法TRUNCATE TABLE TABLE_NAME如:TRUNCATE TABLE TEST删除TEST表中的...
阅读全文
posted @ 2014-05-26 15:45
摘要:ORA-21561: OID generation failed从AIX机器上连Linux上的Oracle数据库时报ORA-21561: OID generation failed错误。不是因为AIX机器的DNS Name没有修改,而是因为AIX机器的hostname没有写进/etc/hosts文件。将本机IP和机器名 写入文件/etc/hosts
阅读全文
posted @ 2014-04-02 11:29
摘要:1、设置系统1.1、包需求11g很人性化了,增加了检查的机制,还有就是不象10g那样在64位下要安装很多的32位包,只需要安装一个gcc-32bit-4.3就OK了。下列表必须要安装:binutils-2.20.51.0.2-5.11.el6 (x86_64)compat-libcap1-1.10-1 (x86_64)compat-libstdc++-33-3.2.3-69.el6 (x86_64)compat-libstdc++-33-3.2.3-69.el6.i686gcc-4.4.4-13.el6 (x86_64)gcc-c++-4.4.4-13.el6 (x86_64)glibc-2.
阅读全文
posted @ 2014-04-01 15:43
摘要:碰到这个ORA-12547: TNS:lost contact的问题,翻了很多资料和METALINK,总结了一下原因:1 是由于rpm包没有安装,对于我们的生产环境,此包是安装的。admin@p1b:/home/admin>rpm -q glibc-develglibc-devel-2.5-58.el5_6.4glibc-devel-2.5-58.el5_6.4admin@p1b:/home/admin>rpm -q libaiolibaio-0.3.106-5libaio-0.3.106-5admin@p1b:/home/admin>2 是因为权限不足,linux 5.3
阅读全文
posted @ 2014-02-08 15:31
浙公网安备 33010602011771号