随笔分类 -  oracle

摘要:批量生成修改路径的脚本.select 'alter database rename file ''' || name ||'''' || ' to '''|| substr(name,0,instr(name,'/',-1) -1)|| '_ST' || substr(name,instr(name 阅读全文
posted @ 2017-03-01 11:13 santo 阅读(689) 评论(0) 推荐(0)
摘要:sid_list=`/bin/ps -ef |/bin/grep smon |/bin/grep -v grep | /bin/cut -f3 -d_` host_name=`hostname` cdate=`date +%Y_%m_%d_%H_%M_%S` export ORACLE_BASE=/ 阅读全文
posted @ 2017-02-03 13:49 santo 阅读(693) 评论(0) 推荐(0)
摘要:V$SESSION This view lists session information for each current session. ColumnDatatypeDescription SADDR RAW(4 | 8) Session address SID NUMBER Session 阅读全文
posted @ 2016-09-01 09:27 santo 阅读(1022) 评论(0) 推荐(0)
摘要:结合使用 Oracle Database 11g 和 Python 本教程介绍如何结合使用 Python 和 Oracle Database 11g。 所需时间 大约 1 个小时 概述 Python 是一种流行的通用动态脚本语言。随着框架的兴起,Python 也成为 Web 应用程序开发的常用工具。 阅读全文
posted @ 2016-08-25 21:31 santo 阅读(2528) 评论(1) 推荐(0)
摘要:alter system register的用法 1 Static Registration via set the listener.ora2 Dynamic Instance Registration via the PMON At instance startup time, the PMON 阅读全文
posted @ 2016-08-21 08:57 santo 阅读(1056) 评论(0) 推荐(0)