自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(26)
  • 资源 (2)
  • 收藏
  • 关注

原创 ocp 052 50-70

51.which two statements are true about B-tree index?a.the leaf blocks in the index are doubley linked在索引的叶块是双向链表。正确,叶块在两个方向是相互关联的,这便于按键值升序或降序扫描索引b.叶节点为每个键值存储的事rowid而不是位图c.键列中的null值得行在索引中也有条目,错

2015-11-30 19:36:59 434

原创 OCP 052 卷2 40-60

41.view the exhibit 1,which shows the options that are seelcted the user SL_REP. view the exhibit2 and examine the contents of DATABASE_PROPERTIES.which two statements are true regarding this user

2015-11-28 21:11:50 364

原创 OCP 052卷2 20-40

23.you want to import schema objects of the HR user using ORACLE DATA pump from the development databaseDEVDB,to the production database, PRODDB.a databse link devdb.us.oracle.com is created between

2015-11-27 19:45:47 344

原创 20151126 ocp052 卷2 1-20

3.examine the following steps performed on a database:1.the DBA grants the create table system privilege to the SKD user with ADMIN OPTION2.the SKD user creats a table3.the SKD user grants the C

2015-11-26 19:28:38 344

原创 20151125 ocp(50-70)

51.you plan to move data from a flat(直接的) file to a table in your database.you decide to use SQL_LOADER direct path load method to perform this task.the table in which you plan to load data is an im

2015-11-25 20:04:27 354

原创 20151124 ocp(30-50)

33.identify two situations in which the block header grows in a data block.a.when row directions need more row entriesd.when morwe transation slots are required than initially configured块头:块头包含段

2015-11-24 20:22:23 592

原创 20151123 ocp 052(10-30)

12.the database instance is currently using spfile,view the exhibit and examain the error that you reseived while runing the DB strunctre integrity checkgiven below are the steps to recover from

2015-11-23 19:14:56 692

原创 20151122 ocp 052(01-10)解析

1.you need to load information about new customers from the new_cust table into the tables cust and cust_special ,if a new customer has a credit limit greater than 10000,then the details have to be

2015-11-22 14:36:31 658

原创 20151121 控制文件

database三要素数据文件,日志文件,控制文件控制文件,记录了数据库的结构和行为,并维护数据库的一致性(因为控制文件中间记录了启动和终止的scn),比如数据库有多少个数据文件,日志文件,以及这些文件的状态参数文件中定义控制文件的位置和个数 ,遵循分散存放的原则,至少放两份控制文件,最多八分,多个控制文件之间互为镜像的关系,而使用顺序由存放的位置决定控制文件的初始化大小有创建

2015-11-21 19:20:00 547

原创 20151119 parameter

查看各个参数能用alter system,还是 alter session的方式修改select isses_modifiable,issys_modifiable,name from v$database;SQL> select distinct issys_modifiable from v$parameter;ISSYS_MOD---------IMMED

2015-11-19 19:04:08 253

原创 20151118 parameter

参数文件记录了数据库的配置,在数据库启动时,oracle要根据参数文件中的参数设置配置数据库。如要为各个内存池分配多少内存,允许打开的进程数和会话等要想让数据库启动,必须先读取参数文件。参数文件中的参数 我们通常称其为初始化参数,简称就是参数参数文件通常分为两大类数据库启动的时候要用参数文件,先查找spfile,找不到再spfile.ora,再找不到 然后 init.ora1.pf

2015-11-18 19:38:01 364

原创 20151117 password file

密码文件修改orapwd 建立密码文件alter user sys identified by grant sysdba to 或者 grant sysoper to revoke sysdba|sysoper from strings命令strings 命令在对象文件或二进制文件中查找可打印的字符串。在对象文件或二进制文件中查找可打印的字符串发现一个问题

2015-11-17 20:40:37 251

原创 20151116 密码文件

查看oracle数据库版本号select * from v$version;查看当前用户select user from dual;show user;sysdba不是权限,当用户以sysdba身份登录数据库时,登录用户都会变成sys.sysdba身份登录可以打开关闭数据库,创建spfile,对数据库进行恢复操作等,而这些是dba角色无法做到的system是数据库内

2015-11-16 22:08:21 351

原创 20151114 shell脚本控制oracle随系统启动

> 是定向输出到文件,如果文件不存在,就创建文件;如果文件存在,就将其清空;一般我们备份清理日志文件的时候,就是这种方法:先备份日志,再用`>`,将日志文件清空(文件大小变成0字节);head -n 6 /etc/init.d/network >/etc/init.d/oracle11ga.env指令  env 查看当前用户的变量情况b.ll指令  查看文件信息 包括权限等c.ch

2015-11-14 20:39:11 406

原创 20151113 数据库启动与关闭 dbstart dbshut

