Oracle group by

Hi all!

I have a question I have seen a lot of conversation but it has come to the solution that I need, so if someone could give me a light I understand that!

The problem is: I do a query that returns values, but the column may not be on the GROUP BY clause. We will try to explain the cenario:

Suppose I have a registry table with this info:

Event_id Date GPS
* 01 21/10/2012 09:08:12 100 *.
* 02/22/10/2012 10:00:05 105 *.
* 05 19/10/2012 00:00:00 120 *.
* 03/22/10/2012 17:53:10 100 *.
* 01/22/10/2012 07:05:14 125 *.
* 01 21/10/2012 21:38:00 110 *.
* 02 18/10/2012 03:15:17 115. *

I would like to have the "most recent" registry of each GPS but also the event_id occurred in Ontario in this register.
If I use the query
SOME gps, MAX (Date)
TABLE
GROUP BY gps
ORDER BY gps
Can I get the result I want, but without the event_id
GPS date
* 01 07:05:14 10/22/2012 *.
* 02 10:00:05 10/22/2012 *.
* 03/22/10/2012 17:53:10 *.
* 05 19/10/2012 00:00:00 *.
I would like to have respectively the info
Event_id
* 125 *.
* 105 *.
* 100 *.
* 120 *.

But, if I put the column event_id on SELECTION, I must put on the GROUP BY which works it. If I do, the result I get is fairly identical to the table because of the different event_ids all, I have for each register.

Does anyone have an idea on how to do this?


In addition, I am using Oracle 11g

Thanks in advance,

Bruno.

Hi, Bruno.

Welcome to the forum!

Here's one way:

SELECT    gps
,        MAX (dt)          -- DATE is not a good column anme
                     AS max_dt
,       MIN (event_id) KEEP (DENSE_RANK LAST ORDER BY dt)
                     AS last_event_id
FROM      table_x          -- TABLE is not a good table name
GROUP BY  gps
ORDER BY  gps
;

What happens if the lines 2 (or more) with the gps even have exactly the same date? Maybe it's not possible in your table, but if this happens, then the query above wouold chose the lowest of the event_ids of the last date; That's what MIN (event_id) done.
For example, if it were your sample data:

GPS     DT                EVENT_ID
---     -------------------   --------
05      01/01/2012 00:00:00   102
05      19/10/2012 00:00:00   120
05      19/10/2012 00:00:00   121

There is for the last line. Both event_id = 120 and event_id = 121 have an equal claim that it is the last line. In this case, the above query returns 120 as the last_event_id, because it is the lowest number among the contenders. (Note that this is not the same as the lowest overall event_id. 102 is the event_id below, but it has no claim that it is the last line).

If you want to select all the contenders in the case of a tie (i.e., 120 and 121, considering the above data), then you could do soemthing like this:

WITH     got_r_num     AS
(
     SELECT  gps, dt, event_id
     ,     RANK () OVER ( PARTITION BY  gps
                           ORDER BY          dt     DESC
                    )           AS r_num
     FROM    table_x
)
SELECT    gps, dt, event_id
FROM       got_r_num
WHERE       r_num     = 1
ORDER BY  gps, event_id
;

Whenever you have questions, please post CREATE TABLE and INSERT statement for your sample data. Also post the exact resuolts you want from these data exactly as you want them to.
See the FAQ forum {message identifier: = 9360002}

Published by: Frank Kulash on October 22, 2012 15:40

Published by: Frank Kulash on October 22, 2012 15:46

Tags: Database

