Operating System - HP-UX
1832179 Members
2888 Online
110038 Solutions
New Discussion

Re: Problem with HP-UX 11iv1 and Oracle 9i

 
SOLVED
Go to solution
BachPhan
Occasional Advisor

Problem with HP-UX 11iv1 and Oracle 9i

I had RP7410 (4 chip, 4 GB Ram), it was installed HP-UX 11iv1 and Oracle 9i.
That server only run about 5 million records. It can not process more 5 million records.
I don't what problem is.
Really, with that hardware, software how many records can RP7410 process ???
Anybody installed and used Oracle 9i and HP-UX 11iv1 on the RP7410, pl tell me about maximum records that server can process.
If i want that server process about 60 million records, can that server support ???
Pl help me as soon as possible
Thanks for any help.
10 REPLIES 10
Steven E. Protter
Exalted Contributor
Solution

Re: Problem with HP-UX 11iv1 and Oracle 9i

The ram is on the low side for oracle but thats not the problem here.

You should be able to process hundreds of millions if not billions of records with oracle.

I would go back to the install document and make sure such issues as OS patches and kernel parms like shmmax and shmseg are set properly.

In my prior employment I managed three rp5450 servers that ran this exact product set.

The RP7410 is a very powerful box and you are not running into an inherent limitation of the hardware, more likely the system configuration or oracle sga limits.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jean-Luc Oudart
Honored Contributor

Re: Problem with HP-UX 11iv1 and Oracle 9i

Hi

could you post the error message(s) you are getting ?
I have tables with more than 60 millions rows.

Regards
Jean-Luc
fiat lux
BachPhan
Occasional Advisor

Re: Problem with HP-UX 11iv1 and Oracle 9i

Anybody can tell me about HP-UX 11i Kernel parameter for Oracle 9i .
PL show me about sample Kernel parameter for Oracle.
My server don't process many records as i want.
Thank for any help.
Arunvijai_4
Honored Contributor

Re: Problem with HP-UX 11iv1 and Oracle 9i

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=749881

You can look at the above thread for more information.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor

Re: Problem with HP-UX 11iv1 and Oracle 9i

hi,

No such limitations exists!

Either you database is not properly tunes
or You program has a bug!

can you please post the error messages you are getting as requested by Jean_luc above?

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Alzhy
Honored Contributor

Re: Problem with HP-UX 11iv1 and Oracle 9i

BachPan,

Try these Kernel parameters:
bufpages Pages of static buffer cache â older parm 0

dbc_max_pct Max dynamic buffer cache between 3 and 10 % of memory
dbc_min_pct Min dynamic buffer cache between 2 and 5% of memory

maxfiles Soft limit for open files 1024
maxfiles_lim Hard limit for open files 1024 (default)
nfile Open files limit (15 * NPROC + 2048)
nflocks File lock limit (NPROC) (at least 4096)
ninode Max inodes in memory (8 * NPROC + 2048)

maxswapchunks Max swap space on the system 16384

swapmem_on Enable/disable pseudo-swap 1 (on)
swchunk Swap chunk size 4096 (up to 65536 for large RAM)
vps_ceiling Max page size in Kbytes 64


maxdsiz Max process data seg size for 32bit procs 1073741824 bytes or (0x40000000)
maxdsiz_64bit Max process data seg size for 64bit procs 2147483648 bytes or (0x80000000)
maxssiz Max process storage seg size for 32bit procs 134217728 bytes

maxssiz_64bit Max process storage seg size for 64bit procs 1073741824 bytes or (0x40000000)
maxtsize Max process text seg size 128MB
maxuprc Max # of procs/user ((NPROC*9)/10)
max_thread_proc Max threads/proc 256
nkthread Max kernel threads (((NPROC * 7) / 4) + 16)
nproc Max procs/system 4096

msgmap Message map size (2+msgmni)
msgmni Max msg queues nproc
msgseg # segs in msg queue 32767
msgtql Total msgs on system nproc

