Question of Exadata ORACLE_HOME

Hello
I would like to know if there is a best practice concerning ORACLE_HOME exadata machine.
If we have 3 databases on the quarter molding machine.
a database will serve as a staging database.
The second will serve as a database
the wire we use repository.

A question:
============
I would like to get your advice if I should have only a single ORACLE_HOME for all 3 the RDBMS
or ORACLE_HOME have for each of them.

Second question:
============
Regarding ASM disk groups, do I need to create only one disk group named DATA for example, or for each database to its own diskgroup

Best regards

Hi Yoav,

I should have only ORACLE_HOME for all 3 the RDBMS
or ORACLE_HOME have for each other?

Use an ORACLE_HOME to your dbses. Just to keep things simple.
BTW current Exadata of deliveries by FAC have the following oracle homes.

/U01/app/11.2.0.3/grid
/U01/app/Oracle/product/11.2.0.3/dbhome_1

..

Should I have a single disk group named DATA for example
or to have to each its own diskgroup database?

By default, ACS will create DATA, RECO and groups of disks just DBFS_DG you put data in DATA files and use IORM to control the use of resources
between databases.
Concerning
Tycho

Tags: Database

Similar Questions

  • What is the effective available disk space in exadata

    Hello
    Greetings of the day,


    Is below correct understanding?


    There are 7 items in a machine half rack and are all copies mirror of the other, if the effective storage space = space in a single cell.

    Even if we have a normal redundancy in each cell, then effective the whole exadata storage space will be half of the disk space in the cell.


    Is there a rule that all cells must have equal disk space?


    From the perspective of the DSO.

    Is there a rule like all the all fails it (2 or 3 depending on the level of redundancy) groups must be of equal size with a disk group?

    Hi udayjampani.

    My Oracle Support Community, covering all related support questions about EXADATA is available under: https://communities.oracle.com/portal/server.pt/community/exadata_general/360

    Have you ever visited the community to share, learn, share and get answers to your support issues?

    The answer to your questions are available on My Oracle Exadata Support community
    https://communities.oracle.com/portal/server.pt?open=514&objID=224&mode=2&threadid=429976&aggregatorResults=T429976T429910T426835T426876T422126T424767T422172T415389T420356T416710&sourceCommunityId=360&sourcePortletId=268&doPagination=true&pagedAggregatorPageNo=1&returnUrl=https%3A%2F%2Fcommunities.oracle.com%2Fportal%2Fserver.pt%3Fopen%3Dspace%26name%3DCommunityPage%26id%3D23%26psname%3DOpener%26psid%3D22%26cached%3Dtrue%26in_hi_userid%3D173523%26control%3DSetCommunity%26PageID%3D0%26CommunityID%3D360%26&Portlet=All%20Community%20Discussions&PrevPage=Communities-CommunityHome

    If you have not used the My Oracle Support Communities before, please watch this video memory (2 minutes) to help you quickly understand the advantage at your disposal.
    http://bcove.me/rvjqwdn5

    At your service,

    Dave M.

  • Exadata characteristic and execution of study plan

    Hi all

    I have questions about Exadata functionality.
    We have meet a performance problem in the current system and to improve the system. We are studying how much benefits that Exadata can give.
    After reviewing the daily execution of the SQL statement, we find that there is certain amount of "index range scan", operation "index full scan" (from execution plan). Exadata helps these operation (e.g. smart scan)? On the other hand, it is that all execute SQL (for example the full table scan) can be advantage in using Exadata?

    Thank you and best regards,
    M.T.

    903714 wrote:
    Dear christian Christmas Pal Singh,

    Thanks for your information.
    Currently, the SPA is not available for evulation. It is any document describe what type of operation (e.g. Index scan interval, scan of table full) Exadata eligible in terms of performance?

    Kind regards
    M.T.

    Yes, you can have simulation setting CELL_OFFLOAD_PLAN_DISPLAY to always. With this setting at the level of the session we could see change explain the plan, such as optimizer would think exadata is available.

    Please note that oracle would not recommend to use/infact analyzes all your indexes in Exadata, because by FTS is much more effective in Exadata. Once you have moved your application to Exadata, you apply main index in INVISIBLE mode and the benefits you get (there would be huge :)).

    Also check
    http://Antognini.ch/2010/04/Exadata-storage-server-and-the-query-optimizer-part-1/

  • Refresh your EBS 11i to R12 on Solaris 10.

    Hi all,

    My environment is to have DB-9.2.0.8.0/R11.5.10.2.0 on Solaris 10 - 64 bit.

    You will need to update to DB-11.2.0.3.0/R12.1.3.

    My plan is to upgrade of Database 9i to 11 GR 2 directly according to the following documents of the oracle portal.

    Interoperability Notes Oracle EBS 11i with Oracle Database 11 g 2 (11.2.0).) (Doc ID 881505.1()

    Refresh your application 11i to R12 according to the below documents oracle portal.

    Guidelines for preparation of databases for an upgrade of the E-Business Suite 12.1 output (Doc ID 761570.1()

    Oracle E - Business Suite Guide upgrade: Version 11i release 12.1.1, part number E14010-01

    I can able to upgrade DB from 9i to 11 GR 2 directly, which will create 11 GR 2 oracle_home, even while improving 11i to R12, it will create 11 GR 1 material oracle_home. Which the database oracle_home, that should be used to upgrade R12?

    Thank you and best regards,

    Smocky

    My question is what oracle_home of database we must consider to upgrade R12? and what about another an oracle_home?

    When you run a quick installation, please provide details of the 11.2.0.3 already set to day/install ORACLE_HOME.

    For 11 GR 1 ORACLE_HOME material that is installed by a quick installation, please see (how upgrade Oracle E-Business Suite 11i 12.1.1 to and keep the existing Database 10 g? (Doc ID 1345020.1)).

    Thank you

    Hussein

  • Exadata general patching question

    Hello.

    We currently have many 11 GR 2 (11.2.0.3). DBs (CAR & no RAC) running on different platforms RHEL and Solaris.  We have recently acquired both full quarter RACK Exadata X 3 machines.  "Due to limitations, these X3s are no gateways installed to ' auto-patching", then we will do it ourselves.  In the past, we have always exercised quarterly processors (compared to power supply).  Aside from the issue of the PSU against CPU (my management has buy in approach of power supply of 100% - I have already recommended), I have the following question.  With Exadata, I'll still be able to apply only the central units or I have to go immediately to the application of power supplies.  Wqay one or another ask can you still apply just to processors to Exadata (server, storage, etc.)?  Thank you.

    Matt

    Hi Matt,

    I have only applied patches full bundle and never did a partial correction of the WAD.

    The Readme file that accompanies the patch bundle doesn't explain how to apply the complete bundle as well.

    The concept of engineered systems should have standardized levels of patch on a basic installation of the software for ease of support.

    I fear that Oracle do not offer you the choice in bundle packs.

    Kind regards

    Tycho

  • 10.2.0.4 to 11.2.0.1 reclassification; a fundamental question about ORACLE_HOME

    Operating system: Solaris 5.10

    I did only the updates of the Group of hotfixes. It is the first time that I do a upgrade version to another.

    That's what I heard in ID 429825.1.

    To upgrade a 10.2.0.4 DB to 11.2.0.1

    Step 1. Install 11.2.0.1 (software only) in a separate House

    If my current 10.2.0.4 ORACLE_HOME is /u01/app/oracle/product/10.2.0/db
    then install 11.2.0.1 software in /u01/app/oracle/product/11.2.0/db

    Step 2. Run utlu112i.sql and solve all the problem mentioned in the output

    Step 3. Stop the db 10g

    Step 4. Copy the new file inti.ora with the new 11g setting in the ORACLE_HOME/dbs 11.2

    Step 6. Set ORACLE_HOME as a new ORACLE_HOME 11.2

    Step 7. set the ORACLE_SID for 10g DB and starts in UPGRADE mode
    startup upgrade pfile=11g_R2HOME/dbs/init.ora
    8. Run 11gR2_home/rdbms/admin/catupgrd.sql


    My question concerns step 6. How can you start a 10.2.0.4 DB after you set the ORACLE_HOME a 11.2 House?

    The previous poster, exactly gave you the best recommendations.
    regarding your question on step 6 (maybe 7 or you meant) so the answer is that you start up using 'upgrade', not normal mode. You are starting/editing the 'old' database of version under the new oracle_home/binary software and do the scripts (catupgrd.sql) special to upgrade the database itself. Saying in other words, start upgrade is not startup, it opens a database in a special mode

  • Client Oracle / 10 g ORACLE_HOME / very basic Question

    Hi all

    I am a little bit confused about something for installating the Oracle DB and his Client on the same computer, Windows (Vista Business, 32-bit).

    In the release notes, it is said (4.3), you can install the Oracle Client in the House of the same version as the database.
    In the installation instructions, it is said, • "You must install the Oracle database Client in a new Oracle Directory." (Article 3).

    FIRST QUESTION: OK even if the notes of publication wins installation, I'm assuming (am I right here?) you CAN install the client in a separate House?

    During the installation of the database, there is an instruction to create the ORACLE_HOME environment variable. This is repeated in the installation of the hotfix. When I installed the client - in a separate House - UI deleted environment variable because "is not necessary for all Oracle products."
    (I realized after the fact that the installation of the database and the client before installing the patch would have been better.) SO-

    SECOND QUESTION: Should I create the ORACLE_HOME environment variable. and if so, for which the House, when I install the patch for the customer?

    Thank you

    Edited by: DonnaF May 21, 2009 10:50

    When you install the client, yes it's true, it must be installed in a separate Oracle home. The only reason why I found to justify the installation of Oracle client under the same roof of Oracle RDBMS is due to the availability of administrative tools. In previous versions (9iR2) when the installation took place he installed Oracle Enterprise Manager as well as the RDBMS Oracle Home. From 10 gR 1, Oracle Enterprise Manager (thick java client) is no longer installed with the database, but if you need to install it, you need not create a separate Oracle home.

    Now why you want to install the OEM heavy customer when DBControl EM is available in 10g? The reason because if you want to use Oracle streams, those can not be set in EM DB control, as well as the for replication option, it is not available in EM DB control. So you will need to install the client. One more reason? If you ever plan to set up Enterprise User Security and virtual private database, then will need you the tools to manage the E.U.S. and the OPM (Oracle Policy Manager). Those that are available only in java heavy client mode.

    So, if you don't need these administration tools, and you don't plan to use, you can perfectly live with the RDBMS as is.

    * ~ Madrid *.
    http://hrivera99.blogspot.com

  • ORA_CRS_HOME, ORACLE_HOME and ORACLE_BASE - newbie question

    Hi all

    I am trying to package for Oracle logs according to the DOC ID ID 330358.1. There it says I need set the variables listed (I use Windows). I use 11 GR 2 and I was wondering if anyone would be able to confirm what I think are below:

    ORACLE_HOME - E:\app\oracle\product\11.2.0\dbhome_1
    ORACLE_BASE - E:\app\oracle
    ORA_CRS_HOME - now, I have the grid installed in a separate folder, so I think it's E:\OraGrid\crs, but I may be wrong

    Thank you

    Hello

    For windows system, you can get the CTE BASE, ORACLE_HOME, the registry HKEY_LOCAL_MACHINE--> software--> Oracle

    See you soon
    FZheng

  • The ASM diskgroup in exadata space question

    All,

    I have an environment exadata 1 CCR node with 3 knots of strorage.

    My RECO ASM diskgroup is constantly showing the problems of space... Always higher than 80%.

    I just want to get a Board if I can remove mirroring and recover the space... Even though I know that the result of the deletion of the mirroring...

    Can I reduce the diskgroup RECO and create an another diskgroup?

    I want just a few ideas to do this without great risk involved...

    You may want to consider these MOS notes for more information on resizing the griddisks:
    Resize diskgroup without downtime to Exadata (Doc ID 1272569.1)
    How to resize the disk drive/grid ASM in environment Exadata (Doc ID 1245494.1)

    As others have mentioned, there is no way to change the level of redundancy in ASM, so you need to delete and re-create the diskgroup if you want to change to redundancy. We strongly discourage the use of EXTERNAL with Exadata redundancy.

  • Question about a type of file being created in ORACLE_HOME/dbs

    DB version: 11.1.0.7.0

    Operating system: aix 6.1

    The directory ORACLE_HOME/dbs, as well as spfiles, password file, I can do with the file naming
    hc_<instance_name>.dat
    What is this file?

    Directly from MOS: what is the $ORACLE_HOME/dbs/hc_.dat file? [390474.1 ID]

    It is a file used for the verification of health monitoring.

  • questions of ORACLE_HOME

    After you set the oracle_sid, I get the message 'undefined home oracle'.av doing everything possible I still get the same error message what can I do?

    905049 wrote:
    thnks ed.am really new to say forum I understand better now.afte is message d. I went tru say process: d start > computer > properties > advanced > environment variables > variables system and then I added my oracle_sid with its value as a ocp10g after this

    I went back to the command line to type: emctl start dbconsole .i had this message:

    OC4J Configuration problem. C:\oracle\product\10.1.0\db_1/OC4J/J2EE/OC4J_DBConsole
    localhostocp10g not found.

    After you set say msg to be sure that oracle_sid I typed: set oracle_sid = ocp10g but I've always had d same msg

    So have you checked if this directory (C:\oracle\product\10.1.0\db_1/oc4j/j2ee/OC4J_DBConsole_localhost_ocp10g) exist?

    I bet that's not.

    And I bet this isn't because you have never successfully configured your dbcontrol.

    And I bet that since you never gave your server directory listed after j2ee includes 'localhost' a real name in the hosts file...

  • Datapatch on the new empty container (CBD, exadata 12.1.0.2) database returns the error state of the PDB.

    I created a new CBD CAR empty database on a cluster exadata using an ORACLE_HOME (12.1.0.2) which has been patched with patch latest bundle.

    I ran the datapatch utility to apply these patches to the container before any new APB to a database that is already patched the cloning.

    However, datapatch first correctly identifies adjustments but it fails on a prereq error:

    DINVCDB:Oracle@dev-EXD-dbadm01:~/DINVCDB > datapatch

    Remedial tool version 12.1.0.2.0 SQL kill him Dec 22 21:14:15 2015

    Copyright (c) 2015, Oracle.  All rights reserved.

    Connecting to the database... Ok

    Note: Datapatch will only apply or rollback SQL fix for PDB

    that are in an open State, no patches will be applied to the closed PDBs.

    Please refer to the Note: Datapatch: database 12 c Post Patch SQL Automation

    (Doc ID 1585822.1)

    Determine the current state...

    Adding patches to the installation queue and execution prereq checks...

    Queue the installation:

    For the following PDB files: PEH$ ROOT APB$ SEEDS

    Nothing to roll back

    Apply the following patches:

    21555660 (database 12.1.0.2.5, consisting of virtual machine Java of Oracle (Oct2015) power supply)

    21694919 (DATABASE PATCH BUNDLE: 12.1.0.2.13 (21694919))

    Error: failure of prereq cheques!

    patch 21555660: pluggable databases that need to be patched should be in upgrade mode

    PREREQ check failed, out without having to install patches.


    Please refer to 1609718.1 Note MOS and/or the log of the invocation

    /U01/app/Oracle/cfgtoollogs/sqlpatch/sqlpatch_11932_2015_12_22_21_14_15/sqlpatch_invocation.log

    For more information on how to fix the above errors.


    Patching SQL tool on Mar 22 21:16:26 dec 2015


    Unfortunately the MOS score is General and I do not see this situation described. The newspaper simply indicates this same error.


    Since there is no PDB, why make this mistake?  I don't think it's possible to open the PDB$ SEEDS as upgrade?


    I had already tried cloning my non - PDB in a PDB here (successfully) file, but then I also met problems with datapatch (in PDB not at CDB patch).  I tried with the options and force database and this succeeded with warnings, but I was unable to open the PDB.  I thought, okay, what oracle says that the whole point of multitenant is to be able to update the plugin, it should be possible to patch a CBD empty.  I can't seem to find much on this point, somebody manage this problem?


    What is the best method to establish the original CDB and ensure that it is patched in line with its ORACLE_HOME?


    Thank you!

    Sandra

    sidneys wrote:

    Error: failure of prereq cheques!

    patch 21555660: pluggable databases that need to be patched should be in upgrade mode

    PREREQ check failed, out without having to install patches.

    to work around this problem, new PSU have a new dependency for the datapatch to be applied correctly.

    1 starting in fashion upgrade instance

    start upgrade

    2. then apply datapach

    $ORACLE_HOME/OPatch/datapach - verbose

    3. restart the instance in normal mode

  • Is it necessary to have Oracle_Home Windows

    My environment: Oracle 12 c on Windows 2012 R2 server standard.

    I have not yet put ORACLE_HOME and ORACLE_BASE environment variables. But I do not see the registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDB12_HOME1 ORACLE_HOME and ORACLE_BASE.

    My question: is it necessary to have created too much environmental variables? What Oracle utility or application component uses these environmental variables?

    Laughing out loud

    Oracle has a hierarchy, it follows for the resolution of the environments.  For windows, it makes sense to use the registry.  Exactly how to change things, like when you have multiple oracle homes, varies according to the version and tools.  For example, there are a snap to the for Oracle administration microsoft management console.  Somewhere this hierarchy is documented, I don't have time to find all the time.  I have not worked with 12 c, so it could be something different, get the docs.

    In other cases, such as the instant client, you can just set the system environment variables and the path.  In other cases, you might want to put in place a batch file defining the variables.

  • RTO in Exadata

    I have a few questions on OTN, please help.

    • for the 2 TB database, what is the objective of minimum possible recovery (RTO) for the X 5 - 2 Exadata quarter rack?
    • It is possible to get 2 minutes RTO for the 2 TB database running on rack quarter X 5-2?
    • What are the ways to reduce the OTR?
    • How long it is necessary to perform a full restore of database 2 TB quarter rack?

    Thank you

    Aerts

    Abhi-

    Here are my best attempts to answer your questions:

    • for the 2 TB database, what is the objective of minimum possible recovery (RTO) for the X 5 - 2 Exadata quarter rack?

      • There are so many variables to minimize the resulting RTO of used tools, network, storage, platform, distance/time of latency between physics and sleep, etc., it is difficult to respond to the possible minimum RTO. Theoretically using a solution like Golden Gate in a multi-master (two-way replication active/active) configuration, you may reach an RTO 0. This assumes that your application and database can support such a configuration. A more traditional and less complex DR configuration, using the data guard must be able to measure the RTO in a few minutes.
    • It is possible to get 2 minutes RTO for the 2 TB database running on rack quarter X 5-2?
      • In a real recovery architecture disaster primary/secondary with Exadata, the best solution is Data Guard. If correctly configured and able to minimize latency between main and backup, Server data hold switch or fail should be measured in minutes and should be possible to get almost 2 minutes RTO.
    • What are the ways to reduce the OTR?
    • How long it is necessary to perform a full restore of database 2 TB quarter rack?
      • Depends on where you are restoring from. We have seen great results in the backup and restore of time using a ZFS storage device connected via Infiniband Exadata. With 2 controller 4 disc tray configuration we were able to restore a database of 2 TB in just 8 minutes.

    HTH,

    Kasey

  • Strange question NLS_DATE_FORMAT

    Hello

    DB host: OEL 5.4 32-bit

    Oracle db: 11.2.0.3

    I put the variable NLS_DATE_FORMAT, but do not know why it does not show sysdate in this format.

    I think I might have hit some sort of bug, an idea.

    [oracle@ocmprimary ~] $ echo $NLS_DATE_FORMAT

    MM/DD/YYYY HH24:MI:SS

    [oracle@ocmprimary ~] $ sqlplus / as sysdba

    SQL * more: Production of liberation 11.2.0.3.0 kills him Aug 25 20:01:34 2015

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

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production

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

    SQL > select sysdate to double;

    SYSDATE

    ---------

    25 AUGUST 15

    SQL > select * from v version $;

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    SQL >

    Here's the SET output

    [oracle@ocmprimary ~] $ set

    AGENT = / u01/app/oracle/agent11g/bin

    BASH = / bin/bash

    BASH_ARGC =)

    BASH_ARGV =)

    BASH_LINENO =)

    BASH_SOURCE =)

    BASH_VERSINFO = ([0] = "3" [1] = "2" [2] = "25" [3] = "1" [4] = 'free' [5] = "i686-redhat-linux-gnu")

    "BASH_VERSION ='3.2.25 1-release.

    Colors=/etc/DIR_COLORS.xterm

    COLORTERM = gnome-terminal

    COLUMNS = 237

    DBUS_SESSION_BUS_ADDRESS = unix: summary = / tmp/dbus-ciVMoHgzIZ, guid = ffa47a8716d695c36a827a0055dd0cb7

    DESKTOP_SESSION = default

    DESKTOP_STARTUP_ID =

    DIAG = / u01/app/oracle/diag/rdbms /.

    DIRSTACK =)

    DISPLAY =: 0.0

    EUID = 500

    GDMSESSION = default

    GDM_XSERVER_LOCATION = local

    GNOME_DESKTOP_SESSION_ID = default

    GNOME_KEYRING_SOCKET = / tmp/Keyring-Mz2Xnd/socket

    GROUPS =)

    GTK_RC_FILES=/etc/GTK/gtkrc:/Home/Oracle/.gtkrc-1.2-Gnome2

    G_BROKEN_FILENAMES = 1

    HISTFILE=/home/Oracle/.bash_history

    HISTFILESIZE = 1000

    HISTSIZE = 1000

    HOME = / home/oracle

    Hostname = ocmprimary

    HOSTTYPE i686 =

    IFS = $' \t\n'

    INPUTRC = / etc/inputrc

    LANG is en_US. UTF-8

    LESSOPEN='|/usr/bin/lesspipe.sh % to

    LINES = 50

    LOGNAME = oracle

    LS_COLORS='no=00:fi=00:di=00;34;41:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32 :* .tar = 00; 31: * .tgz = 00; 31: * .arj = 00; 31: * .taz = 00; 31: * .lzh = 00; 31: * .zip = 00; 31: * .z = 00; 31: Z = 00; 31: * .gz = 00; 31: * .bz2 = 00; 31: * .bz = 00; 31: * .tz = 00; 31: * .rpm = 00; 31: * .cpio = 00; 31: * .jpg = 00; 35: * .gif = 00; 35: * .bmp = 00; 35: * .xbm = 00; 35: * .xpm = 00; 35: * .png = 00; 35: * .tif = 00; 35:'

    MACHTYPE = i686-redhat-linux-gnu

    MAIL = / var/spool/mail/oracle

    MAILCHECK = 60

    NLS_DATE_FORMAT = "HH24:MI:SS DD/MM/YYYY '.

    OPTERR = 1

    OPTIND = 1

    ORACLE_BASE = / u01/app/oracle

    ORACLE_HOME=/U01/app/Oracle/product/11.2.0/dbhome_1

    ORACLE_SID = primdb

    OSTYPE = linux-gnu

    PATH=/usr/Kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/Home/Oracle/bin:/U01/app/Oracle/product/11.2.0/dbhome_1/bin

    PIPESTATUS =([0]="127")

    PPID = 4457

    Prompt_command ='echo - don't '\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~} '; ECHO - not "\007" '

    Ps1='[\u@\h \W]\$ '

    PS2 =' > '

    PS4 = ' + '.

    PWD = / home/oracle

    SESSION_MANAGER = local/ocmprimary: / tmp /. ICE-unix/4172

    SHELL = / bin/bash

    SHELLOPTS = braceexpand:emacs:hashall:histexpand:history: interactive-comments: monitor

    SHLVL = 2

    SSH_AGENT_PID = 4246

    SSH_ASKPASS = / usr/libexec/openssh/gnome-ssh-askpass

    SSH_AUTH_SOCK=/tmp/SSH-gFzAVx4172/agent.4172

    TERM = xterm

    TNS_ADMIN=/U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/

    UID = 500

    USER = oracle

    USERNAME = oracle

    WINDOWID = 30427226

    Xauthority=/tmp/.gdmTH6U3X

    XMODIFIERS=@IM=none

    _ = ALL

    ConsoleType = pty

    tmpid = 500

    [oracle@ocmprimary ~] $

    What I'm missing here? Sometimes questions that are so basic as this can throw you :-(

    Regardless of what I put under unix, I always get sysdate as ME-DD-YYYY

    -Learner

    Hello

    It of on the NLS_LANG variable, so run the query below on your database:

    select 'export NLS_LANG='||p1.value||'_'||p2.value||'.'||p3.value NLS_LANG from nls_database_parameters p1, nls_database_parameters p2, nls_database_parameters p3
    where p1.parameter = 'NLS_LANGUAGE' and p2.parameter = 'NLS_TERRITORY' and p3.parameter = 'NLS_CHARACTERSET';
    

    Then export NLS_DATE_FORMAT both NLS_LANG on the operating system and run the query again on SQLPLUS.

    Kind regards.

Maybe you are looking for