Skip navigation.

Blogs

Impact on Packages - Assign permissions directly vs Assign permission via Roles

Document depicts how Roles and Privileges behave for Packages

DB Version: 10.2.0.4

Users: TESTUSR (Table Owner)
TESTUSR_PKG (Package Onwer)
TESTUSR_APP (Application Owner)

Roles: TESTUSR_APP_ROLE
TESTUSR_PKG_ROLE

Table: TEST_TBL
Package: TEST_PKG

Table Text:
create table test_tbl(a number);

Package Text:
CREATE OR REPLACE PACKAGE test_pkg AS -- spec
PROCEDURE insert_test_tbl (
a NUMBER);
PROCEDURE delete_test_tbl (
a NUMBER);
END test_pkg;

CREATE OR REPLACE PACKAGE BODY test_pkg AS -- body
PROCEDURE insert_test_tbl (
a

Role Playing Dimension in data warehouse

Dimensions are often recycled for multiple purposes within the same database. For instance, a “Date” dimension can be used for “Date of Sale”, as well as “Date of Delivery”, or “Date of Hire”. This is often referred to as a “role-playing dimension”.

Transporting tablespace from 32 to 64 bit using RMAN

Performing a 32 bit to 64 bit migration using the Transportable Database RMAN feature

This note describes the procedure used to perform a 32 bit to 64 bit conversion of an 11.2.0.3 database on the Linux platform.

The RMAN CONVERT DATABASE command is used to automate the movement of an entire database from one platform (the source platform) to another (the destination platform).

When is an index access path better than a full table scan?

The cost based optimizer makes decisions that can be hard to understand. One of the hardest may be why it chooses indexed or scan access paths: a burning question for many DBAs.

Selenium Webdriver Online Training with Java Tutorial

What is Selenium WebDriver?
Selenium WebDriver is a website robot framework that allows you to implement your assessments against various windows, not just Opera.

Selenium WebDriver also allows you to make use of a coding language in developing your examination texts (difficult in Selenium IDE).

It's simple to employ conditional operations like if-then-else or change-event
You can also accomplish looping like do-while.
Following development languages are recognized by Selenium WebDriver

Java
.Net
PHP
Python
Perl
Ruby

Intr

What is DB Time? Where has it gone?

DB Time is the time spent by the database server executing user calls. What is this composed of? CPU time, waiting time, and IO time.

Windows Registry - ORACLE_SID

Hi All,

I would like to share something about ORACLE_SID registry parameter.

I had a chance to restore (RMAN) a database on a new Windows server. The restoration/recovery was completed and there was no issue in logging to the database from the server.

The only thing I had to do was to set the ORACLE_SID variable everytime using the statement "set ORACLE_SID=abcd". I will encounter the error "ORA-12560: TNS:protocol adapter error".

This was the only database running on the server.

Proxy authentication

Proxy authentication has been around since release 9i, but it isn't widely used. It can be a very useful facility for giving certain users access to high privileges without having to give them any direct grants or roles, and avoids many of the problems of using shared accounts. It is of course fully audited.

Standard Edition release 12.1.0.2: licensing...

Standard Edition release 12.1.0.2 is now available. Download it from the usual locations. But along with the great news, comes some news that is not so great: the licensing model has changed.

ADVANCED table compression: an improvement

Following previous blog re BASIC compression, here are a couple of simple tests with Advanced Compression - which is supposed to survive conventional DML.