Linking of database options

Version Oracle 11.2.0.3

OS version Red Hat AS 5


I have several public and private database links. I'm looking for is information on how I can make them more safe and no idea how I can reduce the number of them.

Ideas, documents and examples welcome.
Advertisement

Cooper wrote:
Right, right, thank you.

Here's the deal. Each year, I get an outside audit and they bust always my chops on the number of links. I am convinced that I have not one more that I need and most are private. I locked the connection as tight as possible.

So must just be my ground and say I need them and this is the reason business?

I would punt the problem to the head of the company that requires / wants the data in the remote database.
Become a volunteer to remove the DBLINK as long the auditor to take the heat when remote data not be available.
If I were in your position, I would say that someone else needs to decide the link stays or a goes.
This is NOT your battle.

Tags: Database

Similar Questions

  • reminder of database options

    I tried to make a simple seq using a reminder of database options (access database).

    I get data in the table UUT_RESULT, which mean that the result of my test of numerical limit is not connected.

    Is something wrong with the schema parameter?

    Where can I find documentation on the parameters in the callback of the schema option of database, for example the exact name "generic insert (NOR).

    In your fileglobal you have IncludeStepResult set to false.  That will have your limits and measurement in it.

    You questions about documentation.  I can't really point to anything specific, but all I know is that this is because it's this is put in the list of results for each step.  Essentially, each stage has a result called subproperty.  All that is in this container gets put in the result and then connected to the database later if IncludeStepResult is set to True.

    Hope this helps,

  • link to database

    Oracle Database 11 g 2

    EBSR12.2.4

    Oracle Linux 6.4

    Hello

    I want to create a link of database between 2 separate machines. What is the best way to do it?

    Rgds

    Roshan

    If you try to create DB link of BITEST to PREPRODUCTION, then.

    1. Add entry TNS of PREPRODUCTION in the file tnsnames.ora BITEST.

    2 tnsping PREPRODUCTION, if its OK then

    3. CREATE LINK of DATABASE link_name CONNECT TO target_db_user IDENTIFIED BY target_db_user_paswd USING 'target_tns_alias ';

    4 check the DB link - select * from [email protected]_name;

    Kind regards

    Kiran

  • Could not create the link of database of the schema of the ORA/APEX

    Hello

    I tried to create the link of database for my schema oracle on my localhost and it brings me an error "database user has sufficient privileges for the proposed operation.". I don't know what the problem is?

    This pattern of localhost was created for APEX.

    Thank you

    I tried to create the link of database for my schema oracle on my localhost and it brings me an error "database user has sufficient privileges for the proposed operation.". I don't know what the problem is?

    This pattern of localhost was created for APEX.

    What is developer Sql has to do with the problem? This forum is ONLY for sql developer questions.

    If this isn't a problem with Sql developer please mark ANSWERED thread and repost it in the general forum of the database

    Database General Discussions

    The exception is you say the problem: the user you are using to create the DB link doesn't have the necessary privileges to create the DB link type you are trying to create. Privileges are required on the source and target databases.

    When repost you, you will need to provide:

    1. your full 4 DB for DBs source and target text segment

    2. a copy OF the sql * plus (or other) session you use to create the DB link

    3. information on the user that you use to create the link DB - including the privileges that have been granted to this ulser

    4 information on the type of link DB you try to create

  • Drop the link of database in oracle 11g

    I created a schema with the name of sapsmc which has all the privileges, then I created 1 link of database. Now, I want to drop this database link, but I can't able to drop this error.

    «SQL error: ORA-00604: error occurred at recursive SQL level 1 ORA-20101: Sorry, can't remove any object without the permission of live database SAPGateWay.» ORA-06512: at the level of the 5 00604 line. 00000 - 'error occurred at recursive SQL level %s' * Cause: an error occurred during the processing of a recursive SQL statement (a statement applicable to the internal dictionary tables). * Action: If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support.

    Then I tried to delete the user SYS, while doing this that I got below error.

    SQL error: ORA-02024: database not found link 02024. 00000 - "database link not found" * Cause: database to remove link is not found in the dictionary * Action: correct the name of the database link

    Please help me I appreciate your efforts.

    ORA-20101: Sorry, can't remove any object without the permission of live database SAPGateWay.

    There is not much we can do about it.

    It is an exception defined by the user, probably from a FRONT DROP trigger defined at the level of the database, which prevents people from dropping objects.

    Contact, one who is responsible (DBA?) about how to proceed.

  • Where is the virtual private database Option

    Apex 3.2, I could find in virtual private database option

    Shared components/security

    I now use Apex 4.2 and I can't find this option under

    Components/security shared or anywhere else.

    Where is he past?

    Gus

    Hello

    It is in the same place, but renamed in database Session

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35125/bldr_attr.htm#sthref738

    Kind regards

    Jari

  • ORA-20002: you can't create links from database

    HI Experts,

    Creating database link, I get the error below. Anyone of you could please have some light on this error. I googled for this error and did not get any update.

    Oracle version: 11.2.0.3

    The user with whom I created this link of database DBA privilege.

    SQL > create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
    create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
    *
    ERROR at line 1:
    ORA-00604: error occurred at the SQL level 1 recursive
    ORA-20002: you can't create links from database
    ORA-06512: at line 4


    Thank you..

    Well Yes, this request confirmed suspicion of SB.

    The datadictionary is your friend

  • Link to database not be created using a stored procedure

    Hello

    I am creating a link of database using a stored procedure.

    Here is the code for it

    CREATE OR REPLACE PROCEDURE create_db_link (ca_db_name IN VARCHAR2,

    ca_service_name IN VARCHAR2)

    AUTHID CURRENT_USER IS

    BEGIN

    EXECUTE IMMEDIATE ' create public database link test_db_link connect to ca_db_name identified by ca_db_name using "ca_service_name" ';

    END create_db_link;

    During execution of the code is created the db_link. But, when I ask all_db_links I get the following result.

    OWNER

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

    DB_LINK

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

    USERNAME

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

    HOST

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

    CREATED

    ---------

    PUBLIC

    TEST_DB_LINK. WORLD

    CA_DB_NAME

    ca_service_name

    20 Aug 13

    Could you please help me understand why it shows the parameter names in the name column of the USER and the HOST instead of the name of the database and the name of the service?

    This is to show exactly what you said to do.

    Did you expect that Oracle would read as if by magic through your string you passed to run immediately and magically know to replace all occurrences of the string that correspond to local (or even global) parameter/variable names with the values of these variables?  It does not work like that.  You could concatenate the values into the string.

    for example

    EXECUTE IMMEDIATE ' create public database link test_db_link connect to ' | ca_db_name |' identified by ' | ca_db_name: ' using the "' | ca_service_name | " ' ;

    But why are create you database links running?  Shouldn't this be part of the design of your application and the initial fact before the application runs?

  • link to Database 11g to 10 g

    I am trying to create a link of database 11 g to 10 g database database to help:
    create database ORCL10R2 link to connect to < username10g > for assistance identified by < password10g > < db10g >;
    It returns
    Database link created.

    Select sysdate [email protected] returns the error:
    ERROR on line 1:
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    Please let me know what changes I need to do to tnsnames and listener to both servers.

    I think that this question is not related to sql or pl sql.

    Please post here

    Database General Discussions

    Mezaber

  • Hi where is the link of database previously Windows menu?

    Hi where is the link of database previously menu Windows

    Removed feature: functionality of server, covers and panels and database components behavior

    There is a unique extension to restore these features. Extension is available at: * Vista/Windows 7: C:\Program Files (x 86) \Adobe\Adobe Dreamweaver CC\Configuration\DisabledFeatures * Mac OS X:/Applications/Adobe Dreamweaver CC/Configuration/DisabledFeatures

    As seen on http://blogs.adobe.com/dreamweaver/2013/06/a-look-at-the-modernized-dreamweaver-cc.html

    Video instructions on how to install these file available here: http://www.youtube.com/watch?v=cB2vmNfcq7A

  • link to database with current_user

    I logged into the EMSDB database. D710.de and created a link of database at EMSDB. D999.de with current_user (... same user, same credentials I'm connected). When I tried to use this link created, I get the error code: "ORA-01017: Benutzername/Kennwort ungultig; Anmeldung abgelehnt. What I don't understand, why I cannot connect to EMSDB. D999.de - but not access to the same database with a database link?
    SELECT     'EMSDB.D999.DE'               REMOTE_DB   --NAME OF DATABASE  
    FROM DUAL;
    
    VARIABLE VAR_REMOTE_DB VARCHAR2(15);
    BEGIN 
        :VAR_REMOTE_DB := '&REMOTE_DB';
    END;
    /
    SELECT  :VAR_REMOTE_DB                REMOTE_DB     
    FROM DUAL;
    
    CREATE DATABASE LINK &REMOTE_DB CONNECT TO CURRENT_USER USING '&REMOTE_DB' ;
    
    SELECT TABLE_NAME FROM [email protected]&REMOTE_DB;
    output
    SQL> @test
    
    REMOTE_DB
    -------------
    EMSDB.D999.DE
    
    REMOTE_DB
    --------------------------------
    EMSDB.D999.DE
    SELECT TABLE_NAME FROM [email protected]
                                      *
    FEHLER in Zeile 1:
    ORA-01017: Benutzername/Kennwort ungültig; Anmeldung abgelehnt
    
    
    SQL>
    Edited by: user5116754 the 22.02.2011 04:33

    user5116754 wrote:
    Thank you, John... but would it be possible for me to create this database link then?

    As I said, if you are not a global user according to Oracle, you must create a link to the database providing the username and password of the user in the remote database that you want to use. Something like:

    CREATE DATABASE LINK EMSDB.D999.DE
    CONNECT TO username IDENTIFIED BY password
    USING 'EMSDB.D999.DE';
    

    How to spy on, what type of user (GLOBAL...) Am I?

    Connect to the database local and do:

    SELECT external_name
    FROM user_uses;
    

    If that returns null, then you are not a global user, if it returns a value, you are a global user in this database. Connect to the database remote (everything is identified by emsdb.d999.de) and do the same thing. If the external names on the two databases are not null and has the same value, then you're a global user on two databases and the current_user should work, otherwise you're ethe not a global user on one or two databases, or you're a different global user on the two databases.

    John

  • Link to database compiling no patch of 6i form 17

    Hi researchers.

    Recently, I have urgraded my form 45 oracle form 6i and everything went well except the database to Oracle 10 g Server link.
    The 6i shape is connected to oracle 8i database and work too thin... Database link to 10g 45 form worked well.
    After the upgrade, it is not able to establish the link to database, it displays the error ORA-04054 link of database does not exist.
    SQL, all works very well.
    My procedure looks as follows: -.

    DJV_TYPE [email protected]_DATA. MJ_TYPE % TYPE: = 1;
    DMJ_DOCNO [email protected]_DATA. TYPE % MJ_DOCNO;

    CURSOR GET_DOC_NO IS
    SELECT NVL (MAX (MJ_DOCNO), 0) + 1 [email protected]_DATA
    WHERE MJ_TYPE = 1;

    Please, can someone help me to the topic of this...

    user7390263 wrote:
    Hi Bailey

    Thank you very much. Views has solved my problem.

    If the answers are useful or correct please mark

    May I know one thing, how do I print barcodes in reports 6i?
    A it doesn't matter what available for this font. A few years ago I used UPCEAN6. Font TTF
    for the printing of barcodes in report 2.5. But this font does not well in the report 6i.
    It's just the right impression but don't not scanning by any scanner.
    So can you tell me otherwise for this or any new fonts available for this?

    This question in another thread, I think you have already done

  • Link to database for MySQL with Oracle Express

    Hello Oracle Community,

    I made a post on this topic already in the section general, but here is the best place for my question. My goal is to access a mysql to oracle server. Some info about my system and what I've done so far:

    Windows Vista 64-bit
    Oracle Express 10.2

    -installed 32-bit DNS ODBC driver for the database mysql, tested and it succeeded, the name is CHANCE
    -created a new file in the folder admin/hs initLuck.ora, prameters are: HS_FDS_CONNECT_INFO = CHANCE HS_FDS_TRACE_LEVEL = OFF
    -new section in the listener.ora: (SID_DESC = (SID_NAME = CHANCE) (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server) (PROGRAM = hsodbc))
    -new section in my tnsnames.ora: CHANCE = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = GOGAPC01001)(PORT = 1521)) (CONNECT_DATA = (SID = CHANCE)) (HS = OK))
    -inexplicable the listener
    -Do a bit of luck, success of tnsping
    -created a link of database: CREATE DATABASE LINK LUCK24 CONNECT TO 'user' IDENTIFIED BY 'password' USING 'LUCK24 ';
    -tried to do a simple select statement: SELECT COUNT (*) FROM [email protected];

    and there I get an error message:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [Generic connectivity using ODBC] [Microsoft] [ODBC driver manager] Der Datenquellenname wurde nicht found, und're wurde kein Standardtreiber angegeben (SQL State: IM002;) SQL Code: 0)
    ORA-02063: preceding 2 lines of LUCK24

    can anyone help?

    Ikrischer

    Ikrischer,
    On which platform do you have installed the drivers 32 bit and HSODBC? He was on a Windows 32-bit platform? It is not supported to run the 32-bit software on a Windows 64-bit platform.
    There were some problems with versions 10.2.0.3 and earlier that are similar to those you typo - problems with bigint and select count. These are laid down in the 10.2.0.4 group of patches, so you should apply to your ORACLE_HOME 10.2 directories and see if the problem still occurs.
    However, as already said HSODBC 10.2 is now desupported you need to find to install 11.1.0.6 DG4ODBC and then apply the 11.1.0.7 patch group which also solves the problem.
    If you have access to My Oracle Support then see this note.

    Select columns MySQL Bigint use HSODBC returns an incorrect value when you use ODBC MySQL Connector (Doc ID 401086.1)

    Kind regards
    Mike

  • Link to database ORA-00600

    Forms [32 bit] Version 9.0.4.2.0 (Production)
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production

    It's a migration project (4.5 to 10gR 1, then 10 gr 2 once the database has been upgraded)

    WHEN-VALIDATE-ITEM trigger

    Select 1
    in l_dummy
    table
    where code =: block.item;

    NO_DATA_FOUND/TOO_MANY_ROWS/blah, blah, blah

    [Compiling gives: ORA-00600: internal error code, arguments: [17069], [0x903B91C],]

    Google seems to be pointing in a different direction, but the problem arises because the table is in fact a public synonym by using a database link.

    Before you start, no matter who already solved this problem?
    for example.
    Directly specify the link db in the query - select 1 from [email protected]_link l_dummy
    Create a view in select * from [email protected]_link
    copy the local remote db table to start the day
    fix database
    wait until the 10g database installed
    Another solution

    Thank you

    JR

    The first two points in your list of options would be what was suggested.

  • Custom Logging Codes and Messages database options

    I use TestStand 4.5 with the provided standard SQL database schema. I noticed that in the table UUT_RESULT the only time where what a UUT_ERROR_CODE or a UUT_ERROR_MESSAGE is written is when the UUT_STATUS is error. I would like to be able to connect our custom FileGlobals.Error_code and FileGlobals.Error_text in these fields when the UUT fails a test.

    I'm rather not change the schema but just get help on how to get my global variables in the correct fields.

    Thanks in advance.

    Steve

    Steve-

    To accomplish what you're trying to do, IE. the value of the message and the error code USE without updating the database schema, you would have to change the entry points for Single Pass and Test UUT for patterns that you use. You must add a step after the MainSequence called step that evaluates if the call to MainSequence failed and if that were the case, change the last result placed in the Locals.ResultList table. You must set the Locals.ResultList [x]. Error.Code and Locals.ResultList [0]. Error.Msg properties on this result for the global values you mentioned. If overall file values in the template file, then this is an easy task. If the global file value is in the customer file or another file, you will need succeed somehow to the entry point. Many options: store values in station model and global entry point will recover, have value assign customer at the local level in the point of entry using expression as RunState.Root.Locals... or create temporary properties on Execution.RunTimeVariables that contains the model entry point access determine if exists and pull values of. You will need to make sure that the previous values are disabled before the next USE. I hope this helps...

Maybe you are looking for