Blogs

12cR2 new feature: online table move

articles: 

Move a table without locks and without breaking indexes. That's pretty cool.

Transport Tablespace Testing from Msocial (Sparc) to STS VMWare (x86_64)

1. Platform
- Msocial: Sparc Solaris 10
- STS_VMWare: x86_64 Solaris platform
2. Utility: RMAN
3. Task list details
3.1. On Source (MSocial)
3.1.1. Create test user schema & generate data in

sys@MSOCIAL> create user msocialtest identified by msocial
  2  default tablespace users
  3  temporary tablespace temp
  4  quota unlimited on users
  5  /

User created.

sys@MSOCIAL> grant connect, resource, create session, dba to msocialtest;

Grant succeeded.

Is row-by-row processing really slow-by-slow? Emphatically: YES

articles: 

Developers who come to Oracle with a background in procedural languages sometimes do not understand how efficient SQL's set oriented processing can be. This little demonstration should convince them: never use PL/SQL when SQL will do.

How to change column order when using SELECT *

articles: 

We all know that using SELECT * is bad programming. One reason is that you cannot control the order in which columns are returned. Well, you can in release 12c.

Oracle 12cR2 - the next release, cloud only?

articles: 

We are all waiting for database release 12.2 - but you won't get it on your own hardware.

Send SMTP Mail using UTL_SMTP Package

articles: 

In this first my blog entry I wish to post the code for send an Email message from one sender to one receiver.
The code is the follow:

DECLARE
  v_From      VARCHAR2(80) := 'sender.mail.com';
  v_Recipient VARCHAR2(80) := 'receiver.mail.com';
  v_Subject   VARCHAR2(80) := 'test subject';
  v_Mail_Host VARCHAR2(30) := 'smtp.libero.it';
  v_Mail_Conn utl_smtp.Connection;
  crlf        VARCHAR2(2)  := chr(13)||chr(10);
BEGIN
 v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
 utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);

Tips to install Oracle 11gr2 RAC on AIX (6.1/7.1)

AIX is like an Unix environment awesome original, same to HP-Unix, and, if you have a plan to install Oracle RAC, you need to pay attention. I note some tips in this article to help.

1. Checking Operating System Packages

# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstat \
bos.perf.perfstat bos.perf.proctools rsct.basic.rte rsct.compat.clients.rte \
xlC.aix61.rte

If not, install on AIX source by smity. It's easy, but remember, some packaged requires your IBM's account to download.

Create RAID hardware on Sun Sparc T5-2

In previous article, I described the task list of configuration software raid on Solaris. And here, I brief the task list of configuration hardware raid on Sun Sparc model T.

Ofcoruse, the first step is connection to the server with serial console cable, assume the new server.
Remember:

data bit = 8
baud rate = 9600

Recommend tool: Sercure CRT, Putty.

Solaris 10 - Create software RAID 1

I worked on Unix many years ago, however, Solaris, AIX and HP-Unix are the platforms I often did with. I'm DBA, but there are not any System Administrator in my company, and I .. do the System's business at all.

Before ZFS becomes popular, UFS was always the best choice for Solaris, especially in M's series, example: Sun M-3000, M-4000, M-5000 ...etc. The M series does not support Hardware Raid, but only software, and this article do the brief of creating the software raid in. It's one of task list before configuration and installation Oracle in Solaris 10.

Some tips on installation Oracle 11gr2 on RHEL6

There are some tips when I finished the installation Oracle 11gr2 on RHEL6.
Full documents exits in Oracle documents library, so you can read them first

1. Install the requirement pacakges

[root@spsdev ~]#yum install local compat-libstdc++-33*
[root@spsdev ~]#yum install local libaio-devel-0.*
[root@spsdev ~]#yum install local pdksh-5.*
[root@spsdev ~]#yum install local unixODBC-devel-2.*
[root@spsdev ~]#yum install local sysstat-7.*

Pages

Subscribe to RSS - blogs