摘要: sga:System Global Area 一个instance对应1个sgashared pool 共享池 library cache 编译sql语句性能 data dictionary cache 存储数据库控制信息的database buffer cache 存储数据文件,按块存储由db_block_size存储redo log bufferlarge pooljava poolsga_max_size最大上限granules是sga分配内存的基本单位,<128M是4M,>128M是16Mpga:Program Global Area 一个pga对应1个后台进程show s 阅读全文
posted @ 2013-03-27 21:27 glt66 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1 //定义一个点point类用来表示三维空间中的点(有三个坐标),要求如下 2 //1.可以生成特定坐标点的对象 3 //2.可以提供设置三个坐标的方法 4 //3.提供可以计算该点距原点距离平方的方法 5 6 class Point 7 { 8 double x,y,z; 9 public Point(double _x,double _y,double _z)10 {11 x=_x;12 y=_y;13 z=_z;14 }15 public void setPoint(double _x)16 ... 阅读全文
posted @ 2013-03-27 17:16 glt66 阅读(1676) 评论(0) 推荐(0) 编辑
摘要: class BirthDay{ int year; int month; int day; public BirthDay(int y,int m,int d) { year=y; month=m; day=d; } public void setYear(int y) { year=y; } public void setMonth(int m) { month=m; } public void setDay(int d) { day=d; } public int getYear() { return year; } public int getMonth() { re... 阅读全文
posted @ 2013-03-27 10:57 glt66 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 类名的首写字母大写变量名和方法名的手写字母小写运用驼峰标识 阅读全文
posted @ 2013-03-27 10:29 glt66 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 1 public class Person 2 { 3 int id; 4 int age; 5 Person(int _id,int _age) 6 { 7 id=_id; 8 age=_age; 9 }10 public static void main(String[] ages)11 {12 Person tom=new Person(1,25);13 Point p=new Point(); 14 }15 } 1... 阅读全文
posted @ 2013-03-27 09:11 glt66 阅读(114) 评论(0) 推荐(0) 编辑