Set global_names = false in oracle

Hello
I have a doubt about the place where to set the global_names parameter. I mean on the remote database or the database when you go to...

For ex: there are 2 databases on 2 different servers... say db1 and db2

I created a llink from db1 to db2 database... .and the link is created...

but when I try to access the data through the link does not work... it gives an error that the name of the link must be the same as the database. This happens because global_names = true...

So I created the link with the name db2 database... and now I am able to access the remote database data.
But because of that... .i can't keep changing the name of the db link in the code everywhere... it is not possible

My question is: where to put this setting?
Hope that's clear
Thank you

global_names must be set to the original database server, the server that holds the link.
I recommend that you change your code and AGAINST the creation of global_names to false.
He will break all replication Oracle facilities and related functions probably more distributed database.

-----
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • JBO.ampool.doampooling set to false during execution.

    Hello everyone,

    Is it possible to set the configuration property jbo.ampool.doampooling set to false at run time?
    If possible, how can I do?

    Thanks in advance.

    See the section * 40.2.4 how to value Configuration properties programmatically * in
    http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31974/bcampool.htm#sm0301

    Thank you
    Nini

  • What does it mean when accessibility.delay_plugins is set to false?

    I keep having problems with Flash player crashing in Firefox, while Zynga Games. I have the latest version of Firefox, Flash Player, plugins have been reset: I jumped through all the hoops and continue to have problems. I realize realize that games Zynga race very slowly so I decided to start tweaking timeouts in Firefox. What does it mean exactly when the accessibility.delay_plugins parameter is set to false? Is - average access delay is disabled by default?

    See the comments in this file:

    722 #ifdef XP_WIN
    723 // Some accessibility tools poke at windows in the plugin process during setup
    724 // which can cause hangs.  To hack around this set accessibility.delay_plugins
    725 // to true, you can also try increasing accessibility.delay_plugin_time if your
    726 // machine is slow and you still experience hangs.
    727 // See bug 781791.
    728 pref("accessibility.delay_plugins", false);
    729 pref("accessibility.delay_plugin_time", 10000);
    730 #endif
  • Why security.ssl3.dhe_dss_aes_256_sha is set to 'false' on Firefox 33.0?

    I just noticed that on Firefox 33.0 release (WinXP 32-bit home), the security.ssl3.dhe_dss_aes_256_sha is set to "false" by default. But not the releated more low security.ssl3.dhe_dss_aes_128_sha, which is still to 'true '.

    It must have happened on one of the latest versions.

    Why was the old disabled?

    See this bug for more details report:

    • bug 1036765 - Disable cipher suites that are not in the proposal of "Suite of encryption in the browser" which are always activated

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • How can I move my tabs down? browser.tabs.onTop is already set to "false".

    I followed the instructions in the help on this article, but when I got to browser.tabs.onTop, it has already been set to "false". So I tried to put it on true, but there was no change. Go back, it was again set to false, but my tabs are always on top. Please help - it is a problem for me!

    If you miss the module bar and the tabs on the bottom option, you can certainly do with extensions!

  • The value of browser.urlbar.autoFill is always set to false whenever I restart Firefox 28

    The value of browser.urlbar.autoFill is always set to false whenever I restart Firefox 28.
    I go to about: config and change the value 'true' but, after restarting Firefox it return false, so I can not AutoComplete URLS

    Note that your list of details of the system shows that you have a user.js file in the profile folder to initialize prefs each time you start Firefox.

    The user.js file is present than if you or another software has created this file and normally it wouldn't be here.
    You can check its contents with a text editor (right click: open with) If you do not create this file yourself.

    The user.js file is read whenever Firefox is started and initializes the preferences to the specified value in this file, so the preferences set via user.js can be changed temporarily for the current session.

    You can delete a possible user.js file and numbered prefs-# .js files and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • How can I set _gby_hash_aggregation_enabled = FALSE in 11 GR 2

    Hello
    I am tiring to define together gbyhash_aggregation_enabled = FALSE in my new 11 GR 2 instance using the:

    ALTER system set gbyhash_aggregation_enabled is false scope = spfile;.

    And I get this:

    ALTER system set gbyhash_aggregation_enabled = false scope = spfile
    *
    ERROR on line 1:
    ORA-00911: invalid character

    change the system '_gby_hash_aggregation_enabled' = false;

  • TextArea and DateField in DataGrid editable after that 'editable' set to 'false '.

    I have a DataGrid, and although I have set the 'editable' DataGrid 'false' field and also put the field 'editable' 'false', the DateFields and the text box columns are always editable. Someone knows why?

    <mx:DataGrid id="touchpointDG" dataProvider="{contactTouchpointsXLC}" width="100%"
    alternatingItemColors="[0x80BDE0, 0xD2F5E9]" rowHeight="25" editable="false">
    <mx:columns>
      <mx:DataGridColumn dataField="touchpointDate" headerText="Date" 
        itemRenderer="components.DateFieldXML" width="100" editable="false"/>
      <mx:DataGridColumn dataField="touchpointType" headerText="Type" width="170"/>
      <mx:DataGridColumn dataField="touchpointResult" headerText="Result" width="120"/>
      <mx:DataGridColumn dataField="touchpointNextAction" headerText="Next Action" width="205"/>
      <mx:DataGridColumn dataField="touchpointNextActionDate" headerText="Next Date" 
        itemRenderer="components.DateFieldXML" width="100" editable="false"/>
      <mx:DataGridColumn dataField="touchpointDetails" editable="false" 
        headerText="Touchpoint Details" itemRenderer="mx.controls.TextArea"/>
    </mx:columns>
    </mx:DataGrid>
    
    

    It only determines if the DG opens an editing session.  It is not actually set editable = false on the component.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • DBMS_SCHEDULER job does not start if use_current_thread is set to false

    Hi all

    I'm trying to run a job (via sqlplus) by typing:

    dbms_scheduler.run_job exec ('jobname', false);

    I see:

    PL/SQL procedure successfully completed.

    but the task does not run. If I change from FALSE to TRUE, it rotates - but of course my session will have to stay connected.

    The work has a program (which is a PL/SQL block) and the calendar set.

    Any ideas what I could look in to find out why this happens?

    DB is a 10.2.0.4 RAC running on AIX 4 node.

    Snapshot of SQLPLUS:

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\myuser>sqlplus user@db
    
    SQL*Plus: Release 12.1.0.1.0 Production on Thu Aug 14 09:56:05 2014
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    
    SQL> exec dbms_scheduler.run_job('jobname', false);
    
    PL/SQL procedure successfully completed.
    
    SQL> show parameter job_queue_processes
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    job_queue_processes                  integer     15
    SQL>
    
    

    Hmmm... seems that you must specify the schema name if you are not using the current thread. Now that I think about it, it makes sense... I'm leaving the scheduler does not define the default schema (or does not really like the user?) when running in the background and does not find the job, that's why run_job ends but nothing appears in the use of the term paper because it was never found in the first place.

    It is also interesting that instance caged features differently... no instance caged during parallel execution using the current thread. For example, caged when not to use the current thread.

  • Plugins cannot be activate - even if click_to_play is set to false

    Using Firefox 30.0 (Ubuntu 1.0) on Ubuntu LTS AMD64, selected on 12.04.4: config, plugins.click_to_play, false

    Still need to select 'Activate' whenever I go to a site and need to use Adobe Acrobat or any other plugin. Very annoying.

    What is the default setting for plugins on the page "Firefox/tools > Modules > Plugins '?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Media.Windows - Media - foundation.enabled set to false does not stop the MP3 files to play rather than the economy. I want my file save instead of the rear. How?

    I used to be able to click on the MP3 files and they would save, according to the setting in my Options. Now when I click on a link to an MP3 file, it goes to a player page, I don't want to.

    I looked through the help here, and it is proposed to amend media.windows - media - foundation.enabled to false. I did, and it made no difference. (Restart after making the change did not help either.)

    I use version 26.0 in Windows XP. I had not downloaded MP3s since July, so I don't know which version this started.

    Windows XP uses Media Foundation, it uses DirectShow (DirectX). To turn it off, it was a different preference:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste media and make a pause so that the list is filtered

    (3) double-click the preference media.directshow.enabled from true to false.

    I don't know if this changes enter into force immediately or after you exit and then restart Firefox.

  • The Personalization property value forms continues to change true when set to false

    Hello

    I've implemented the following customization on my R12.1.3 in the Oracle E-Business Suite version:

    FORM - PERWSEAD

    The condition tab settings:

    Triggering event: A TIME NEW FORM INSTANCE

    The Trigger object: (empty)

    Condition: (white)

    Processing mode: both

    Framework

    Responsibility: Human resources operational

    Settings on the tab actions:

    SEQ: 1

    Type: property

    Description: Disable pattern

    Language: all the

    Activated: '' Yes. ''

    Object type: agenda

    Target the object: ABA. C_REASON_DESC

    Property name: ALTERABLE_PLUS

    Value: FALSE

    Select 'Validate' + 'Apply' + 'save '.

    When I re - access the form PERWSEAD the Description of the reason it is not grayed out.  Re-check the personalization settings (by pressing the button "Get the value") indicates the value of property to be returned to 'TRUE '.

    A reason why that may be?

    Try with the following text:

    Object type: agenda

    Target the object: ABA. C_REASON_DESC

    Name of the property: ENABLED

    Value: FALSE

    After having settng the rule above, reconnect or switch to responsibility and redone the test then the issue.

  • Set of AMM in Oracle

    Hello

    11.2.0.1

    I don't know that I've defined our database of the AMM

    CONN / AS SYSDBA

    -The value of the static parameter. Leave some leeway for possible future growth without rebooting.

    ALTER SYSTEM SET MEMORY_MAX_TARGET = 6G SCOPE = SPFILE;

    -Set the dynamic parameters. Assuming that Oracle has total control.

    ALTER SYSTEM SET MEMORY_TARGET = 5G SCOPE = SPFILE;

    ALTER SYSTEM SET PGA_AGGREGATE_TARGET IS 0 SCOPE = SPFILE;.

    ALTER SYSTEM SET SGA_TARGET IS 0 SCOPE = SPFILE;.

    -Restart the instance.

    SHUTDOWN IMMEDIATE;

    START-UP;

    But my pga and the LMS is not always zero? How will I know if my db is on the AMM?

    Thank you

    Petra k.

    No, he shouldn't go to 6 GB. You restart the database? Post here the values.

    Also, read the note metaling, I say it again and again.

    11g MEMORY_TARGET parameter Dependency

    If MEMORY_TARGET is set to a nonzero value:

    • If SGA_TARGET and PGA_AGGREGATE_TARGET are defined, they will consider the minimum values for the sizes of SGA and PGA respectively. MEMORY_TARGET values are between SGA_TARGET + PGA_AGGREGATE_TARGET to MEMORY_MAX_TARGET.
    • If SGA_TARGET is defined and PGA_AGGREGATE_TARGET is not defined, we will always be auto-tune two parameters. PGA_AGGREGATE_TARGET will be initialized to a value of MEMORY_TARGET - SGA_TARGET.
    • If SGA_TARGET is not set PGA_AGGREGATE_TARGET is defined, we will always be auto-tune two parameters. SGA_TARGET will be initialized to the minimum value of zero MEMORY_TARGET - PGA_AGGREGATE_TARGET and SGA_MAX_SIZE and will auto tune of its components.
    • If none are set, they will be automatically tuned without any minimum or default value. We have a policy of distribution of the total memory that is defined by the MEMORY_TARGET parameter in a fixed ratio to the CMS and the PGA at initialization. The policy must give 60% the SGA and 40% of the PGA at startup.

    If MEMORY_MAX_TARGET has not been explicitly defined, but MEMORY_TARGET, the instance automatically assigns the same value as MEMORY_TARGET MEMORY_MAX_TARGET. If MEMORY_TARGET was not explicitly defined, but MEMORY_MAX_TARGET, then MEMORY_TARGET default is 0. After the instance is started, it is then possible to dynamically change the MEMORY_TARGET to a value not zero, provided it does not exceed the value of MEMORY_MAX_TARGET.

    If MEMORY_TARGET is not explicitly set, or set to 0 (default value is 0 for 11g):

    • If SGA_TARGET value we're only - auto-tune the sizes of the components of the SGA. PGA will be autotuned regardless of if it is explicitly defined or not. However, the combination of the PGA and SGA will not automatically tuned, i.e. the SGA and PGA not share memory and resize as in the case of MEMORY_TARGET be set to a value not zero.
    • If SGA_TARGET nor PGA_AGGREGATE_TARGET is defined, we will follow the same policy that we have today. PGA will be auto tuned and the SGA will not automatically be tuned and settings for some of the components of the LMS must be defined explicitly (by SGA_TARGET).
    • If only MEMORY_MAX_TARGET is set, MEMORY_TARGET default to 0 and we do not have the auto-tune the SGA and PGA. Default is 10 gr 2 behavior.
    • If SGA_MAX_SIZE is not set of users, it is set internally to MEMORY_MAX_TARGET.
  • No data found error when clicking on an item whose property update_allowed set to false

    Hello Expert,

    I use the formula 10g. the trigger for the instance runs a times-news-shape following code:

    trigger name: My_trigger

    {code}

    DECLARE

    L_FIRST_BLOCK VARCHAR2 (50);

    L_LAST_BLOCK VARCHAR2 (50);

    L_CUR_BLOCK VARCHAR2 (50);

    L_NEXT_BLOCK VARCHAR2 (50);

    CUR_FORM VARCHAR (50): =: SYSTEM. CURRENT_FORM;

    L_BLOCK_TABLE VARCHAR2 (100);

    / * This program checks each database block table and set the updatable property according to the indicator of access. */

    BEGIN

    L_FIRST_BLOCK: = GET_FORM_PROPERTY (CUR_FORM, FIRST_BLOCK);

    L_LAST_BLOCK: = GET_FORM_PROPERTY (CUR_FORM, LAST_BLOCK);

    L_CUR_BLOCK: = L_FIRST_BLOCK;

    -Check each block in a loop

    LOOP

    -Check the name of the database block table

    L_BLOCK_TABLE: = GET_BLOCK_PROPERTY (L_CUR_BLOCK, QUERY_DATA_SOURCE_NAME);

    -Si Table is then check the indicator of access to each field and property accordingly

    IF NVL (L_BLOCK_TABLE,' ') <>' ' THEN

    DECLARE

    L_FIRST_ITEM VARCHAR2 (100);

    L_LAST_ITEM VARCHAR2 (100);

    L_CUR_ITEM VARCHAR2 (100);

    L_ACCESS VARCHAR2 (1);

    BEGIN

    L_FIRST_ITEM: = L_CUR_BLOCK |'. ' || GET_BLOCK_PROPERTY (L_CUR_BLOCK, FIRST_ITEM);

    L_LAST_ITEM: = L_CUR_BLOCK |'. ' || GET_BLOCK_PROPERTY (L_CUR_BLOCK, LAST_ITEM);

    L_CUR_ITEM: = L_FIRST_ITEM;

    LOOP

    IF Get_Item_Property(L_CUR_ITEM,ITEM_TYPE) NOT IN ("BUTTON", "CHART ITEM", 'DISPLAY ITEM', 'IMAGE', "VBX CONTROL") THEN

    IF Get_Item_Property (L_CUR_ITEM, ITEM_CANVAS) IS NOT NULL THEN

    IF Get_Item_Property (L_CUR_ITEM, ENABLED) <>'FALSE' THEN

    IF Get_Item_Property(L_CUR_ITEM,VISIBLE) <>'FALSE' THEN

    If Get_Item_Property (L_CUR_ITEM, CONCEAL_DATA) <>'TRUE' THEN

    L_ACCESS: = CHECK_ACCESS_FLAG(L_BLOCK_TABLE,USER,L_CUR_ITEM);

    IF L_ACCESS = "Y" THEN

    SET_ITEM_PROPERTY (L_CUR_ITEM, UPDATE_ALLOWED, PROPERTY_TRUE);

    -SET_ITEM_PROPERTY(L_CUR_ITEM,INSERT_ALLOWED,PROPERTY_TRUE);

    ON THE OTHER

    SET_ITEM_PROPERTY (L_CUR_ITEM, UPDATE_ALLOWED, PROPERTY_FALSE);

    -SET_ITEM_PROPERTY(L_CUR_ITEM,INSERT_ALLOWED,PROPERTY_FALSE);

    END IF;

    END IF;

    END IF;

    END IF;

    -OTHER

    -MESSAGE(L_CUR_ITEM||') CANVAS "|" Get_Item_Property (L_CUR_ITEM, ITEM_CANVAS)); MESSAGE(L_CUR_ITEM||) e CANVAS "|" Get_Item_Property (L_CUR_ITEM, ITEM_CANVAS));

    END IF;

    END IF;

    IF L_CUR_ITEM = L_LAST_ITEM THEN

    EXIT;

    END IF;

    L_CUR_ITEM: = L_CUR_BLOCK |'. ' || GET_ITEM_PROPERTY (L_CUR_ITEM, NEXTITEM);

    END LOOP;

    END;

    END IF;

    IF L_CUR_BLOCK = L_LAST_BLOCK THEN

    EXIT;

    END IF;

    L_CUR_BLOCK: = GET_BLOCK_PROPERTY (L_CUR_BLOCK, NEXTBLOCK);

    END LOOP;

    GO_BLOCK (L_FIRST_BLOCK);

    END;

    {code}

    Code trigger a time new form instance

    execute_trigger ('My_trigger');

    When I click on any item and try to update its display message status bar:

    FRM-1403, ora-01403 no data available.

    Should be given, the field is protected. or see the user define the message, like 'you can't update this field.

    Help, please.

    Thank you

    Yoann

    Just a wild guess, but maybe there are little code in your WE-ERROR-trigger which is not working properly.

  • Set the events in oracle 11g for SAP

    Hi all

    Recently, we have updated 10.2.0.4 oracle database at 11.2.0.3 (AIX 7.1) for the SAP application.

    Some settings of the default event have been set when the database has been executed with 10.2.0.4 version. After upgrading to 11.2.0.3, these events have not observed pfile/spfile. However, the post_upgrade log shows that these events have been defined (and journal displays a list of events as well).

    Now, my concern is whether the settings of the event have been put already by default (if it is already set after upgrade, don't know why pfile reflecting is not them) or do I have to adjust the settings manually.

    Thanks in advance for your help.

    Kind regards
    Prakash

    See SAP Note 1431798 for a list of the parameters of the event required. These are correct. You must also run the last Patch Bundle SAP that specifically tells you to set these events after the installation of the hotfix. If you have run the wrapper of dbua SAP by their 11g upgrade instructions, I think that it defines these events for you as well.

Maybe you are looking for

  • How can I view multiple tab lines?

    I have so many tabs I want to display several lines. I can't find an option to do so, but I know that I've done in the past. But I do not remember how I did it. I tried to find this option in TabMix Plus but no luck. Recently I've been using Tree Sty

  • The MX892 connects via a USB cable

    Even if it is a wireless printer, can I leave the usb cable connected and to the implementation of a wireless system?

  • CD rom will not read after inserting cd

    my cd rom always worked I had not used it for about 4 months. I tried all my CDs in it will go perfectly, but nothing happens after that it does not read that I have vista Home premium desktop. computer is a dell 2007 suggestions?  Thank you mary

  • Access Internet E4200 borked time policy

    Does not set an end time in the AM if the start time is in PD. For example if I say cut all access from 22:30 and try to choose ANY time in the period of time AM she moans the end time must be after the start time to which it is, but it is not clear

  • Installtion problem.

    I downloaded Windows 10 correctly with the help of the Windows 10 Upgrade Wizard. But during installation, it is stuck in 99%. What should I do? It's boring! Should I download media fo authoring tool it?