semmap Free sem map size (semmni+2)
semmni Max sems/system 4096
semmns Max sems for users/sys (semmni*2)
semmnu Max undos/sem (nproc-4)
semvmx Max sem value 32767

shmmax Max shared memory segment Large enough to hold the entire SGA in one shared memory segment (we use 32GB)
shmmni Max segments/system 512
shmseg Max segments/proc 120 per Oracle database


Or you may want to adopt the kernel paramters of the environments of the TPC runs at www.tpc.org.
Hakuna Matata.
BachPhan
Occasional Advisor

Re: Problem with HP-UX 11iv1 and Oracle 9i

Pl check my kernel configuration.
Tell me any comment.
Oracle:
QL> conn xuly/xuly45@tc461
Connected.
SQL> set time on
08:08:42 SQL> set timing on
08:08:46 SQL> exec thuebao.cre('06',2005)

PL/SQL procedure successfully completed.

Elapsed: 00:00:01.05
08:10:00 SQL> exec thuebao.GOP_BD('06',2005)

PL/SQL procedure successfully completed.

Elapsed: 00:35:27.03 --qua cham (10-15')
08:45:28 SQL> set serveroutput on
09:33:17 SQL> commit;

Commit complete.

Elapsed: 00:00:00.00
09:33:22 SQL> tccg_go('dth','06/2005','SQL plus','QUYND');
SP2-0734: unknown command beginning "tccg_go('d..." - rest of line ignored.
09:33:29 SQL> exec tccg_go('dth','06/2005','SQL plus','QUYND');
BEGIN tccg_go('dth','06/2005','SQL plus','QUYND'); END;

*
ERROR at line 1:
ORA-03113: end-of-file on communication channel


Elapsed: 03:17:37.03
12:51:11 SQL>

Connected.
SQL> set time on
16:50:05 SQL> set timing on
16:50:15 SQL> set serveroutput on
16:50:51 SQL> exec tccg_go('dth','06/2005','SQL plus','QUYND');
ERROR:
ORA-03114: not connected to ORACLE


BEGIN tccg_go('dth','06/2005','SQL plus','QUYND'); END;

*
ERROR at line 1:
ORA-03113: end-of-file on communication channel


Elapsed: 03:06:24.08
19:57:25 SQL>

16:25:41 SQL> exec tccg_go('dth','06/2005','SQL plus','QUYND');
ERROR:
ORA-03114: not connected to ORACLE


BEGIN tccg_go('dth','06/2005','SQL plus','QUYND'); END;

*
ERROR at line 1:
ORA-03113: end-of-file on communication channel


Elapsed: 03:11:07.00


Thanks for any help.
Alzhy
Honored Contributor

Re: Problem with HP-UX 11iv1 and Oracle 9i

One kernel Param that needs looking at is nfile - it is small (for a 64 CPU system you'll end up with only 3008). Set it to say 60000.

As fot te other parameters, try starting with the values above. They're HP's recommended kernel settings.

Also, if your mount options on your Oracle DB filesystems are for DirectIO (mincache=direct,convosync=direct - check via mount -p), you may want to lower your buffer cache and just adjust SGA.

Keep your dbc_max_pct to around 800-1600 GB.

Hakuna Matata.
Zygmunt Krawczyk
Honored Contributor

Re: Problem with HP-UX 11iv1 and Oracle 9i

The following doc may be useable

"Best Practices for Oracle on HPUX"
http://h21007.www2.hp.com/dspp/files/unprotected/database/HP3KOracle.ppt
BachPhan
Occasional Advisor

Re: Problem with HP-UX 11iv1 and Oracle 9i

I think all of kernel parameter is correct.

nfile (15*NPROC+2048)
nproc 4096

So nfile is not small as u tell.

What problem is it ???

Error code is " ORA-03113: end-of-file on communication channel " . Can that error code show you what problem is ?

Pl give me your idea about that error code.

Thanks