12
返回列表 发新帖
楼主: chao_ping

Oracle技术专题

[复制链接]
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
11#
发表于 2001-12-27 05:43 | 只看该作者
The standard of wrong or correct by no means of who said and what his/her name, especially in software industries, the rule is “ SHOW ME THE CODE”.  If you can’t access the code sources of modules Ktl.c, Ktr.c, Ktu.c, of Oracle 7.3 we better stop this worthless discuss, since we never will be on the same page.

使用道具 举报

回复
论坛徽章:
0
12#
发表于 2002-1-7 18:20 | 只看该作者

计算事务回滚段大小

如何测试一个事务undo信息的大小:       
        drop table stats$undo_begin;
        drop table stats$undo_end;
        --create the set up tables
        create table stats$undo_begin(writes number);
        create table stats$undo_end(writes number);
       
        --start values
        insert into stats$undo_begin
        select sum(writes) from v$rollstat
        where usn=(select usn from v$rollname where name='R04');
       
        commit;
        set transaction use rollback segment R04;
        --execute large transaction
       
        @large_batch_job;
       
        insert into stats$undo_end
        select sum(writes) from v$rollstat
        where usn=(select usn from v$rollname where name='R04');
       
        --end  values       
        select (e.writes-b.writes) undo_generated
                from  stats$undo_begin b,stats$undo_end e       

        initora.ora文件中参数transactions_per_rollback_segment 参数决定一个回滚段可进入事务数目。
        回滚段数目及大小的确定方法:
        size_of_rollback=transactions_per_rollback_segment*每一事务平均大小
       
        number_of_rollback=transactions(并发事务个数)/transaction_pre_rollback
        说明:事务并发个数授initora.ora中参数transactions限制。

使用道具 举报

回复
论坛徽章:
0
13#
发表于 2002-1-7 18:24 | 只看该作者

unix信号量与连接数关系

//请问那位有这方面的资料不

使用道具 举报

回复
论坛徽章:
0
14#
发表于 2002-1-8 19:04 | 只看该作者

不会吧

同志们给点面子吗

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表