跳至主要内容

Oracle学习笔记20080102

直连式ORACLE SERVER通过ORACLE的LDAP共享式ORACLE SERVER可攀登性:链接管理。基本结构就是客户点链接connection manager server,然后server再链接ORACLE服务器高级链接安全:高级安全安全:ORACLE网络服务器和防火墙可接近的:异种服务器可接近的:外来的程序(external procedures)

ORACLE网络结构Oracle Net ArchitectureORACLE网络链接oracle链接网络基于:网络设置,本地代码,应用程序,网络协议。拥有以下链接类型,CS,JAVA,BS。没有中间件的情况下是通过网络协议互联的。用CS模式,用到中间件的需要用到JDBC,直连的话IIOP和HTTP协议链接概念和术语Connectivity concepts and terminologyDatabase servicesService Name Connect DescriptorListenerService registrationService Handlers
网络连接模型Oracle Net Configuration Models局部(localized)管理,核心(centralized)管理管理网络的文件ldap.ora,listener.ora,name.ora,sqlnet.ora,tnsnames.ora
Basic Oracle Net Server Side Configuration基础网络服务器边设置
connection methods链接动作当一个链接请求从客户机向服务器发出,监听器做以下动作:产生一个进程,链接他。不干涉(hands off)在oracle shared server configuration的调度。在询问管理链接的进程或调度。
Spawn and Bequeath and Direct Hand-Off Connections产生和留下和直接的链接
Redirected Session重链接的session
服务器管理和注册Static Service Registration:The listener.ora Filelistener.ora位置是在product/admin/下listener.ora
管理jvm,IIOP和TCP/IP
Listener Control Utility (LSNRCTL)设置非默认的listenerLSNRCTL> set current_listener listener02开启和关闭,stop和start修改listener参数用set显示参数值用show
Naming Method Configuration(不好翻译)完成这个单元后应该会的Describe the difference between host naming and local service name resolutionUse Oracle Net Configuration Assistant to configure: Host Naming method Local naming method Net service namesPerform simple connection troubleshooting
Oracle Net给了5中命名行为:Host naming,Local naming,Directory naming,Oracle names,External naming
sqlnet.ora中的hostname就等同于listener.oar的global_dbname
"dbca命令建立数据库"
处理和配置ORACLE共享服务器(Usage and Configuration of the Oracle Shared Server)服务器配置(Server Configurations)Dedicated server processShared server process
ORACLE Shared server的好处减少进程数,提高and so on
确认安装Verifying Setup
特定的视图V$CIRCUITV$SHARED_SERVERV$DISPATCHERV$SHARED_SERVER_MONITORV$QUEUEV$SESSION
备份与恢复Protect the database from numerous types of failuresIncrease Mean-Time-Between-Failures (MTBF)Decrease Mean-Time-To-Recover (MTTR)Minimize data loss
失败的原因Statement failureUser process failureUser errorNetwork failurenstance failureMedia failure而已上原因各自又有不同的原因

---------------------
亲爱的妹妹要结婚了,恭喜下

评论

此博客中的热门博文

Python学习笔记20100117

映射list   Dictionary 是用{}. list 是一那个[]. turple是用() 当你定义过dictionary后,你可以使用d.keys(), d.values(),d.items()将定义后的时候分别显示出来 当然可以将list里的值加减乘除,也可以如一般的定义直接重新复制这个list. 链接与分割字符串的 li=";", join(li) 则显示的就是 分隔符为;的数 如果使用li=li.split(";")则将刚刚;的分隔符删除,而split里也可定义域,如li.split(";",1)   自省 <---这是啥 之前在使用的时候发觉有些书本上的模块不能调用,很多是py脚本定义过的函数。 下载该脚本s,然后上传至指定位置。 >>>import sys >>>sys.path >>>sys.path.append("绝对位置")然后就能调用这些脚本和参数了。 删除 >>>sys.path.pop() 定义一个参数是 def info(test, test1=10.test2=12): info是函数名,test是必备参数,因为没有定义值,test1和test2是可选参数,定义了初始值   以上是外部函数的调用,下面转到内部函数 内部函数有type,str,dir及其他   ---type 返回任意字符的类型,模块也可以。types模块 >>> type(1) <type 'int'> >>> li=[] >>> type(li) <type 'list'> >>> import odbchelper >>> type(odbchelper) <type 'module'> >>> type(sys) <type 'module'> >>> import types ...

Python学习笔记20100128

methodList = [method for method in dir(object) if callable(getattr(object, method))] ###插一句, ifconfig pcn0 unplumb 去禁solaris的网卡plumb起网卡   and, or  已经and-or一起用。 and 两者为真,print第二个数,一个为假一个为真返回假,三者为真返回最后一个真。 or 两个为真,返回第一个, 一个为假一个为真返回真,三者为假返回最后一个假   lambda可快速定义最小值函数   g = lambda x:x*2 g(3) 6 (lambda x:x*2)(3)   doc string print getattr(object,mothod).__doc__   ljust ljust 用空格填充字符串以符合指定的长度。info 函数使用它生成了两列输出并将所有在第二列的 doc string 纵向对齐。 如果小于的话不会从中截断   -----面向对象 首先导入,你可以选择import module or from module import module 如果你要经常访问模块的属性和方法,且不想一遍又一遍地敲入模块名,使用 from module import。 如果你想要有选择地导入某些属性和方法,而不想要其它的,使用 from module import。 如果模块包含的属性和方法与你的某个模块同名,你必须使用 import module 来避免名字冲突   -----类的定义 class Lofs    pass   这个类的名字是 Loaf,它没有从其它类继承。 类名通常是第一个字母大写,如:EachWordLikeThis,但这只是一个习惯,不是一个必要条件。   这个类没有定义任何方法或属性,但是从语法上,需要在定义中有些东西,所以你使用 pass。这是一个 Python 保留字,仅仅表示 “向前走,不要往这看”。它是一条什么都不做的语句,当你删空函数或类时,它是一个很好的占位符。   你可能猜...

Back to Blog again

     My last blog was almost 6 years again.  lots of things happening those years. like marriage, and move to another country, simply relocation, something is very big in my life.      Back to now,  I guess it is a very good time to start with the blog again. no matter daily life or the tech parts.      These blog may or will contains various languages, Chinese, English or Few Japanese. The first thing, I change the profile to Kamata life, Kamata is Japanese words. "鎌田"  as Kanji. why this change happened, due to we will move from Tamagawa "玉川" to Kamata very soon. I hope I can start to write this not daily, but I hope I can do this continuously.