数据库启动指令a.force指令startup force nomount,startup force mount; startup force open;强制启动到nomount,mount阶段(先强制关闭数据库,再启动)startup=startup open,startup 可以跟nomount,mount,open等状态三种状态简述open:使用户得以访问数据库

2015-11-13 23:15:01 751

原创 20151112 oracle数据库德启动

启动数据库的前提条件a.环境变量定义好 $ORACLE_HOME,SID等b.能够进行密码认证或者操作系统认证c.有正确的参数文件(至少要有参数才能见数据库启动到nomount状态)d.有足够的内存e.参数文件中路径要存在,且有操作权限(写日志写目录的权限)f.产品安装正确启动数据库分三个阶段1.启动实例 nomount阶段 -->本阶段用的文件是参数文件,inst

2015-11-12 21:08:19 320

原创 20151110 oracle事务 redo undo

oracle事务一个事务是由一个回话顺序执行的一组DML语句的执行事务由会话执行的一下语句开始insert update delete merge select for update lock table 事务必须显式的以commit 或rollback之一结束,除非进程失败 由pmon强制回滚事务的特性(ACID属性)a.原子性:一个事务中包含的所有DML语句都是一个不可

2015-11-10 19:22:12 606

原创 20151109 视图,lgwr

CREATE TABLE AS...a.using the create table .. as select ..commend will copy across to the new table all the data,but all  the constaints tringgers, and so on whll not be transfered to the new table

2015-11-09 11:36:45 334

原创 20151106 SMON PMON DBWR

linux $ netca 配置oracle监听程序lsnrctl status查看监听状态netmgr监听动态配置show parameter service 查看服务器名ORACLE体系结构查看oracle相关后台进程 ps -ef|grep ora_ps _ef|grep ora_|egrep "pmon|smon|dbw0|lgwr|ckpt" 查看系统

2015-11-06 19:53:26 462

原创 20151105b Oracle控制文件信息,视图介绍,sga内存介绍

ORACLE体系结构对于数据库的存储结构,控制文件,数据文件盒联机重做日志文件是必须的,缺少任何一个数据库都无法启动oracle控制文件是可以作镜像的,一个损坏可以用其他的启动数据库alter database backup controlfile to trace 把当前控制文件的信息复制到trace文件中控制文件包含了一下的信息 :redo的路径,数据文件的路径,字符集信息

2015-11-05 18:54:27 388

原创 20151105 oracle两个时间相减得到的是天数,plsql分组需求破解

oracle 两个时间相减默认的是天数oracle 两个时间相减默认的是天数*24 为相差的小时数oracle 两个时间相减默认的是天数*24*60 为相差的分钟数oracle 两个时间相减默认的是天数*24*60*60 为相差的秒数

2015-11-05 15:17:53 2933

原创 20151104 shared pool,latch

oracle给用户解锁 alter user scott account unlock; 设定密码:alter user scott identified by tiger;sql语句的三大能力:投影(projection),选择(select),连接(join);查看oracle表空间 :select * from dba_tablespaces; 一般来讲 默认表空间:us

2015-11-04 18:56:59 328

原创 20151103 IBM AIX oracle shutdown,shared pool分析

IBM AIX一个卷组VG可以拥有多个硬盘,但至少拥有一个硬盘(hdisk)一个硬盘只能属于一个VG,不能同时属于多个不同的VG用户可以创建多个不同的VG,ROOTVG是操作系统所在的VG硬盘添加到一个卷组的过程中 就按卷组定义的pp的大小,被格式成很多大小相等的pp同一个卷组的不同pv之间的pp大小要一样,不同卷组可以不一样系统新添加一块硬盘,系统认为这个硬盘是个设备,因

2015-11-03 19:46:12 454

原创 20151102 oracle sga管理,oracle临时表

10.2If a session is connected through a dedicated server, private SQL areas are located in the server process's PGA. However, if a session is connected through a shared server,part of the private SQ

2015-11-02 17:27:57 514

原创 20151101 zhoumo..orz linux内存性能监控

101210-450789-147200  manager4注册码。。。

2015-11-01 16:15:38 414

原创 20151031 holdon Linux磁盘管理

LINUX磁盘管理和存储配置查看磁盘:fdisk -l  Linux一块磁盘最多可分14个分区磁盘分区:fdisk /dev/sda 主分区加扩展分区不能超过四个 -n添加新的分区(主分区或扩展分区)每次分区完之后使用partprobe重新读取分区表建完分区后格式化 mkfs.ext3 /dev/sda5  eext3位磁盘格式讲sda5分区 mount到 /mnt目录

2015-11-01 01:18:47 371

MySQL_install.sh

MySQL自动化安装脚本

2021-04-14

MySQL5.6主从复制搭建文档.docx

MySQL5.6主从复制搭建文档

2021-04-14

空空如也

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

TA关注的人

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