Filesystem using Oracle and mirroring VG ?


 
Thread Tools Search this Thread
Operating Systems AIX Filesystem using Oracle and mirroring VG ?
# 1  
Old 07-28-2012
Filesystem using Oracle and mirroring VG ?

Hello,

I have a filesystem which has Oracle EBS 11.5.9 running and database 9i


Code:
# df -g

Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on

/dev/fslv00      270.00     69.68   75%   746263     5% /oratec

which is in oraclevg

# lsvg oraclevg
VOLUME GROUP:       oraclevg                 VG IDENTIFIER:  00c82b6e00004c0000000133f8a8c64c
VG STATE:           active                   PP SIZE:        256 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1092 (279552 megabytes)
MAX LVs:            256                      FREE PPs:       11 (2816 megabytes)
LVs:                2                        USED PPs:       1081 (276736 megabytes)
OPEN LVs:           2                        QUORUM:         2
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        yes
MAX PPs per VG:     32512                                    0
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable


Now if I mirror oraclevg, will the oracle EBS run slow after mirroring of oraclevg ?
# 2  
Old 08-13-2012
anyone having any similar experience.
# 3  
Old 08-14-2012
depending on the location of the second storage (if it is a second storage) the response time may increase
that's not easy to say


create a unmirrored filesystem, and run a tool like iozone on it
then mirror the vg, and run it again with the same parameters

AIX 5L Open Source Packages | Main / IOzone

don't forget to turn off the filesystem cache

Last edited by funksen; 08-14-2012 at 08:01 AM..
This User Gave Thanks to funksen For This Post:
# 4  
Old 10-04-2012
@funksen

I looked at IOzone :
Ozone is a filesystem benchmark tool. The benchmark generates and measures a variety of file operations. IOzone has been ported to many machines a nd runs under many operating systems.
IOzone is useful for performing a broad filesystem analysis of a vendors computer platform. The benchmark tests file I/O performance for the following operations: Read, write, re-read, re-write, read backwards, read strided, fread, fwrite, random read, pread, mmap, aio_read, aio_write.

so what would the benchmark indicate, i mean how can we read it. If it indicates high I/O then after mirroring it would be even higher ? right ?
# 5  
Old 10-04-2012
filosophizer, it is impossible to teach someone the job over the net. funksen has given you some useful pointers already but if you lack the basics to even understand what he is telling you we can't help you. How to benchmark I/O is learned by understanding how storage technology works, how Unix kernels work, how disks are accessed, by which strategies relational databases (in your case Oracle) optimize disk access and probably some other areas of competence you seriously lack.

To learn all this funksen has probably read several books, a lot of documents plus had some years of experience. How is he supposed to transfer this accumulated amount of knowledge to you here in a few articles? This is impossible.

It is not ill will from our side, but there is probably only one way for you: learn starting from the basics, the same way as he did. Over time you will arrive at the same point as funksen, but neither without effort nor in short time. It took him some years of experience and it will take you the same time to know what he knows.

You come across like a first grader, eager to solve math problems involving advanced calculus and now expect the teacher to tell you how to solve it. In order for you to understand his explanation he would have to explain so many things which in turn will need explanation too, etc., ad infinitum, that you are probably best off pursuing a sound education in systems administration. This, alas, is beyond our scope here.

To finally answer your question:

Quote:
so what would the benchmark indicate, i mean how can we read it. If it indicates high I/O then after mirroring it would be even higher ? right ?
No, not right. It depends. It depends on so many things you can only find out by first benchmarking the system and then interpreting the values produced by these benchmarks that an answer is simply impossible.

It is not even clear your system is really I/O-bound as you claim: how have you analyzed that and by applying which methods did you arrive at this conclusion? Have you run filemon? vmstat? iostat? What is the OS level (different AIX versions need different tuning parameters)? What is the contents of "/etc/tunables/lastboot"? Which size is the SGA? What is the cache hit/miss statistics in Oracle?

The answers to all these (and a lot more) questions are (or could be) factors if it comes to the I/O-performance of a database. Given the info you have presented until now we could as well toss a coin and answer "friday".

bakunin

Last edited by bakunin; 10-04-2012 at 06:18 PM..
This User Gave Thanks to bakunin For This Post:
# 6  
Old 10-05-2012
Bakunin is right, this depends on many things
large sequential ios would suffer less from a mirrored disk than a lot of small random ios

you didn't even say what kind of storage it is, local scsi, iscsi, san attached
I'll give you a short answer, because I'm short in time today

if your system is important enough to mirror the volume groups for data safety and to prevent a downtime due to a storage outage, then go for it


I do it this way:
cluster: mirror rootvg, mirror datavgs (mostly over two locations)
non cluster system that boots from san: no mirror at all
non cluster system that boots from local hdisk: mirror rootvg

if I would be using iscsi disks, I would mirror some of the more critical non cluster systems as well, but that's because our ip network is not as stable as our san
Quote:
Originally Posted by filosophizer
. If it indicates high I/O then after mirroring it would be even higher ? right ?
no, you must take a look at increased latency, and decreased overall data throughput in bytes/second

Last edited by funksen; 10-05-2012 at 08:25 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Anyone has experience with mirroring vg for Oracle Database and Application

Hi Everyone, I was wondering if anyone has any experience or information regarding mirroring volume group which has the filesystem running Oracle Database and Application E-business suite. Will this deteriorate the performance for the users ? Secondly, if one of mirrored disk fails, will... (3 Replies)
Discussion started by: filosophizer
3 Replies

2. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

3. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

4. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

5. AIX

fsck ran on a filesystem hosting an oracle DB ?

One of our tasks in the office is to do database backups. We were taught (us all operators working here) that it is done via a bunch of specialized scripts. Those scripts are at least 10 years old (system is an AIX 4.1). One of those script does an fsck against the databases. Everytimes we run... (2 Replies)
Discussion started by: Browser_ice
2 Replies

6. Solaris

Mirroring

Hi All i wish to mirror the root disk, but i face the below error. root@saturn # metainit d11 1 1 c0t0d0s0 metainit: saturn: c0t0d0s0: is mounted on / kindly assist... (27 Replies)
Discussion started by: SmartAntz
27 Replies

7. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

8. SCO

Mirroring

How Can I Do Mirroring In Unix? (0 Replies)
Discussion started by: DIMITRIOSDOUMOS
0 Replies

9. Solaris

Mirroring

I am running Solaris 10 and i need to mirror a 73 gig HD. How do you mirror one in Solaris? (2 Replies)
Discussion started by: dewsdwarfs
2 Replies
Login or Register to Ask a Question