摘要:
主要实现下,oracle中instance_name ,db_name等对连接的关系(动态监听)我们查看监听[oracle@localhost ~]$ lsnrctl status lsnr2LSNRCTL for Linux: Version 11.2.0.3.0 - Production on ... 阅读全文
摘要:
PGA的结构 PGA(ProcessGlobalArea):是一部分进程的私有内存。 PGA的内存分类: SQL区:排序、哈希、位图 私有SQL区: 会话的内存、在后台进程是在PGA中 在v$process这个视图中。 1 SQL> select pid,spid,pname,pga... 阅读全文
摘要:
LGWR进程调用 3s commit; 日志缓存达到1M 大于1/3log_buffer 日志优化先、准备:准备匿名过程begin for i in 1 .. 1000000 loop insert into t1 values(i,'AAAAAAAAAAA'||i); ... 阅读全文
摘要:
select的逻辑读逻辑读:=== db block gets +consistent gets第一步:算出dba ---------------->找到DBA,5号文件,9509号块???????第二步:根据第一步做hash运算。算出在哪个bucket上面,比如是100。第三步:在hash ta... 阅读全文
摘要:
注意: 主机名需要检查,修改HOSTS文件 检查system表空间的大小。如果system不能自动扩展。需要添加数据文件或修改问自动扩展 lsnrctl的检查(这一步我第一次折腾了很久) %%%关闭防火墙创建步骤创建emca -config dbcontrol db -repos (crea... 阅读全文
摘要:
第一步:#hostname oratest第二步:修改/etc/sysconfig/network中的hostname第三步:修改/etc/hosts文件 阅读全文
摘要:
Step 1: Specify an Instance Identifier (SID)(创建一个SID) [oracle@localhost ~]$ vi .bash_profile [oracle@localhost ~]$ source .bash_profile [oracle@... 阅读全文