Technical Articles
Playing with Oracle Lobs
Submitted by dwaipayan19861 on Wed, 2011-07-13 10:08
LOBs deal with unstructured data, the ones which are the most difficult to store and retrieve in a relational database.
In this article, I am going to discuss extensively and manipulate the ORACLE
* LOBs that are stored in the database itself like BLOB,CLOB,NCLOB ,and
* LOBs like BFILE which are Stored outside the database as Operating System files.
First let us create a directory :
create or replace directory my_dir as 'D:\pics';
Directory created.
BFILE:
BFILEs act as a pointer and store the location of the external OS files in database tables.
1.
- dwaipayan19861's blog
- Login to post comments
- Read more
Advance BI Publisher Concepts - Sorting in RTF Template
Submitted by AshishRaj on Thu, 2011-05-12 12:12I am sharing a nice article on RTF template design written by one of our senior consultant Mr. Venkat from Adiva Consulting.
The objective of this post is to explain the “sorting” capabilities available in the RTF. Many might
already be aware of the standard BI Publisher syntax for sorting in the RTF template:
The above construct sorts the data by the VENDOR_NAME in ascending order – an alphabetic sort
is performed. However, what if the requirement was to sort on a number field.
- AshishRaj's blog
- Login to post comments
- Read more
Step by step recovery of oracle database on ORA-00214: control file incosistent
Submitted by PranavPareek on Fri, 2011-04-29 05:12SQL> startup;
ORACLE instance started.
Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 167775108 bytes
Database Buffers 436207616 bytes
Redo Buffers 7135232 bytes
ORA-00214: control file
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\JOHNSON\CONTROL02.CTL' version 23659
inconsistent with file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\JOHNSON\CONTROL01.CTL'
version 2798
SQL> shutdown abort;
ORACLE instance shut down.
sQL>create pfile='c:/initnew.ora' from spfile;
File created.
SQL>shutdown abort;
-----E
- PranavPareek's blog
- Login to post comments
- Read more
ProC Code Performance Improvement (GCC - RHL)
Submitted by jayraj on Tue, 2011-04-19 01:36Performance Improvement in Pro*C
Pro*C code compilation builds executable depends on the parameters passed while compiling a code on Linux OS. GCC compiler is widely used for compilation.
Parameters that it provides enables memory management and linking etc...
This means : Without changing Code GCC compilation parameter change can give significant improvement in performance without impacting functionality. Attached document contents details study of the same.
This document gives details about environment,deployment and pre-post change analysis.
Brgds,
Sanjay J. Sontakke
Pro*C Code Performance Improvement (GCC - RHL)
Submitted by jayraj on Tue, 2011-04-19 01:12Performance Improvement in Pro*C
Pro*C code compilation builds executable depends on the parameters passed while compiling a code on Linux OS. GCC compiler is widely used for compilation.
Parameters that it provides enables memory management and linking etc...
This means : Without changing Code GCC compilation parameter change can give significant improvement in performance without impacting functionality. Attached document contents details study of the same.
This document gives details about environment,deployment and pre-post change analysis.
Brgds,
Sanjay J. Sontakke
- jayraj's blog
- Login to post comments
Oracle 11g CONVERTING PHYSICAL STANDBY DATABASE TO SNAPSHOT STANDBY DATABASE
Submitted by kkshankar_05yah... on Fri, 2011-04-01 04:43CONVERTING PHYSICAL STANDBY DATABASE TO SNAPSHOT STANDBY DATABASE
Step 1: Check if Flashback is enabled.
- kkshankar_05yahomailcom's blog
- Login to post comments
- Read more
Exploring BI Publisher 11g : A simple report with DataModel Editor
Submitted by AshishRaj on Sat, 2010-09-18 11:24If you have installed OBIEE 11g successfully, lets try to explore some of the new features and tools available with BI Publisher 11g.
Unlike 10g, where Report is a single entity and data sets are the part of Report definition, in 11g, Data Sets (which termed as Data Model in 11g) and Report definition are two separate entities.
Data Model, which drive/extract the xml data for report is the advance version of Data Template, So there is no Data Template in 11g, its all Data Model with a very nice Data Model editor to design simple to complex Data model. This support some new data source like, BC4J View Objects and EXCEL, which were not supported in earlier releases as data source.
Report definition includes the Data Model reference, Layout template and other report specific metadata required to render or generate the Report output.
For these many years, we are using RTF templates as main Layout Template, now there is new format available with 11g, it is xpt format, which looks like Oracle’s proprietary format. As claimed, it generates almost pixel perfect output and could be a good substitute for PDF Forms. A nice Report Designer is available to design these xpt reports.
As I mentioned earlier, the complete report consist of two main objects, Data Model and Report definition. Data Model should exist, before we start Report definition.
Before design the data model, make sure the required jdbc connection is setup through BI Publisher Administration UI. To access JDBC data source UI, click the Administration from the Top bar and select the Manage BI Publisher Administration from the Common Administration Page.
Read more..
- AshishRaj's blog
- Login to post comments
- Read more
Recover the Datafile without any prior backup
Submitted by rajabaskar on Tue, 2010-06-15 21:59
Today I planned to test “Recover the datafile without prior backup”
Currently there is no failure in database. I shutdown the database & removed the below datafile in OS level “D:\ORACLE\APP\ORADATA\CHE\TEST.DBF”.
Note:
1.Database must be in archive log mode.
2.We need all the archive log files from lost datafile created.
1.Login into che database
C:\>set oracle_sid=CHE
SQL*Plus: Release 11.1.0.7.0 - Production on Wed May 19 14:21:03 2010
Copyright (c) 1982, 2008, Oracle.
Data Recovery Advisor - oracle 11g new feature
Submitted by rajabaskar on Tue, 2010-06-01 21:37
Oracle Data Recovery Advisor 11g new feature
Data recovery advisor is one of the oracle 11g new features.
The Data Recovery Advisor tool can assist with diagnosing media failures, making recommendations and providing the RMAN commands to resolve the problem.
Data Recovery advisor we have used three commands.
1.List failure
2.Advice failure
3.Repair failure
How it works?
1.List failure:
The Data Recovery Advisor stores its information outside the database in the Automatic Diagnostic Repository (ADR - V$diag_info)
If you find any problem in database and Data recovery a
- rajabaskar's blog
- Login to post comments
- Read more
Oracle Database 11g RMAN Backup Encryption
Submitted by infopediaonline on Tue, 2010-05-11 16:28Security is gaining importance. As per the reports in the year 2008, loss of confidential information has increased to 63%. This loss of confidential information is a breach of Service Level Agreement (SLA). Organizations will have to compensate these loses in the form of financial penalties.
A recent information protection law from a state in U.S.A claims that information of residents of this state stored in databases across the globe will have to be encrypted. Upon failure, the database owners will have to pay $5000 penalty.
- infopediaonline's blog
- Login to post comments
- Read more

