Oracle ASM rebalancing does change rowid??
Hi, all.
The db is 11.2.0.3 on a linux machine.
I use ASM for storage management.
When oracle ASM rebalancing occurs, does the rowid of rows change?
In my production environment, some application modules depend on rowid of rows.
Have a wonderful day.
Best Regards.
Hi
When oracle ASM rebalancing occurs, does the rowid of rows change?No, the load balancing is doie by moving ASM allocation units i.e datafiles extents (synonymous to OS blocks) to other physical volumns within same diskgroup to make data spread across all volumes in a balanced way. It has nothing to do with rowids and you should not worry about it.
Salman
Similar Messages
-
This is more of a planning side question. My company need to install oracle ASM 10G R2 with 10.2.3 patchset on a 32bit linux machine. I am comparatively new to this so doesn't have a thorough understanding.
The hardware configuration I am going to have is 6 x 300GB 15K RPM SAS 3Gb/s Drives in a RAID5 to create a single logical drive. Is this a good configuration to install ASM? I can change the hardware configuration as per the requirement.
I heard that ASM requires two logical drives. If so, do I need to make this into two logical drives? If I am making into 2 logical drives, I will loose 300G for parity drive and I must avoid that. Is there any other raid combination which is good for ASM?
RAID5 provides the striping feature that takes care of contiguous data stored in different disks. Does ASM do the same thing? What additional benefits I will get from ASM? I have done some googling but I couldn't understand most of them. Can anybody help?Read this first :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm
and then post if you have questions left . -
Hi,
We have two Linux hosts accessing EMC SAN LUNs and we have Oracle ASM Disks created on those devices. Both the Linux Hosts (server1/2)are in once Dell Blade Chassis1 and one of the Server we are planning to move to a different Dell Chassis(2) to have redundency in case of Chassis1 faliure. But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array. I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. During this period EMC LUNs will not be visible to server2 and I would like to what will happen to ASM disks on the server2 and how to I accomlish this goal? Any detailed steps please? This is a production system with oracle 11g running.
This is the output of emc powerpath devices (LUNs) which is same on both the hosts.
[root@server2 ~]# powermt display dev=all | grep emc
Pseudo name=emcpowerl
Pseudo name=emcpowerj
Pseudo name=emcpowerf
Pseudo name=emcpowerk
Pseudo name=emcpowerg
Pseudo name=emcpowerh
Pseudo name=emcpowerm
Pseudo name=emcpoweri
[root@server2 ~]#
This are the ASM disks on both the hosts:
[root@server2 ~]# oracleasm listdisks
DATA01_F1
DATA01_G1
DATA01_H1
DATA01_I1
FRA01_L1
LOG01_J1
LOG01_K1
[root@server2 ~]#
Thanks in advance.808306 wrote:
But if we move one server2 to Chassis2 the HBA WWN Number for the host on the new Dell Chassis2 will change ( WWNs are assigned by Chassis on Dell) and the server2 will loose all the SAN LUNs from EMC Array.This does not sound correct to me. WWNs are global - not local. If the WWN is foo123 on server1 for EMC LUN1, why would it not also be foo123 on server2 for EMC LUN1? When you move to server3 or install server3, why would EMC LUN1 not have a WWN of foo123 on server3?
I will have to rezone the new server WWNs to storage and pesent the same disks again and rescan the disks which will take couple of reboots. Using Powerpath perhaps - using multipath, not. New devices (LUNs) can be made visible by the kernel my refreshing multipath - no reboot required. If existing LUNs are going to be changed - yes, a single reboot will be needed. But not multiple (unless you have a driver issue with stale connections not being reset on the storage server side).
This is the output of emc powerpath devices (LUNs) which is same on both the hosts.We dropped Powerpath a long time ago. There were compatibility issues between it and AsmLib kernel drivers. Powerpath taints the Linux kernel and limits kernel upgrade flexibility. I refuse to run it on our new clusters. I use multipath instead - the very same s/w used by some of the largest clusters (with Pentabyte storage) in the world. The comfort factor using Open Source drivers (and certified for that kernel version) is significantly higher than installing 3rd party kernel driver binaries - and having to deal with a 2nd party when it comes to o/s and kernel support. -
I have installed Oracle ASM Libraries on Red Hat Linux and configured ASM. Now recently we applied OS security patches for Linux and it upgraded the kernel version, so the ASMLib module is not starting now, and ASM Libraries are not available for this Kernel version.
How to handle that, is it possible to start ASM instances without ASMLib Module is running?
Edited by: ManoRangasamy on Feb 23, 2012 2:31 PMManoRangasamy wrote:
The storage that we are using is Fiber via HBA (created LUNs)Dual port HBAs?
I just have a question, instead of configuring UDEV or ASMLib, if we change the disk string to "/dev/*". will that work, what will be the problem if we configure like this.
udev is already "installed" - it is part of the kernel.
Also, you likely have dual port HBAs. Which means 2 I/O paths exist to a LUN. The kernel will therefore see 2 scsi devices for that single LUN.
ASM does not support multiple paths to a single device. It will read the same disk label via 2 scsi devices. It needs to see that LUN as a single device.
This is where multipath (also standard install for enterprise kernels) comes into play. It detects the multiple paths to the same LUN and creates a single logical device for that multi path LUN.
So the kernel will for example see devices +/dev/sdk+ and +/dev/sdl+ as the 2 paths to the same LUN. ASM does NOT support this - and these device names can change each time when you reboot the server. So you cannot rely on the device names being the same either.
multipath handles these dynamic device names via WWIDs and will (for example) create +/dev/dm-1+ as the multipath device and also create a logical alias for it (you control this name via the config file) - e.g. +/dev/mpath/DATA_LUN1+.
You point ASM's discovery string to +/dev/mpath/*+.
No ASMLib needed. Standard Linux. Using the very same software as used in HPC (High Performance Computing) Linux clusters of over a 1000 nodes.. In fact, this s/w was specifically developed for HPC cluster. It works. It is robust. It is Open Source.
A Linux RAC or database server using SAN/NAS type storage, should be using udev and multipath. And I would seriously question the stability and robustness of using a configuration that does not use standard HPC and enterprise Linux components. -
IsSchemaValid does chang the xml-encoding header from UTF-8 to WINDOWS-1252
I found the following effect:
isSchemaValid does changing the encoding - entry of the xml-file-header
generating xml-file by using DBMS_XMLGEN :
xmldoc := DBMS_XMLGEN.getXML(ctx);
with the header of the file is
<?xml version="1.0" encoding="UTF-8"?>
change the xmldoc to a xmlType
and validate it against the schema
xmldoc_xmlType:=(xmltype(xmldoc)) ;
xmldoc_xmlType.isSchemaValid ( bSchemalocation)
after this the header of the file is
<?xml version="1.0" encoding="WINDOWS-1252"?>
my DB:
R11_2_0_2 / Windows 64
the same in
R11_2_0_1 / Windows 32
select name, value from v$parameter where upper(name) like '%NLS%'
nls_calendar
nls_comp BINARY
nls_currency
nls_date_format
nls_date_language
nls_dual_currency
nls_iso_currency
nls_language AMERICAN
nls_length_semantics BYTE
nls_nchar_conv_excp FALSE
nls_numeric_characters
nls_sort
nls_territory AMERICA
nls_time_format
nls_timestamp_format
nls_timestamp_tz_format
nls_time_tz_format
register my schema by:
dbms_xmlschema.registerSchema(
schemaurl => vschemaurl,
schemadoc => xsd_file,
local => FALSE,
gentypes => TRUE,
genbean => FALSE,
gentables => TRUE,
force => FALSE,
owner => dbuser
,CSID => nls_charset_id('AL32UTF8')
How can I let or change back the xml-encoding entry to UTF-8 ?
regardsYour solution should not be relied upon...
C:\Temp>sqlplus /nolog @t1 %CD%
SQL*Plus: Release 11.2.0.2.0 Production on Fri Mar 4 09:41:32 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> spool testcase.log
SQL> --
SQL> connect sys/oracle as sysdba
Connected.
SQL> --
SQL> set define on
SQL> set timing on
SQL> --
SQL> def XMLDIR = &1
SQL> --
SQL> def USERNAME = XDBTEST
SQL> --
SQL> def PASSWORD = &USERNAME
SQL> --
SQL> def USER_TABLESPACE = USERS
SQL> --
SQL> def TEMP_TABLESPACE = TEMP
SQL> --
SQL> drop user &USERNAME cascade
2 /
old 1: drop user &USERNAME cascade
new 1: drop user XDBTEST cascade
User dropped.
Elapsed: 00:00:00.24
SQL> grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
2 /
old 1: grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
new 1: grant create any directory, drop any directory, connect, resource, alter session, create view to XDBTEST identified by XDBTEST
Grant succeeded.
Elapsed: 00:00:00.07
SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
2 /
old 1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
new 1: alter user XDBTEST default tablespace USERS temporary tablespace TEMP
User altered.
Elapsed: 00:00:00.00
SQL> set long 100000 pages 0 lines 256 trimspool on timing on
SQL> --
SQL> connect &USERNAME/&PASSWORD
Connected.
SQL> --
SQL> create or replace directory XMLDIR as '&XMLDIR'
2 /
old 1: create or replace directory XMLDIR as '&XMLDIR'
new 1: create or replace directory XMLDIR as 'C:\Temp'
Directory created.
Elapsed: 00:00:00.00
SQL> create table XML_DEFAULT of XMLTYPE
2 /
Table created.
Elapsed: 00:00:00.11
SQL> create table XML_CLOB of XMLTYPE
2 XMLTYPE store as CLOB
3 /
Table created.
Elapsed: 00:00:00.01
SQL> select *
2 from nls_database_parameters
3 where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET')
4 /
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CHARACTERSET AL32UTF8
Elapsed: 00:00:00.02
SQL> declare
2 XML_DEFAULT XMLType := xmltype('<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>') ;
3 XML_CLOB XMLType := xmltype('<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>') ;
4 begin
5 delete XML_DEFAULT;
6 delete XML_CLOB;
7 insert into XML_DEFAULT values (XML_DEFAULT);
8 dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT.xml');
9 IF XML_DEFAULT.isSchemaValid ( 'SCHEMALOCATION_DOES_NO_MATTER_FOR_TEST_CASE.XSD', 'SCHEMA_NO_MATTER') = 1 THEN null; ELSE null; END IF;
10 commit;
11 dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT_IS_VALID.xml',nls_charset_id('WE8MSWIN1252'));
12 dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT_WIN1252.xml');
13 insert into XML_CLOB values (XML_CLOB);
14 dbms_xslprocessor.clob2file( XML_CLOB.getclobval() , 'XMLDIR','XML_CLOB.xml');
15 commit;
16 end ;
17 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.27
SQL> --
SQL> host type XML_DEFAULT.xml
<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>
SQL> --
SQL> host type XML_DEFAULT_IS_VALID.xml
<?xml version="1.0" encoding="UTF-8"?>
<TEST>SELECT</TEST>
SQL> --
SQL> host type XML_DEFAULT_WIN1252.xml
<?xml version="1.0" encoding="UTF-8"?>
<TEST>SELECT</TEST>
SQL> --
SQL> host type XML_CLOB.xml
<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>
SQL> --
SQL>First, the character set changes because isSchemaValid() causes the document to be parsed and converted to the internal database character set, as does storing it in a table.
It appear that your solution works in SQL because the semantics of SQL are such that it causes a 'copy' of the XMLType to take place before running the isSchemaValid() processing, were we to optimize away that copy as a result of a patch or performance optimization project then you solution would break...
If you want the output in a particular character set you should force that using XMLSerialize or getBlobVal(charsetid). Unfortunately we don't have a convience method for writing BLOBS on DBMS_XSLPROCESSOR... -
How to change Rowid of a row.
Hello All,
I want to change a rowid of a row when somebody updates it. I put the table in partition. Table is having 47 fields and I have give "PARTITION BY HASH" on 16 fields. I only updates this fiels who are n partition so how many percent chance are there for the rowid to get changed.If you have an application which depends on database-specific functionality in the source database (ROWID changing when data is updated), I would suggest that you're better off writing database-specific functionality in the target database to accomplish the same business goal than to try to coerce the same functionality from the target database. If you aren't using partitioning elsewhere, for example, the extra cost of licensing this option in the hope of often causing a ROWID to change would be hard to justify.
Can you explain the business purpose that your Centura SQLBase code was accomplishing and how changing ROWID's factored in? There may be a much simpler Oracle solution.
If you are really wedded to ROWID's changing, you may be able to build index-organized tables rather than heap organized tables, but be sure that you understand the implications of this sort of approach.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
How to Install Oracle ASM 11gR2 In Oracle Linux 6.5
Hi
I want to install oracle ASM in oracle linux 6.5 .
Can any one helps me to find a paper with above subject?
ThanksTheses steps only if You want to use ISCSI. This is fine to get the howto:
If You ar running in VM Ware Boxes:
Add the following to the *.vmx file for the virtual machine:
disk.EnableUUID = "TRUE"
Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.
That's a nasty one - without this ISCSI just doesn't work
chkconfig iscsi on
iscsiadm -m discovery -t st -p 192.168.146.100
iscsiadm -m node -T iqn.1991-05.com.microsoft:iscsi-asm-target -p 192.168.146.100 -l
192.168.146.100 <=== IP Number of ISCSI Host
iqn.1991-05.com.microsoft:iscsi-asm-target <== Name of ISCSI Server, you get this as output from discovery command
Now, you must make sure that the devices belong to oracle.
Take a look at this link:
http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.php#make_scsi_devices_trusted
Add the following to the "/etc/scsi_id.config" file to configure SCSI devices as trusted. Create the file if it doesn't already exist.
options=-g
/sbin/scsi_id -g -u -s /block/sdc <== for all ISCSI devives
vi /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1a9a1ce9b75e35f63", NAME="asm1-disk1", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18af9aa132d316eca", NAME="asm1-disk2", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b5bd65a6089784ae", NAME="asm1-disk3", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b0098f974c463139", NAME="asm1-disk4", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c18b94be6b8e64ae1a", NAME="asm2-disk1", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1ba97827387889d2f", NAME="asm2-disk2", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c19344e120143d71a6", NAME="asm2-disk3", OWNER="asm", GROUP="dba", MODE="0660"
KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s /block/$parent", RESULT=="360003fff419213c1b088599c1a9a0a7f", NAME="asm2-disk4", OWNER="asm", GROUP="dba", MODE="0660"
RESULT=="360003fff419213c1b088599c1a9a0a7f" <=== That is returned by /sbin/scsi_id -g -u -s
Reload:
/sbin/udevcontrol reload_rules
/sbin/start_udev
Now you have your devices read, belonging to oracle:
ls -al /dev/asm*
Next go to oracle download click on list all and get:
Oracle Grid Infrastructure 11g Release 2 (11.2.0.1.0) for Linux x86-64
After extracting this you are ready to go.
When starting the install process you get an option to "change path", here select /dev.
In my test systems I use to set "external" for dataprotection.
Regards
Christian -
Oracle ASM Disk Name Lenght Limit
Hi,
Does anyone know wheter or not oracleasm has a maximum disk name lenght limit, I have a situation where "#oracleasm listdisks" shows the same name for 5 of my disks and seems to have truncated the last character from the disk name.
So, now my ASM Diskgroup is not starting up because it sees that there are "missing" disks, but they are not missing, they are just listed with the same Disk Name.
Commands used to create the disks:
oracleasm createdisk RAC_DATA146_500GB_DISK001 /dev/emcpowerek1
oracleasm createdisk RAC_DATA146_500GB_DISK002 /dev/emcpowerem1
oracleasm createdisk RAC_DATA146_500GB_DISK003 /dev/emcpowerej1
oracleasm createdisk RAC_DATA146_500GB_DISK004 /dev/emcpowerel1
oracleasm createdisk RAC_DATA146_500GB_DISK005 /dev/emcpowerei1
Now, see the output when I do a querydisk:
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerek1
Disk "/dev/emcpowerek1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerem1
Disk "/dev/emcpowerem1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerej1
Disk "/dev/emcpowerej1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerel1
Disk "/dev/emcpowerel1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
[root@birac01 ~]# oracleasm querydisk /dev/emcpowerei1
Disk "/dev/emcpowerei1" is marked an ASM disk with the label "RAC_DATA146_500GB_DISK00"
So, it looks like the version of oracleasm that I'm running has a name lenght limit? IS this possible?
[root@birac01 ~]# rpm -qa | grep oracleasm
oracleasm-support-2.0.3-1
oracleasm-2.6.9-55.ELsmp-2.0.3-1
oracleasmlib-2.0.2-1
Can anyone please help?
Regards
Stephan
Edited by: user1675141 on Mar 22, 2011 2:10 AMOracleasmlib does not seem to advertise such information. As such it might be a poor design that it is not verifiying user input.
According to http://download.oracle.com/docs/cd/E11882_01/install.112/e17212/storage.htm#CWLIN294
+"The disk names that you specify can contain uppercase letters, numbers, and the underscore character. They must start with an uppercase letter."+
The Oracle ASM assistant documentation shows:
+"A volume name of Oracle ASM can be a maximum of 11 alphanumeric characters; dashes are not allowed. The first character must be alphabetic"+
Why are you using such long volume and device names in first place? I would abbreviate the names and make them shorter. The url above will also show you information about configuring multipath and udev.
You could try to query device names using:
/etc/init.d/oracleasm querydisk -p VOL1
and rename volumes using:
/etc/init.d/oracleasm renamedisk /dev/sdb1 VOL1
Edited by: Dude on Mar 22, 2011 5:19 AM -
Oracle ASM installation and raw device options
I am looking to install Oracle ASM on Linux Red Hat AS 4 (ia64) using Oracle 10.2.0.3.
A general question I have regarding prerequisites for ASM using raw devices. It appears there are 2 options for dealing with RAW devices.
1. Use the ASM library driver
or
2. simply bind the devices to raw devices (and then install a new $OH with an ASM instance)
Is there a recommendation from Oracle, industry best practices, expert opinions on which way to go?
If I understand correctly it sounds like option 2 will require an ASM $OH and instance. Is that right or do both option require this?
Can someone provide guidance as to which option I should use, an Oracle whitepaper, a recommendation, instructions or something.
Any help or insight is provided as to which option I should use.
Thank you.
echardrdOK. Perhaps I am a little condused then. From what I read Oracle ASM recommends the use of RAW devices for ASM storage devices. What I have is a new LUN presented to my database server from the SAN. I assumed that the LUN needs to be mounted in some fashion on the server, but my SA tells me in order to mount it, would require the use of a filesystem. If we put a filesystem(NTFS, ext, etc) on the LUN prior to mounting it, will ASM be able to use it? If ASM can use a device that has a filesystem on it will this add unneccessary overhead (I/O)?
I guess my question is for ASM should I
1. use a RAW partition or a filesystem? Does it matter?
2. Will RAW have better I/O performance?
3. How do i make the LUN presentation from the SAN a usable RAW device to my database server? Any steps or guidance would be helpful since my SA and I can not seem to bridge this gap.
Thanks. -
Oracle ASM doesn't like my Xen xvd* devices...
I have 3 VMs all running OEL, sitting on top of a physical host. On the physical host, I have configured Linux multipathing to approx. 20 SAN luns.
I am presenting the multipath device files, the entities in /dev/mapper, up to each VM. However, when my colleague, the Oracle consultant, goes to make use of the /dev/xvd* files I present, Oracle ASM errors out and tells him, I believe, that the device is not a valid partition, or does not have partitions. Something along those lines.
(Note: normally Xen prevents you from presenting a disk device read-write to multiple VMs, but I override this functionality with a '!' flag in the VM's config file).
We've never had this problem when doing multipathing on physical servers. We just tell Oracle ASM about the files in /dev/mapper/, and it goes on its merry way.
What, if anything, can I do to get Oracle ASM happy with the /dev/xvd* files in the guest OS? (The files that correspond to the files in /dev/mapper/* on the physical OS.)user9095995 wrote:
I am presenting the multipath device files, the entities in /dev/mapper, up to each VM. However, when my colleague, the Oracle consultant, goes to make use of the /dev/xvd* files I present, Oracle ASM errors out and tells him, I believe, that the device is not a valid partition, or does not have partitions. You need to fisk the /dev/xvdX devices first to give them a valid partition table. Once you've done that, you can then expose them to ASM as /dev/xvdX1 for example. -
Hi,
I have a new server Sunfire X4100 4x146G SAS disks running Solaris 10 X86 U4.
1 pair of disks is Hardware mirrored for the OS. I created Oracle home on this partition and installed oracle 10g.
I have been trying to decide if using Oracle ASM for the othere two disks is a good idea or not. Should I us ASM to create a disk group with the two remaining disks and run my production database on it or should I stick with manual storage management and raid those disks in hardware or even ZFS... ahh the choices?
The white papers talk about databases with loads of disks and controllers, I am not at that level of hardware and expenditure, YET!
Do ASM and OMF remove the need for me to manage the datafiles for the tablespaces?
Do they handle the layout and optimization of the tables within a tablespace or is that still down to the admin to define the size of the extents during expansion etc?
Can I run a standby database using non ASM storage from a database which uses ASM storage? If this is possible how are the datafiles handled on the standby database?
I guess I could keep reading but I hoped some benevolent sole might already know the answers and save me days of reading!
Finally, How reliable is ASM anybody care to comment? I know I can recover data using my existing OS level database files and ASM makes me uneasy...You really want to invest in http://www.oracle.com/technology/bookstore/index.html
Bottom line: with ASM, the database still runs against RAW disk (physical or LVM) for best possible performance. However, instead of grabbing an entire disk for each tablespace, ASM holds the metadata that tells the database instance where to read and write for specific tablespaces. This allows ASM to coordinate things like striping in a way that is really beneficial for the database.
The white papers talk about databases with loads of
disks and controllers, I am not at that level of
hardware and expenditure, YET!ASM allows you to grow to that when needed.
>
Do ASM and OMF remove the need for me to manage the
datafiles for the tablespaces?Effectively yes. ... remove? how about minimize ...
Do they handle the layout and optimization of the
tables within a tablespace or is that still down to
the admin to define the size of the extents during
expansion etc?ASM uses the principals of SAME (Stripe and Mirror Everything) to minimize admin.
>
Can I run a standby database using non ASM storage
from a database which uses ASM storage? If this is
possible how are the datafiles handled on the standby
database?Logical or physical standby. (I only have experience in the physical standby matching the storage technique of the prime. But I don't see why it should impact the physical standby to mix.)
>
I guess I could keep reading but I hoped some
benevolent sole might already know the answers and
save me days of reading!I know what you mean. The book mentioned above does consolidate a lot of the reading - worth the price and effort.
>
Finally, How reliable is ASM anybody care to comment?Very - you are still using RAW disk and Oracle has been doing that for decades.
I know I can recover data using my existing OS level
database files and ASM makes me uneasy...Not unusual. -
Several questions about oracle ASM in 11gR2.
Hi, all.
The db is 11.2.0.3 on a linux machine.
I have several questions about oracle ASM functionality.
1. V$ASM_DISKGROUP.ALLOCATION_UNIT_SIZE is the stripe size in bytes??
2. V$ASM_DISK.DISK_NUMBER is unique to a physical disk??
3. if the second question is the case,
disk_number=0 (a physical disk) has 14 partition on it.
And each partition belongs to several diskgroups.
Is ths right??
with q1 as (
select /*+ use_hash(b,a) */
disk_number,b.group_number,b.name,a.path,sum(os_mb) tot_size ,count(*) cnt
from v$asm_disk a, v$asm_diskgroup b
where a.group_number=b.group_number
group by disk_number,b.group_number,b.name,a.path
order by disk_number,b.group_number,b.name
select disk_number,group_number,name,path,tot_size,
sum(tot_size) over (partition by disk_number) disk_size,
sum(cnt) over (partition by disk_number) parition_cnt_per_disk
from q1
order by q1.disk_number,group_number
DISK_NUMBER GROUP_NUMBER NAME PATH TOT_SIZE DISK_SIZE PARITION_CNT_PER_DISK
0 1 ARCH /dev/raw/raw100 53256 454460 14
0 2 AAAREDO1 /dev/raw/raw111 10240 454460 14
0 3 AAAREDO2 /dev/raw/raw113 10240 454460 14
0 4 CRS /dev/raw/raw83 3000 454460 14
0 5 BBBDATA1 /dev/raw/raw10 50232 454460 14
0 6 BBBDATA2 /dev/raw/raw41 50232 454460 14
0 7 BBBREDO1 /dev/raw/raw1 10240 454460 14
0 8 BBBREDO2 /dev/raw/raw3 10240 454460 14
0 9 CCCDATA1 /dev/raw/raw75 76400 454460 14
0 10 CCCDATA2 /dev/raw/raw165 51300 454460 14
0 11 CCCREDO1 /dev/raw/raw118 10240 454460 14
0 12 CCCREDO2 /dev/raw/raw120 10240 454460 14
0 13 CCCDATA1 /dev/raw/raw125 51300 454460 14
0 14 BBBDDATA /dev/raw/raw71 57300 454460 14
.Thanks in advance..
Best Regards.
Edited by: 869578 on 2012. 12. 23 오후 10:051. No. The stripe size always equals 128 KB in any configuration.
(http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmcon.htm#BABCGDBF)That is not a true statement. Please read the document, the stripe size depends upon what method of striping we using (fine-grained or coarse-grained)
--from the same oracle document:
To stripe data, Oracle ASM separates files into stripes and spreads data evenly across all of the disks in a disk group. The fine-grained stripe size always equals 128 KB in any configuration; this provides lower I/O latency for small I/O operations. The coarse-grained stripe size is always equal to the AU size (not the data extent size).
--are we using fine grained or coarse-grained ? and how to change the striping method (using TEMPLATES)
http://docs.oracle.com/cd/E11882_01/server.112/e16102/asmfiles.htm#g2223792
also see following:
http://oracletechlovers.blogspot.com/2012/06/asm-differences-between-corse-and-fine.html -
Confusion in Weblogic ReportsServer config without doing change the config?
confusion in Weblogic ReportsServer config without doing change the config ?
my env
windows 2008 64 Bit
WLS 10.3.5 64 Bit
pfrd Forms/Reports 11.1.1.4 64 Bit
after Install all and config my Forms and Reports
the default reports server i found with
http://wlog:8090/reports/rwservlet/getserverinfo
had a name
RptSvr_myserverhost_Formsreportsinstan,
I did run my Forms and reports well with RP2RRO.RP2RRO_RUN_PRODUCT
now some time later I found, that the reportsServer name is changed to
rep_wls_reports_myserverhost_formsreportsinstance_1
and I don't know, why ??
I do start the WLS_REPORT by using the oracle-scripts using startManagedWebLogic.cmd
In the WLS Admin Console there I can see the WLS_REPORTS Server is well started
and after change the ReportServername in my forms to the 'new' servername
I can start my forms with Reports again
In the Enterprise Manager 11g under the reports-tree there are three entries:
ReportsTools
reports(11.1.1.2.0)(WLS_REPORTS)
RptSvr_myserverhost_Formsreportsinstan ( the 'old' reportserver, that isn't started and not available )
on Server in
C:\Oracle\Middleware\asinst_1\reports\server
there are two entries:
rep_wls_reports_wlog_formsreportsinstance_1.dat
and
RptSvr_myserverhost_Formsreportsinstan.dat
and in
C:\Oracle\Middleware\asinst_1\reports\
is in the reports_install.properties file :
SERVER_NAME=rep_wls_reports_wlog_formsreportsinstance_1
ORACLE_INSTANCE_NAME=Formsreportsinstance_1
INPROCESS_SERVER_NAME=rep_wls_reports_wlog_formsreportsinstance_1
what I have done, that can be the reason for now have two entries for reportsserver ?
In the last days i worked to create the windowsservices
to start the WLS_AdminServer and to start the WLS_FORMS / WLS_REPORTS
ManagedServer
and I changed the IP - Adress of the WLS - ServerHost, ( and back again )
but didn't create a new ReportServer ore anything !
what can I do, to fix this confusion ?Hello,
In 11g , there are 2 Reports Servers created by default :
- rep_wls_reports_myserverhost_formsreportsinstance_1
The "in-process" Reports Server . WLS_REPORTS must be started and you can start this "in-process" Reports Server by just calling an URL like http://server:port/reports/rwservlet/getserverinfo or by using the menu in the EM web site
- RptSvr_myserverhost_Formsreportsinstan,
The Standalone Reports Server . You can start it using opmnctl command or using the menu in the EM web site
Regards -
When you add a LUN to a an ASM diskgroup, does any process start internally
Version: 10.2, 11.2 on Unix/Linux platformsWhen you add a LUN to an ASM diskgroup, does any process start internally ?
Hello;
I'm thinking Oracle ASM may start a process to rebalance after a Lun is added.
http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmdiskgrps.htm
Best Regards
mseberg -
Connect to Oracle Discoverer window does not appear
Hi,
The Web based Oracle Discoverer 4i does not work properly on my system. I first connect my Microsoft IE to the URL. One the URL there is magnifier icon. Under this icon there is a lable of "Click the image above to start".
I click this icon and another window pup up. The top left corner of this window shows "Oracle Discoverer" title. Under this title bar are the menu items. The menu items are File,Edit,Sheet,tools, Graph & Help from left to right. The bottom left corner shows "Loading...". But the "Connect to Oracle Discoverer" window never pups up.
If I connect my browser to another URL I can get "Connect to Oracle Discoverer " window displayed and log into database.
What is wrong with my first server?
Thanks for help.
WallaceI'm only guessing, but I've had similar problems in a few cases with the Microsoft Java Virtual Machine. Try getting Discoverer to run with a different JVM, like Oracle Jinitiator.
Maybe you are looking for
-
Two separate enterprise WiFi networks in the same building
I work in a building that currently has Cisco controller based access points. The access points aren't managed by us and are actually part of another campus. We are given access to them but they don't work quite like we want them to. So we are wantin
-
Pplsft compIntf adapter: "XML Error: 1:1: Content is not allowed in prolog"
Hi All, I am using the peoplesoft component interface adapter in IDM 5.5 and IDM 6.0. I configured the adapter, tested it successfully and enterred the details to create and provision a user to peoplesoft. But whenever I click on the save button in t
-
Hi all, The client wants an Enhancement that was previously implemented Deactivated. As a functional consultant, what do I need to know about the Deactivation process, Or is this something that I completely leave for the ABAPer to do? Do I also need
-
How can I bulk delete contacts from my iPhone 4S? I've imported them from gmail and hotmail and there are many more than I need. Deleting them one by one will take ages, there must be a quicker way! Also, do contacts take up space on the phone or are
-
I can't seem to get a certin image file to be transfered using an HTTP-based Web server. The IO used to read the files is a BufferedReader and PrintWriter. The file is read using the readLine() method. Some of the images show up, and others wont. The