About me

Name: Ivan Kartik
Location: Bratislava, Slovakia
I'm working as Senior Database Administrator in Bratislava, Slovak Republic. My interests are in RDBMS mainly Oracle, Unix (like) operating systems and in free time I am watching or playing ice-hockey, also I like to play golf.

[contact me]


Oracle (favourite) links

Oracle Technology Network
OTN Forums
Oracle Documentation
Ask Tom


Linux (favourite) links

Linux.com Portal
Linux section on OTN
The Linux Documentation Project


Favourite Blogs

Nicolas Gasparotto
Hans Forbrich
Jonathan Lewis
Frits Hoogland
H.Tonguç YIlmaz
Laurent Schneider
Christopher Jones
Jeff Hunter
Oracle WTF


My install articles

9i
Oracle 9i(R2) on Fedora 2,3,4,5,6
Oracle 9i(R2) on Enteprise Linux 4
Oracle 9i(R2) on SuSE 9.x,10.1
10g
Oracle 10g(R2) on EL and RH EL 3,4,5
Oracle 10g(R2) on Fedora 2,3,4
Oracle 10g(R2) on SuSE 9.x
Oracle 10g(R2) on Solaris 10 x86
11g
Oracle 11g(R1) on EL and RH EL 4,5
Oracle 11g(R1) on SLES10 and OpenSuSE
Oracle 11g(R2) on Solaris x86(64)


Downloads

rlwrap for Fedora (x86)
rlwrap for Redhat (x86)
rlwrap for SuSE (x86)
rlwrap for Redhat (x86_64)
rlwrap for Suse (x86_64)
rlwrap for Solaris 10 (x86)
readline for Solaris 10 (x86)
rlwrap for Solaris (SPARC 64)
readline for Solaris (SPARC 64)


Archives

January 2010
December 2009
November 2009
February 2009
January 2009
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
September 2007
August 2007
July 2007
April 2007
March 2007
February 2007
December 2006
November 2006
October 2006
September 2006
July 2006



Rlwrap packages for Linux x86_64 and Solaris SPARC 64

According to some requests I built rlwrap packages for Linux (RedHat compatible distributions) 64 bit (x86_64) and for Sun Solaris SPARC 64 bit. Packages for Solaris were built on 9 version but also working on version 10 (tested of course).

download readline package for Solaris (9, 10) SPARC.
(md5 checksum: 523e0169e79e07fab595d778927f7165)

download rlwrap package for Solaris (9, 10) SPARC.
(md5 checksum: 0ea2a86c4e7817a36a5b1d6a25b61269)

download rlwrap package for Redhat EL (3, 4) and Enteprise Linux x86_64 architecture.
(md5 checksum: b2c91b2057f76431d92a788d4e79d42d)

To install rlwrap on Solaris execute following commands:

gunzip readline-5.2-solaris9-sparc.gz
gunzip rlwrap-0.28-solaris9-sparc.gz
pkgadd -d readline-5.2-solaris9-sparc
pkgadd -d rlwrap-0.28-solaris9-sparc

As readline library is located in /usr/local/lib don't forget to add that line to LD_LIBRARY_PATH.
Also put following line to your .bash_profile:
alias sqplus='/usr/local/bin/rlwrap sqlplus'


To install rlwrap on Linux (RH EL, EL, WBL) execute following commands:
rpm -ivh rlwrap-0.28.rh4.x86_64.rpm

Also put following line to your .bash_profile:
alias sqplus='rlwrap sqlplus'

Posted on Friday, February 16, 2007 Comments [1]


9i R2 Installation article for Enterprise Linux

I prepared (as I promised to Jer long time ago on OTN forums) new installation article for 9i release 2 for Enterprise Linux (shipped by Oracle). This paper is valid for x86 and x86_64 architecture.

Hope that helps.

Posted on Thursday, February 15, 2007 Comments [7]


WT_...?: How to check DB link validity

We found this beauty in statspack report. This query was executed 7 times during 15 minutes period. Each execution had 23592 LIO, 23372 PIO and Cost 2144.
As we later found, that query was used to check validity of database link.


SQL> SELECT COUNT(*) FROM SCHEMA_NAME.SOME_BIG_TABLE A1;

Execution Plan
----------------------------------------------------------
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2144 Card=1)
1 0 SORT (AGGREGATE)
2 1 INDEX (FAST FULL SCAN) OF 'PK_ID_SOME_BIG_TABLE' (UNIQUE
) (Cost=2144 Card=2725982)

Statistics
----------------------------------------------------------
760 recursive calls
0 db block gets
23592 consistent gets
23372 physical reads
12932 redo size
200 bytes sent via SQL*Net to client
240 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
28 sorts (memory)
0 sorts (disk)
1 rows processed

What can I say? Don't try this at work...

Posted on Wednesday, February 14, 2007 Comments [2]