Similar Questions

  • Oracle group privileges

    Hello

    on my db 11.2 on Linux oracle user has this config group/id:

    UID = 1001 (Oracle) gid = 1002 (dba) groups = 1002 (dba), 501 (oradb), 1001 (oinstall)

    I created a/aa/bb of file system in which the Group extuser can read/write/execution.

    I added 1003 (extuser) to my oracle user so now the config is

    UID = 1001 (Oracle) gid = 1002 (dba) groups = 1002 (dba), 501 (oradb), 1001 (oinstall), 1003 (extuser)

    Now I use an external table with file preprocessor that simply retrieve the list of files, but oracle cannot read

    the content of/aa/bb because the process to reproduce by the external table does not contain the new group.

    I have alse bounce PB but nothing.

    In my file preprocessor, I put this command:

    / usr/bin/ID > /tmp/ext/test.txt

    / bin/ls t/aa/bb

    the contents of test.txt is:

    UID = 1001 (Oracle) gid = 1002 (dba) groups = 1002 (dba), 501 (oradb), 1001 (oinstall)

    but the id is:

    $ id

    UID = 1001 (Oracle) gid = 1002 (dba) groups = 1002 (dba), 501 (oradb), 1001 (oinstall), 1003 (extuser)

    Why?

    Hello

    Have you restarted the listener?

    Kind regards

    Rich

  • Confused with the Oracle group

    Hi all

    11.2.0.3.11

    AIX 6

    I'm new to this company to manage their existing database in which the administrator has left.

    I noticed their PROD has groups dba, oinstall.  But on their DEV, TEST, machines QAT does not oinstall group but only group dba.

    What I need to fix the DEV, TEST, servers QAT to add the oinstall group?


    Thank you

    MK

    Maria, if the current system works then it would seem that using oinstall is not an absolute requirement, but I suggest to future installations of the software according to the recommendations of the Oracle RDBMS.  I want my test and production environments to follow the same general implemented.   How many different houses Oracle are there in the test?  While the current environment is running, you should be able to install a new House and migrate databases from test to it at your leisure.

    - -

    HTH - Mark D Powell.

  • I got an error grid Infrastructure installation Oracle 11 GR 2 (11.2.0.4) for a stand-alone server on Oracle Linux 7

    I got an error grid Infrastructure installation Oracle 11 GR 2 (11.2.0.4) for a stand-alone server on Oracle Linux 7

    It's my environment:

    VM VirtualBox

    OS: Linux to Oracle 7

    RAM: 2G

    CPU: 1 outlet | 2 carrots

    OS packages for the needs of the DB: all except pdksh. (installed in ksh). Jut ignored.

    Oracle software version: 11 GR 2 (11.2.0.4) Oracle grid Infrastructure

    Installation type: SServer tandalone.

    The installation user: uid = 501 (oracle)

    installation groups: gid = 501 (oinstall) groups: oinstall, dba, oper, asmadmin, asmdba, asmoper.

    Put ASM implementation with Linux e/s Standard (No. ASMLib).


    The virtual machine has 3 disks attached.


    Features: / dev/sdb, / dev/sdc, / dev/sdd


    I ran to related records:


    # / bin / / dev/raw/raw1 gross/dev/sdb1

    # / bin / / dev/raw/raw2 gross/dev/sdc1

    # / bin / / dev/raw/raw3 gross/dev/sdd1


    # raw - qa

    / dev/RAW/raw1: linked main 8, minor 17

    / dev/RAW/raw2: linked main 8, minor 33

    / dev/RAW/raw3: linked main 8, minor 49


    Also, I have configured the following command to set permanent configuration:

    #vi /etc/udev/rules.d/99-vmware-scsi-udev.rules99-vmware-scsi-udev.rules

    ACTION == "add", KERNEL == "sdb1", RUN += "/ bin/raw/dev/raw/raw1 %N".

    ACTION == "add", KERNEL == "sdc1", RUN += "/ bin/raw/dev/raw/raw2 %N".

    ACTION == "add", KERNEL == "sdd1", RUN += "/ bin/raw/dev/raw/raw3 %N".

    # set permissions on these discs for the owner of the Oracle user.

    ACTION == "add" KERNEL == "" raw * ', OWNER is 'oracle', GROUP is 'oinstall' MODE is "0660" "


    NOTE: when I run # ls - lrt/dev/sd *, I - I don't know if the disks has permissions icies because they are on the way to access/dev/raw/raw *.


    BRW - rw-. 1 root disk 8, 16, 19 August 01:54 / dev/sdb

    BRW - rw-. 1 root disk 8, 17, 19 Aug 01:54 / dev/sdb1

    BRW - rw-. 1 root disk 8, 32 19 August to 01:54 / dev/sdc

    BRW - rw-. 1 root disk 8, 13, 19 Aug 01:54 / dev/sdc1

    BRW - rw-. 1 root disk 8, 48-19 August to 01:54 / dev/sdd

    BRW - rw-. 1 root disk 8, 49-19 August to 01:54 / dev/sdd1


    This happens whenever I restart the server.


    But authorities are good when I run # ls - lrt/dev/raw/raw *.


    CRW - rw-. 1 oracle oinstall 162, 0 19 Aug 01:54 / dev/raw/rawctl

    CRW - rw-. 1 oracle oinstall 162, 0 19 Aug 01:54 / dev/raw/raw1

    CRW - rw-. 1 oracle oinstall 162, 0 19 Aug 01:54 / dev/raw/raw2

    CRW - rw-. 1 oracle oinstall 162, 0 19 Aug 01:54 / dev/raw/raw3


    Problem: when running script $GRID_HOME/root.sh.

    Adding Clusterware entries to inittab

    ohasd could not start

    Cannot start the Clusterware. Last 20 lines of the trace log alert:

    2015 08-19 02:15:24.442:

    [client (7260)] CRS-2101: the RSC has been formatted using version 3.

    2015 08-19 02:15:28.238:

    [client (7283)] CRS-1001: the OCR has been formatted using version 3.

    ohasd could not start /u01/app/oracle/product/11g/grid_1/crs/install/roothas.pl 337 line, line < ALERTLOG > 4

    failed execution of /u01/app/oracle/product/11g/grid_1/crs/install/roothas.pl of the/u01/app/oracle/product / 11 g/grid_1/src/install

    Please help me.

    Geraldo Peralta

    Using RAW could be the problem. I'm not sure someone who has used Virtual Box with raw disks for their RAC testbed. Most people use ASM. I've seen a few people use NFS as well. You'll also want to stay away raw because that which is frowned upon in 11.2. See http://docs.oracle.com/cd/E11882_01/install.112/e41962/whatsnew.htm#RILIN931

    Under the Options deprecated for Oracle RAC 11 g Release 2:

    "Installation of files on raw devices is no longer an option available during installation. You must use a shared file system, or using Oracle Automatic Storage Management. »

    Here's how to configure RAC on my laptop with Virtual Box: http://www.peasland.net/2015/04/23/oracle-rac-on-my-laptop-with-virtual-box/

    HTH,
    Brian

  • I forgot system password Oracle 11 g r2

    A way to recover the sys password in oracle 11 g r2

    Oracle linux 6.6

    ReemaPuri wrote:

    A way to recover the sys password in oracle 11 g r2

    Oracle linux 6.6

    NO, not possible & unnecessary

    [oracle@localhost dbs] $ id

    UID = 500 (Oracle) gid = 500 (oracle) groups = 500 (oracle)

    [oracle@localhost dbs] $ sqlplus / as sysdba

    SQL * more: Production of the 11.2.0.2.0 version Sat Jun 20 10:54:38 2015

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > show user

    The USER is "SYS".

    SQL >

  • All files generated by a coil in sqlplus receive ownership of oracle: dba instead of the user of the BONE started sqlplus and run the script. There's a file with users owners of BONES of the coil.

    All files generated by a coil in sqlplus receive ownership of oracle: dba instead of the user of the BONE started sqlplus and run the script. There's a file with users owners of BONES of the coil.

    Script launched in until OS user 'A' on the 'A' server which launches sqlplus, then connects to a remote database through a service of tnsnames.ora as another user of the database and the results of this script are spoulées on the server "A".

    The file queued on the old server is written with rw-rw-r: read write user, group read the writing, reading and possession header that is the user of the OS. The file queued on the new server is written to rw-r-r user: reading writing, reading group, public reading and ownership oracle: dba.

    "" The user then has no privileges to modify the file and continue the process of transmitting the file, editing and deleting the file for the next set of commands. This allows us to keep the possibility to migrate to the new server we are unable to process orders.

    $ORACLE_HOME/bin/sqlplus - s user/password@prd1 @./script/CustomScript/R12_OM_UFPC-oracle.sql

    Background: old server running 4.8, Oracle 10.2.0.4 OEL

    New server running OEL 6.5, Oracle 11.2.0.4

    Tested so far:

    File and update umask to 0002 instead of 0022 is now generated as rw-r-r. However, the property is still oracle: dba.

    Update of ownershipt of $ORACLE_HOME/bin/oracle.exe of oracle: oracle (edi added the user to the oracle group) and chmod 6751 oracle.exe. This created several problems where crucial scripts, that is to say of sqlplus failed to run.

    Added! chmod 755 output.file.name - OS user 'A' is not allowed to change to mod.

    Added! command cp MV output file and that generated the file as a user of the operating system: oracle. It is a potential work around in case of emergency, but the developer would have to rewrite the countless scripts.

    Any ideas?

    I have reproduced the behavior of the old server and am able to spool a file via sqlplus under OS user. No changes have been made on the remote database server. All the changes have been on the new server hosting a small 11.2.0.4 database on a server running OEL 6.5 32 - bit OS.

    (1) removed the sticky bit $ORACLE_HOME/bin/sqlplus using chmod u-s, g-s, o - s suggestion of Billy ~ Verreynne

    (2) modified the main group for the 'oracle' user match the user operating system applications, while maintaining membership in the groups 'oracle' and 'dba '.

    -We are dealing with here EDI processes, so the Group was called edi.

    (3) modified property of the files tnsnames.ora and listener.ora for oracle: edi

    (4) restart the receiver

    (5) disconnect / reconnect

    Script runs as expected, the output file contains the correct ownership and permissions.

    Thank you all for taking a look and offering options.

    -Josh

  • The link for the last group of fixes for 11.2.0.3.0 64-bit windows

    Hello
    Platform: windows 64-bit
    Oracle 11.2.0.3 database

    Successfully, I have improved my 11.2.0.1.0 to 11.2.0.3.0 oracle database and the upgrade worked fine.
    I installed the 11.2.0.3.0 in a new oracle home.

    Now, my task is to install the latest version of the patches on the oracle group new home (make sure database up to date with the latest patches, in fact).
    I'm confused with the available documentations in my oracle support.
    CPU is now regarded as a subset of patch of the PSU, I think I must apply the last power supply only. Is this correct?
    Is there a step by step guide to apply the latest patch? I saw there are 5 PSUS out (plus late 11.2.0.3.5), do I have to apply each of them or just the final?

    Please give me the latest available patches/patch(Still not clear) installation guide group and links to download latest patch available.

    Thanks a lot for all the help so far through its forum... its so useful and I thank the people who make quick responses.

    PL see if this Doc MOS can help you

    Oracle database, networking and grid Agent Patches for Microsoft [161549.1 ID] platform

    HTH
    Srini

  • Integrated Oracle database reports space usage out bad results?

    Hi members,

    I use GC 11g OEM. I created a group with 6-7 members.

    I generated built-in reports "Area of database using Oracle (Group)".

    -J' I note the sum of the current size (GB) / section "Use of space allocated by database" is equal to allocated (GB) / section "use of the current Cumulative space '... I consider that the data are correct. Current size allocated: 2, 3 to and used size to 1.8.

    Good news... BUT the picture is FAKE! and does not match this amount:
    On the chart allocated size (GB) is equal to 2 TB and used size (GB) is equal to 1.6 TB

    question 1: why such a difference?

    -Use of space allocated by database:
    Current database average maximum minimum
    Size (GB) used for free (GB) (GB) used (%) Size (GB) used for free (GB) (GB) used (%) Size (GB) used for free (GB) (GB) used (%) Size (GB) used for free (GB) (GB) used (%)
    INSTANCE1. PRD 1,085.77 895.14 190,63 82.44 898.63 1 085,67 187,04 82.77 898.63 1 085,67 187,04 82.77 898.63 1 085,67 187,04 82.77
    INSTANCE2. PRD 245.14 190.44 54.7 77,69 238,58 183.1 55,48 76,75 238,58 183.1 55,48 76,75 238,58 183.1 55,48 76,75

    2nd question: results are BAD = > section/size (gb) current is superior to section/size (gb) maximum?
    How to explain?

    Thanks for your comments.

    Best regards
    Guillaume

    Hi William,.

    1 - my diagram of db group is, with the correct values. Why it's different in your case I don't know. You do not have the latest installed SGD patches?
    2. same here. I some cases, max db size > current size, but it doesn't really bother me, since I barely use this report. You can check the calculation to help to create it as an option on the report of the "space of database using Oracle (Group)"

    Eric

  • Fact Eve DataGuard between (Source site) 11.2.0.3.0 and (target site) 11.2.0.4.0 taken in charge?

    Hello gurus

    Fact Eve DataGuard between (Source site) 11.2.0.3.0 and (target site) 11.2.0.4.0 taken in charge?

    My environment:

    Site source OS: RHEL 5.6 Database: v11.2.0.3.0

    Target site OS: RHEL 7.1 Database: v11.2.0.4.0

    The database size is 100 GB

    What about

    Hitgon

    As I mentioned, again the DG transport and apply the will to work in mixed versions. But it is not supported by Oracle for longer period. When I say not supported which means lets say if you hit any bugs in mixed environment associated with DG, then you can't get a support to connect to a new bug... etc... However, mixed versions are supported bby Oralce for 30 days. This is because any time the migration/upgrade that you can keep primary and standby in different versions.

    For more details refer,

    1.

    search for lines,

    The maximum length supported for different database software house between primary and Nightlight is 31 days.

    Insurance of Patch Oracle - Data Guard standby-first Patch applied (Doc ID 1265700.1)

    2. with regard to Cloud Control Support.

    SUBJECT: Set up and manage Oracle DataGuard, using Oracle Enterprise Manager Cloud control 12 c

    search for "the obligation for the Oracle software is stricter. The Oracle software must be the same version - including the release of the patches Oracle group. »

    Set up and manage to Oracle Data Guard with Oracle Enterprise Manager Cloud control 12 c

  • Test of UDEV for RAC installation

    Hi all

    I'm using ORACLE 11.2.0.3 installation on RHEL-6, 7 (VM servers).

    I use UDEV rules to configure Oracle ASM disks.

    Added RULES look like:

    KERNEL == "" dm-* ", ENV {DM_UUID} is"LVM-BQ7wyULgkzlAdxsaVzfLSW4IvTRdzcPogYFqbiQwhDMdPaNXbjr4fOQAyWoRoUNT", NAME ="OCRVOTE1"OWNER = 'oracle', GROUP ="oinstall", MODE ="0660""

    When I test UDEV scene, I found ID_FS_TYPE = ext4 instead of ORACLEASM. You can guide me why this happens and how to solve it.

    udevadm_test: DM_VG_NAME = VG_DATA

    udevadm_test: DM_LV_NAME = lv_ocrvote1

    udevadm_test: DM_LV_LAYER =

    udevadm_test: ID_FS_UUID = bbd537c2 - 9 c 90-4276-aac0-b45049ed273b

    udevadm_test: ID_FS_UUID_ENC = bbd537c2 - 9 c 90-4276-aac0-b45049ed273b

    udevadm_test: ID_FS_VERSION = 1.0

    udevadm_test: ID_FS_TYPE = ext4

    udevadm_test: ID_FS_USAGE = file system

    udevadm_test: LVM_SBIN_PATH = / sbin

    udevadm_test: .ID_FS_TYPE_NEW = ext4

    udevadm_test: UDISKS_PRESENTATION_NOPOLICY = 1

    Kind regards.

    Resolution to receive for it.

    He showed ext4 as the storage provider has mounted a RAW partition with ext4 filesystem.

    Now its done and seems very well and after the installation of its display

    udevadm_test: ID_FS_TYPE = oracleasm



  • Doubts about rawdevice in 11 GR 2

    Hi gurus.

    my version of oracle is 11.2.0.2.0 and at the rac.

    one of my diskgroup had filled, so I was in a situation to add disks.

    As asmlib is installed in my knots, I checked for any askdisks that is already exist

    [root@racdboem001 ~] # /etc/init.d/oracleasm listdisks

    [root@racdboem001 ~] #.

    oracleasm listdisks-> it is not given to any output.

    later through the asmca, I am able to add newly created disks. Alert log entries is given below

    SQL > ALTER DISKGROUP DATA add DISK ' / dev/xvdj1 "SIZE M 14653,.

    ' / dev/xvdj2 "SIZE M 14653,.

    ' / dev/xvdj3 "SIZE M 14653 / * ASMCA * /.

    Somewhere I red that, if we want to configure a raw device instead of asmlib configure ASM, we have to configure those drive in the/etc/sysconfig/rawdevices file and later we need run the service rawdevices restart

    Here is my file

    [root@racdboem001 ~] # cat/etc/sysconfig/rawdevices

    raw device bindings #.

    # format: < rawdev > < major > < minor >

    # < rawdev > < blockdev >

    example #: / dev/raw/raw1/dev/sda1

    / dev/raw/raw2 # 5 of 8

    [root@racdboem001 ~] #.

    In my configuration rawdevices file have no adjustments, How to change disk group will work?

    I thank in advance for any help

    Concerning

    Mahi

    Hi Manon,.

    That's absolutely correct, you mustn't rawdevices them or configuration of stamps. However, you will need to add the following line in the rules file to ensure that they will have the permission after the restart udev:

    CORE is "[1-3] xvdj", OWNER = 'oracle', GROUP is "dba", MODE = "660", ACTION is "add |" change '.

    To ensure that they will be picked up after the next startup, you must change the asm_diskstring. What I usually configure asm_diskstring for read all devices, like that/dev/xvd *.

    ALTER system set asm_diskstring = "/ dev/xvd *;

    By making these two changes your newly added records will have the appropriate permissions and ASM will be able to find them after the next startup.

    I would like to know if it is not yet clear.

    Kind regards

    EVS

  • ASM Configuration prior to installation of Network Infrastructure

    Hello

    I want to install a network infrastructure for a stand-alone server 12 c on a virtual machine, it is a first installation, no front installed Oracle software.

    My problem is on the third screen of the Installer (create the ASM disk group), I can't view the ASM disks and the preinstallation process is not clear to me.

    I defined the systems files/U02, /u03, /u04 and /u05 with the oradata and recovery_area directories (oracle: oinstall) for each /u0 * and I want to use them with the DSO.

    I installed the oracleasm-support and oracleasmlib packages, I executed oracleasm configure with parameters of dba (Group) and oracle (user).

    Question 1: I need to run init oracleasm (with default settings) to create the/dev/oracleasm before launching the installer of the grid?

    Question 2: I run oracleasm createdisk before launching the installer of the grid?

    Question 3: What is the proper syntax for the parameter createdisk command 2nd (/ u02, / dev/map/VG_ORA-lv_u02, / u02/oradata,...)?

    Thank you

    Daniel

    Hi Daniel,.

    There is a lot of confusion here.

    ASM is just another Manager file system offering you a more simple and flexible LUN management. Basically, you choose to transfer your database in the file system (/ u01, / U02, oradata, recovery_area) OR if you choose to use the DSO. If you choose to use the DSO, you must create the ASM diskgroup before installing your database. As you mentioned as part of the installation you need to 'discover' the ASM disks and create the first disk group where the DSO Server settings file is kept.

    To do this you have need of screening to the ASM one or more LUNS that are owner by user oracle. Lets assume you want to create two groups of DATA and FRA disks and make your databsae to use. If you use a virtual machine, you need to create more than two disks. Once you do that you have to idetify them, they will be discovered under/dev/sdX. On the same, you must create a partition to fill the entire disc (fdisk/dev/sdX, n for new, p for primary school, 1 to the first disk, and then you press ENTER twice, finally w for write). Finally, you need to make the new owner devides/dev/sdX1 by oracle (oracle: oinstall/dev/sdX1 chown).

    At this point, you should go back to the installer and change the string of disc asm/dev/SD * 1, this will make ASM read all the first partition of all the/dev/disks in sd. Then, you select the disks that you want to use for the default disk group. This can be repeated for the rest of the disk group you want to create using asmca (asm Setup Wizard) or simply using SQL command.

    oracleasm is the ASMLib that was used as a layer of abstraction to make sure that the device files will always have the correct permissions. Nowadays, making using udev as follows:

    Cat > /etc/udev/rules.d/99-oracle-asm.rules

    SUBSYSTEM is 'block', KERNEL is "sdf1", NAME = "asm_data01_disk1", OWNER: 'oracle', GROUP =: = 'dba', MODE: = "660".

    When you start this matches the device to/dev/sdf1 file and create an other device file under/dev/asm_data01_disk1 with permissions oracle: dba

    Hope this helps, but it's just too much information.

    Kind regards

    EVS

  • Download 11.2.0.4

    Hi all

    I am downloading from 11.2.0.4 and it's size 7.3 GB. I understand that some of them are not database like OEM grid control.

    I want only the database components. Which of the following statements is this? Thank you

    11.2.0.4.0 PATCH SET FOR ORACLE (Group of hotfixes) DATABASE SERVER

    p13390677_112040_AIX64 - 5L_1of7.zip1.7 GB

    p13390677_112040_AIX64 - 5L_2of7.zip1 1 GB

    p13390677_112040_AIX64 - 5L_3of7.zip2. 0 GB

    p13390677_112040_AIX64 - 5L_4of7.zip996.5 MB

    p13390677_112040_AIX64 - 5L_5of7.zip851,6 MB

    p13390677_112040_AIX64 - 5L_6of7.zip543,3 MB
    p13390677_112040_AIX64 - 5L_7of7.zip215,4 MB

    Hello

    If you only wan't database without grid then download part 1 and 2, if you want to install the grid infrastructure before the database software, you also need to part 3.

    p13390677_112040_AIX64 - 5L_1of7.zip-> database software part1

    p13390677_112040_AIX64 - 5L_2of7.zip-> database software part2

    p13390677_112040_AIX64 - 5L_3of7.zip-> grid infrastructure software

    Kind regards

    Ivica

  • location of the file tnsnames.ora and Listener.ora

    Hello

    env: Oracle 11 g 2 - Orable Linux 6.2 64bits

    I set up a database for the client server. I installed IM and the House according to the standards of the Oracle RDBMS. Then I configured the listener to run BOF IM home. If the location of the 'ora, tnsnames' and 'listener.ora' files is $GI_HOME/network/admin.

    Customer's DBA is asking me to conform to the standard for the location of these two files. Here's what he asked for:

    / opt/oracle/owner = oracle, group = s/n (755 permissions)

    / var/opt/oracle owner = oracle, group = s/n (755 permissions)

    • -touch /var/opt/oracle/listener.ora
    • -touch /var/opt/oracle/tnsnames.ora
    • -chown oracle: dba /var/opt/oracle/listener.ora
    • -chown oracle: dba /var/opt/oracle/tnsnames.ora
    • -s /var/opt/oracle/tnsnames.ora /etc/tnsnames.ora ln
    • -s /var/opt/oracle/listener.ora /etc/listener.ora ln

    I'm completely lost here. I don't know if I'm moving these two files in the folder "/ etc", how the LISTENER know about the presence of these files in ' / etc '.

    His reason for this is to support the possibility of having several houses of Oracle's RDBMS. I don't know what he's talking about.

    Please notify.

    Best regards

    user130038 wrote:

    Thanks to you two!

    So basically this DBA do not like to follow standards of Oracle but his own.

    BINGO!

    What is the problem with the help of $ORACLE_HOME/network/admin for these two files if there were several homes of oracle on a server? Sorry I never got to work on a server with multiple oracle homes, so I have no idea.

    The 'standard' with several houses installation is to run the listener from the version the most recent House.  If all of the houses are of the same version (putting aside the question of 'why'), then just pick one that is going to be home for the listener.  If the installation program uses the Grid Infrastructure (ASM and/or Oracle Restart), you must run the listener from the House of IM, not House the database.

    There are some key things to consider here.

    1. the auditor is to receive and process applications for connecting customers.  This is why the listener has no meaning on the Server.  Similarly, its configuration file, listener.ora, only makes sense on the server.

    1a. a single listener, using the default name of the LISTENER and the unique default port of 1521 is quite capable of--indeed, we wanted to - several multiple databases editions of multiple service homes.

    2. the tnsnames.ora file provides a name resolution and address customers.  So it has the sense that on the client computer.

    2. when a database uses a db link to access a different database, the first database acts as a client to the second - as with any other LDAP client.

    Best regards

  • E.M.P. 11.1.2.2 Installation issue on RHEL6 64-bit

    Hi all

    IAM EMP 11.1.2.2 on RHEL6 64-bit server installation

    When Iam by running the installer, I get the following error

    EPMINS-01072: you have read only access to the inventory of the oracle

    Note: I installed oracle 11 GR 2 (11.2.0.3) on the same server, but its in another directory

    I have explored the issue and found that on the oraInst.loc file permissions should be assigned after even the assignment of permissions still the problem exists.

    Could someone please guide me if they were facing the same error.

    Thanks in advance,

    RAM

    Hi John,.

    Thanks for the reply.

    I tried adding the user installation of Hyperion to oracle group, but it did not work.

    I have him granted the permissions in the oracle root directory and and all of its subfolders, then the problem has been resolved. (app/u00) was the directory where I've provided the permissions and also for all the sub directories as well.

    There were several oraInst.loc files in the directory and giving individual permissions for this file did not resolve the issue.

    Thank you

    Thank you

    RAM,

Maybe you are looking for

  • E4200: Computers wireless sporadically lose the signal strengths

    After 1 day, the icon of connection on some computers begin to show 2-4 bars instead of the 5 bars of origin. This could be the cause? and how to fix it? Thank you.

  • video and game drivers missing in my system device manager

    Hello, I have a computer laptop sony vaio with operating system Windows Vista home premium original on it. The problem I m dealing with, it is that my video drivers and game are missing. When I go to System-Device Manager and expand the sounds, video

  • Inspiron 620, Windows 7, no sound

    I bought a new dell speakers for my office. My computer not a year old yet. They work now they do not. I hear static when I move the plug in and out of the port and that's it. I had connect tech with ATT works on what they cannot very well the proble

  • He can get wav to play from the SD card in the sim

    For some reason any my .wav will play only a simulated SDCard but not where I stored it in the res folder. It works ______________ public void playSound(). try { String filename = "file:///SDCard/Blackberry/tink.wav"; A player = javax.microedition.me

  • Navigation within graph

    Hi allWe are on OBIEE 11.1.1.7.150120. I have an analysis where I use selection steps. Basically, we are interested in some accounts of expenditure and to draw these accounts against time/variance etc. These accounts are part of the hierarchy H1.So,