Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

Java1234官方群25:java1234官方群17
Java1234官方群25:838462530
        
SpringBoot+SpringSecurity+Vue+ElementPlus权限系统实战课程 震撼发布        

最新Java全栈就业实战课程(免费)

springcloud分布式电商秒杀实战课程

IDEA永久激活

66套java实战课程无套路领取

锋哥开始收Java学员啦!

Python学习路线图

锋哥开始收Java学员啦!
当前位置: 主页 > Java文档 > Java基础相关 >

How to view and edit data on ASM using BBED PDF 下载


分享到:
时间:2021-02-15 22:06来源:http://www.java1234.com 作者:小锋  侵权举报
How to view and edit data on ASM using BBED PDF 下载
失效链接处理
How to view and edit data on ASM using BBED PDF 下载

本站整理下载:
 
相关截图:


主要内容:

How to view and edit data on ASM using BBED
Marcin Przepiorowski – marcin.przepiorowski@wp.pl
Introduction
The following document describes my work related to check if it is possible to read and write data 
which are placed inside ASM structures. 
An idea of that article comes to my mind when I recall that Oracle has been shipped with a Binary 
Block Editor which is an internal Oracle tool to view and edit database block. I was trying to read 
data files based on ASM but with no luck. So I decide to investigate it a little bit deeper.
This article is an example only and I can’t take responsibility for any damages of your databases. Do 
not edit database block on production or other important system without assistance from Oracle 
Support.
3
How to view and edit data on ASM using BBED
Marcin Przepiorowski – marcin.przepiorowski@wp.pl
Preparation
First problem appear on very beginning – there is no BBED in 11g. But with little help from Miladin 
Modrakovic blog I have solve it. Now I got a tool – BBED was running so what I needed was a data to 
view.
There second problem appeared – database file had been placed on ASM and not a file system. 
BBED is a very old tool and it not working with ASM. There are two possibilities to fix that – I could 
use a RMAN to copy a data file from ASM into file system but this is not a good idea if your files are 
big and you want to see a live data. Second option is to copy only a required database blocks 
(related to data which you want to see) directly from ASM into file system and then view it.
But how to copy only some block from ASM into file system ? ASM is based on disks, so if we now 
where the data are placed we can use “dd” command to copy them. Some important information 
about ASM structure I have found in Luca Canali presentation for UKOUG. After I read it I was ready 
to perform some tests. Here are results of my work.
Creating of test table
1. Create a table which has been used in my test 
[oracle@piorovm ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Jun 18 09:18:57 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL> connect pioro/pioro
Connected.
SQL> create table secret_table (id number, name varchar2(100), cardnum 
varchar2(20)) tablespace users;
Table created.
SQL> insert into secret_table values (1,'Marcin Przepiorowski','4444-1111-
2222-3333');
1 row created.
SQL> insert into secret_table values (2,'Jim Smith','4444-2222-3333-5555');
1 row created.
SQL> commit;
Commit comp
 
------分隔线----------------------------

锋哥公众号


锋哥微信


关注公众号
【Java资料站】
回复 666
获取 
66套java
从菜鸡到大神
项目实战课程

锋哥推荐