自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(21)
  • 资源 (1)
  • 收藏
  • 关注

原创 转载:Db time vs db cpu

在Oracle Database 10g中引入了DB time指标,其实这并不算是新概念。 先摘录一些官方的说明(Oracle Database Performance Tuning Guide 10g Release 2 (10.2)    B14211-01) DB Time Amount of elapsed time (in microseconds) spent performing Database user-level calls. This does not include the t

2011-03-10 00:32:00 2284

原创 转载:awr解读(1)

源文档 如果关注数据库的性能,那么当拿到一份AWR报告的时候,最想知道的第一件事情可能就是系统资源的利用情况了,而首当其冲的,就是CPU。 而细分起来,CPU可能指的是 OS级的User%, Sys%, Idle% DB所占OS CPU资源的Busy% DB CPU又可以分为前台所消耗的CPU和后台所消耗的CPU 如果数据库的版本是11g,那么很幸运的,这些信息在AWR报告中一目了然: OS级的%User为75.4,%Sys为2.8,%Idle为21.2,

2011-03-09 23:45:00 519

转载 Amazon借助Beanstalk进入PaaS领域

<br /><br />Amazon正在进入PaaS领域,他们开始先是提供了Java平台,并且想要为所有开发者创建平台。<br />到现在为止,我们都知道Amazon是一家架构即服务(IaaS)提供商。如果一家公司想要在Amazon的云环境中部署应用程序,那么就需要创建或者使用预定义的AMI,然后配置一系列运行应用程序所需要的附加服务,像负载均衡程序、伸缩服务、监控服务、数据存储服务等等。但是Amazon已经决定转向平台即服务(PaaS)领域,他们会提供Elastic Beanstalk,这是一种应用程序开

2011-02-28 16:01:00 378

原创 virsh命令获得vm的信息

<br /><br /># virsh dominfo 5<br />Id:             5<br />Name:           i-C8B524D3<br />UUID:           b11413e6-a93e-7b0d-9cdb-957de773d015<br />OS Type:        hvm<br />State:          running<br />CPU(s):         1<br />CPU time:      7219.7s<br />M

2011-02-28 15:59:00 1096

原创 学习biee

今天任务      1.biee创建资料库;    2.biee创建物理层 ;   3.逻辑层 4.表示层

2008-03-06 09:59:00 363

原创 oracle 数据字典(1)

关于X$表,其创建信息我们也可以从数据字典中一窥究竟。  首先我们考察bootstrap$表,该表中记录了数据库启动的基本及驱动信息。  SQL> select * from bootstrap$;  LINE# OBJ# SQL_TEXT  -1 -1 8.0.0.0.0  0 0 CREATE ROLLBACK SEGMENT SYSTEM STORAGE ( INITIAL 112K NEX

2007-11-28 09:32:00 275

转载 Dataguard配置Step by Step

1.主节点备份并生成备用数据库控制文件 设置主节点为force Logging模式(为了双向切换,建议备用节点也设置为force logging模式) ALTER DATABASE FORCE LOGGING;设置主节点为归档模式 登陆主节点,进行数据库备份,并生成备用数据库控制文件    Last login: Mon Aug 9 16:46:47 2004

2007-11-14 17:29:00 526

原创 linux shell (2) string operation

1.我们希望可以做到下面的事情1.1.Ensure that variables exist (i.e., are defined and have non-null values)1.2.Set default values for variables1.3.Catch errors that result from variables not being set1.4.Remo

2007-04-12 09:49:00 228

原创 bash shell (1) 变量

1.系统内置变量1.1 positional variable:$0,$11.2 two special variables:$@,$*1.3 the variable #1.4 all these variables are read-only .2.自定义变量自定义变量格式:varname=varvalue就可以了,实用的时候$varname.3.局部变量如果你

2007-04-12 09:49:00 161

转载 oracle 存储 块(2) 查看块信息

<!--google_ad_client = "pub-5475245550070375";google_ad_width = 728;google_ad_height = 90;google_ad_format = "728x90_as";google_ad_type = "text_image";google_ad_channel = "";google_ui_fe

2007-04-10 20:07:00 796

原创 oracle 存储 块(1)

Free used and unused blocks1.Free blocksFree blocks are blocks below the high water mark(HWM) whose filling is below the pctused attribute. If an insert statement is executed, Oracle tries to in

2007-04-10 19:56:00 683

原创 Oracle Trace Level Event Numbers

10000 control file debug event, name control_file10001 control file crash event110002 control file crash event210003 control file crash event310004 control file crash event410005 trace lat

2007-04-10 13:23:00 772

转载 oracle segment(2) log segment

在oracle的官方文档上有这么一段话来解释pctversionPCTVERSION integerSpecify the maximum percentage of overall LOB storage space used for maintaining old versions of the LOB. The default value is 10, meaning that olde

2007-04-09 19:59:00 1077

转载 oracle segment(1)

 1.segmentA segment is a container for objects (such as tables, indexes....). A segment consists of extents. 2.Segment typesThere are 11 types of segments in Oracle 10g: table tab

2007-04-09 19:39:00 1688

原创 oracle table(4) 关于存储

storage (  initial           65536   next            1048576   minextents            1   maxextents   2147483645  pctincrease           0   freelists             1   freelist groups       1   optima

2007-04-09 18:24:00 511

原创 oracle table(3) pctfree and pctused

 pctfreepctfree controls if a block is considered a free block. A block is considered free as long as there is at least pctfree% space free in the block. The free space is then available for updat

2007-04-09 17:59:00 619

原创 oracle table (2)Mintrans and Maxtrans

Mintrans and Maxtrans1.段上面会有一些正在执行的事务,那么这些事务它是以列表的方式保存的,也就是说这个段上最多可以有多少个事务,这个列表就最多可以有多长。这个长度自然在这两个参数之间了。    The interested transaction list is an array that keeps track of (some of) the most recen

2007-04-09 17:51:00 515

原创 oracle table(1)

 1.heap tablecreate table orders (  order_id number,  order_dt date,  cust_id  references customer  constraint pk_orders (order_id) using index tablespace ts_idx)you can specify the tablespace of 

2007-04-09 17:35:00 545

转载 块清除

 1.cleanout分为2种,一种是fast commit cleanout,另一种是delayed block cleanout.     oracle有一个modified block list结构,用来记录每个transaction更改过的block,每个transaction大约可以记录10%buffer cache这多的modified block。这部分block就是当发生c

2007-04-08 23:32:00 654

原创 REDO AND UNDO

2.UNDO2.1undo产生量的对比(1) 有索引的表数据的修改产生的undo信息会多,这个很容易理解,修改这些数据的时候可能修改索引数据,所以会生成额外的undo信息。(2)相同情况下:delete产生的undo信息最多,因为回滚需要的反删除(insert)信息必然是一行的所有信息,所以产生的undo信息最多,其次就是update,它只需要记录修改的列的信息,一般不会修改主键所以必

2007-04-08 21:23:00 229

原创 无颜见江东父老

 

2007-04-08 21:14:00 427

Oracle Wait Interface

oracle的等待事件

2008-07-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除