Operating System - HP-UX
1832987 Members
2764 Online
110048 Solutions
New Discussion

Oracle and different PE size on two server

 
Mauro Gatti
Valued Contributor

Oracle and different PE size on two server

Hi all, I have two server with hpux 10.20
On server A I have volume groups created with PE Size of 4 Mb.
On server B I have volume groups created with PE size of 8 Mb.

On these VGs there are some oracle datafiles.

Server A is "production" server and server B is "test" server.

I do a "cold" backup of these datafile on server A to tape (so I stop oracle and then I start backup) and next I restore them from tape to server B.

Unluckly my DBA tell me there are incongruencies on "blocks" on datafile on server B.

Do You think this can be caused by different VG PE size?

To change PE size I think I have to destory and recreate VG, isnt't it?


Thank You for your help


Mauro
Ubi maior, minor cessat!
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: Oracle and different PE size on two server

Hi Mauro,

No this should make a difference,

could you check next command on both filesystems (servers)

# df -g /oracle_filesystem

Robert-Jan
Jean-Luc Oudart
Honored Contributor

Re: Oracle and different PE size on two server

PE size has nothing to do with Oracle blocks and so on.
This is just an allocation unit.

Jean-Luc
fiat lux
Tomek Gryszkiewicz
Trusted Contributor

Re: Oracle and different PE size on two server

PE size doesn't matter in this case. PE only matters when you extending or creating lvols.

-Tomek
Julio Yamawaki
Esteemed Contributor

Re: Oracle and different PE size on two server

Hi,

When your DBA told about "incongruencies on blocks", you must check the blocksize of the two databases and check the blocksize of the filesystems where this database is housed.
In Oracle: check parameter db_block_size
In Unix: fstyp -v /dev/vg/lvol, check fr_size
Jean-Luc Oudart
Honored Contributor

Re: Oracle and different PE size on two server

Could you get the exact Oracle error message from the DBA ?
This should be in the alert logfile

Regards,
Jean-Luc
fiat lux
Mauro Gatti
Valued Contributor

Re: Oracle and different PE size on two server

db_block_size is 8192 and f_frsize is 1024 on both server.

I can't be able now to tell you the exact error code of oracle.
I know only oracle found an inconsistency from "actual" (on server B) file dimension and "expected" dimension.

Thank You again.
Ubi maior, minor cessat!
Hein van den Heuvel
Honored Contributor

Re: Oracle and different PE size on two server


Well, just don't take no for an answer and work with the DBA to get clear error messages. You may alway want to check and compare the actual file sizes... why not.

If you know for a fact that all data for all db files has been transferred correctly, then you may just want to activate the cloned database using 'CREATE CONTROL FILE' passing in the list of (new) file names.

You get the template for the create control file by doing a 'backup controlfile (to trace)' on the production box.
Btw... it is always prudent to have such control file script handy to recover from massive problem (operator deleting control files :-).


Hein.


Steven E. Protter
Exalted Contributor

Re: Oracle and different PE size on two server

Yes, to change the PE size you'd want to back up the data with fbackup or something, destory the volume group and recreate it with the right
-s parameter.

As far as this bothering Oracle, I'm kind of wondering what the word inconguencies means.

There might be a performance impact.

I posted a thread a while back asking if I could boost Oracle performance by useing larger PE size and A. Clay Stephenson, I believe told me that from experience it would not make a difference.

I only vary from default pe-size when I need to have a large mount if data in a single volume group and was running into OS limitations on number of pe units(-p )usable in a volume group.

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