The SYS user connects to the database level, is this correct?

My senior colleague gave me following information about the user sys. I want to know, - is this correct?

Since the SYS user connects to the database level, therefore, on the session active user SYS, to kill only the current statement is canceled. The database session does not disconnect. Instead, he continues to run the remaining in the script file instructions where we run a script file that contains a large number of SQL statements.

Elya

If the Oracle session was killed and the customer continued to successfully submit the following commands to the database, a new session was automatically created to replace the killed session. A feature called Of Application Transparent failover which allows the customer to switch to a session of a RAC server to another RAC server, the initial session fails (for example, RAC Server breaks down).

TAF is part of the response to the so-called "+ the Evil Twins +"-errors and crashes. The rest of the answer are FAN (Fast Application Notification) and CLF (resumption of fast connection). This set of features about the errors and crashes - and allows an application 'seamless' continue even when his Oracle Server session fails.

See the white paper Oracle on failover of applications with Oracle Database 11 g for the basic details.

Tags: Database

Similar Questions

  • 11g OEM with the sys user connection error.

    I have two database in my local host. a parameter is created with dbca and another is created manually.
    I am not able to connect ONLY with "sys" user in OEM, 11g, but I can connect to sqlplus with the same user (only in the manually created database).

    You can try again by recreating the file password... just in case...

  • The Images path required at the database level.

    Hi all

    Merry Christmas :-)  Well, I'm just here for the updated knowledge to find the path of the images in my database. Since I could find by Google so I felt take help here.

    Please find below the details of my version of the database and at the apex.

    BANNER

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

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit 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

    Apex Version: 4.2.3.00.08

    I can find my path set by me in the Dads.conf file, but I wanted to know as - is it possible to look for the path of the image in a table or view in DB level?

    Opinions are highly appreciated.

    Thank you

    Nitesh Perron.

    in DADS configuration you mentioned is the path to the image? Then you can see the files in the folder of images!

    Please find my G drive attachment! DADS.config

  • Views - set at the database level or RPD?  Advantages/disadvantages/best practices

    General question about the use of points of view and OBIEE. I have a handful of views that I had to set for one reason or another within our mini - DW. Initially, I set all these level database and imported in my physical layer as I would a table.

    I know that OBIEE has the ability of views defined within the Phyiscal layer by specifying the SQL syntax with the VIEW type.

    I'm curious to know if anyone has any ideas on the manipulation of views one way or another? :

    -Do you prefer to define the points of view within the RPD to keep your logic in one place?
    -Are there performance benefits with the definition of the view in the database itself?
    -Are there any best practices known surrounding views with OBIEE management?

    Thanks in advance.

    K

    Yes, this select statement is called view opaque. Opaque views can lead to performance problems. If your view is huge pulling data then do not create this view in the RPD.

    Kind regards
    Sandeep

  • ACR 4.6 displays ACR 4.4 under "Calibration of the camera.  Is this correct?

    I noticed that under the Calibration of the camera, camera profile_name I only had the choice of ACR 4.4 or ACR 4.2 and then manually upgraded to 4.6 (I had not checked what the prior installed version was.)  This has not changed the options that are available for this setting.  Is this correct?

    The names assigned to profiles closely imitate the names given by your camera manufacturer's different scene modes.  As you probably know, Lightroom and ACR cannot read the camera settings because they are owners.  Profiles created by Adobe are designed to produce the same results as these various scene modes available on your camera.  You might want to compare my taking a JPEG using one of scene modes, then pull a raw image and apply the corresponding profile.  Then, you can compare the profile is how closely what your JPEG looks like.

  • Hi I am using jdev 11g when I try to create the database, I get this type of error massage

    Listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    so please can someone solve this problem...


    Hi you can check given SID is correct and chek Lsistner is running on the host

  • With Windows XP SP2, when 1996 install Greetings Workshop, I get an evil with the database error. This program works on any system there including other XP systems. So what's so weird on this one office computer?

    Has anyone seen this before problen? Thank you.

    Set memory size to 786 mb or less, 787 MB or superior does not. You can find more information here:- http://bit.ly/biEeTv

    Try setting virtual memory to 786 mb or less.

    Windows XP

    1. Click Start, right-click my computer, and then click Properties.
    2. In the System Properties dialog box, click the Advanced tab.
    3. In the results pane, click settings.
    4. In the Performance Options dialog box, click the Advanced tab.
    5. In the virtual memory section, click change.
    6. Change the initial size value and the value of the maximum size to a value above, click onthe valueand then click OK.
    7. Click OK to close the Performance Options dialog box, and then click OK to close theSystem Properties dialog box.
  • Not able to connect to oracle 9.2 to the sys user assistance

    Hi all

    I use oracle 9.2 on RHEL4. DB is in open mode when I try ot through the sys user connection, is asked to start the instance. But it is already in the opening mode...
    -bash-3.00$ sqlplus /nolog
    
    SQL*Plus: Release 9.2.0.4.0 - Production on Mon Jul 27 10:16:43 2009
    
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    
    SQL> conn sys/password as sysdba
    Connected to an idle instance.
    SQL>
    Alert log file...
    Successfully onlined Undo Tablespace 1.
    Sat Jul 25 16:30:44 2009
    SMON: enabling tx recovery
    Sat Jul 25 16:30:44 2009
    Database Characterset is WE8ISO8859P1
    replication_dependency_tracking turned off (no async multimaster replication fou
    nd)
    Completed: ALTER DATABASE OPEN
    Sun Jul 26 20:49:46 2009
    Thread 1 advanced to log sequence 11
      Current log# 2 seq# 11 mem# 0: /u01/app/oracle/oradata/ic/redo02.log
    "alert_ic.log" 305L, 12951C                                 305,3         Bot
    Processes that are already running
    -bash-3.00$ ps -ef|grep ora
    oracle    5939     1  0 Jul24 ?        00:00:00 dbus-daemon-1 --fork --print-pid
     8 --print-address 6 --session
    oracle    6120     1  0 Jul24 ?        00:00:00 /u01/app/oracle/product/9.2.0/bi
    n/tnslsnr LISTENER -inherit
    oracle    7188     1  0 Jul24 ?        00:00:00 /usr/libexec/gconfd-2 32
    oracle    8134     1  0 Jul25 ?        00:00:00 /usr/bin/gnome-keyring-daemon
    oracle   26315     1  0 Jul25 ?        00:00:00 ora_pmon_ic
    oracle   26317     1  0 Jul25 ?        00:00:00 ora_dbw0_ic
    oracle   26319     1  0 Jul25 ?        00:00:00 ora_lgwr_ic
    oracle   26321     1  0 Jul25 ?        00:00:04 ora_ckpt_ic
    oracle   26323     1  0 Jul25 ?        00:00:01 ora_smon_ic
    oracle   26325     1  0 Jul25 ?        00:00:00 ora_reco_ic
    oracle   26327     1  0 Jul25 ?        00:00:00 ora_cjq0_ic
    oracle   26329     1  0 Jul25 ?        00:00:24 ora_qmn0_ic
    oracle   26331     1  0 Jul25 ?        00:00:00 ora_s000_ic
    oracle   26333     1  0 Jul25 ?        00:00:00 ora_d000_ic
    root     27663 27662  0 10:01 ?        00:00:00 login -- oracle
    oracle   27664 27663  0 10:01 pts/1    00:00:00 -bash
    oracle   27710 27664  0 10:19 pts/1    00:00:00 ps -ef
    oracle   27711 27664  0 10:19 pts/1    00:00:00 grep ora
    -bash-3.00$
    Please suggest me how to overcome this problem...

    You might enter into a different SID.

    Please

    export ORACLE_SID =

    Then try to connect

  • Tracking change the sys user actions

    I use Oracle 10.2.0.3

    Is there anyway I can follow change the user account unlock or take into account the lock instructions?
    I need to update the table with the username when account unlocking or locking operations is performed.

    I know audit_sys_operations auditera sys operations and write them to a file but it will not help my problem since I want to update a table when the unlock operation account is made.

    I can't create trigger on table $ USER because it is a table of the sys user.

    Is there another way to track and update the table?

    It looks like you want a trigger on the event alter at the database level. See the first line of [table 9-4 | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#CHDGIJDB] which indicates what attributes are available inside a trigger on the ALTER event. From there, take a look at [table 9-2 | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#CHDCFDJG] which describes each of the available attributes.

    Since you are interested in changes to the users you probably want to test only the attribute ora_dict_obj_type = 'USER '.

    Further you can must use the attribute ora_sql_txt function which is available according to table 9-2 to inspec the actual SQL that was used to change the user data dictionary.

    You probably want something like this (note that this is not tested):

    CREATE or replace TRIGGER ALTER_USER_TRG
    BEFORE ALTER ON DATABASE
      l_stmt varchar2(2000);
      l_sql_text ora_name_list_t;
      n number;
      l_action VARCHAR2(50);
    BEGIN
      if (ora_dict_obj_type = 'USER') THEN
        n := ora_sql_txt(l_sql_text);
        for i in 1..n loop
          l_stmt := l_stmt || l_sql_text(i);
        END LOOP;
    
        if regexp_like(l_stmt, '(un)?lock', 'i') then
    
          null;
    
        end if;
    
      end if;
    END;
    
  • the connection to the database: 404 error # _mmserverscript...

    When I try to connect to the database, I get this error:

    (1) there is no server running on the server test.

    2) the test specified for this site server is not mapped with the... _mmServerScripts/MMHTTPDB.php URL . Make sure that the URL prefix is the root of the site.

    Can someone help pleeeeease?

    Take a look at the 6th minute of the video on this page http://helpx.adobe.com/x-productkb/policy-pricing/dreamweaver-cc-serve r - extensions.html

  • What is the database and user call?

    There is no stats appointed as "data call" in v$ statname, but there is a stats named as "call for the user. Are they the same? And what is the meaning of the call to the database? 10046 trace raw file, there are something like, analysis, fetch, exec, waiting. All of them are "database call"? And someone said "call database" is a BEAK function, anyone could put more information?

    Thank you
    Daniel

    You can read about the database calls in this great book, and one user call definitions is here

  • The difference in the value of the column of a flag in the database and OBIEE. Level of response

    Hello

    Field of the FLAG column, like "Accepted_Flag" can be {0,1} or {"n", "Y"} at the database level. Is there a way to OBIEE help we can transform this area of {0,1} to {'Y', ' n} or vice versa?

    Basically, we would like to understand if there is a way by which we can see a different output to the database and the OBIEE. Levels of responses:
    -DATABASE: Select accepted_flag from table_a returns * {0,1} *.
    -OBIEE answers: Select accepted_flag from presentation_table_a returns * {"n", "Y"} *.

    Please notify.

    Thank you and best regards,
    Abhishek

    You can create a logical column or responses using case statements:
    -case when table_a.accepted_flag = 1 then 'Y '.
    When table_a.accepted_flag = 0 then 'n '.
    end

  • Link to the database of Oracle 11 g 11.2.0.3.0 to SQLServer 2012 - 11.0.5058.0 (X 64)

    Hello.

    I read a lot of discussion and documentation on this subject, but the things I'm trying to work.

    I want to connect from Oracle to SQL Server. I did the following steps:

    (Taking into account, that I want to connect to a database SQL SERVER called GS2PIASQL03\INSTANCE3)

    Create the odbc connection in the oracle called running GS2PIASQL03 Server

    Name: GS2PIASQL03

    Description: GS2PIASQL03

    Server: GS2PIASQL03\INSTANCE3

    With authentication sql server using a login ID and passwotrd entered by the user

    Connect to sql server to obtain default settings for the configuration option extra

    User: rema_read

    Password: xxxxxxx

    Master default database

    Use ANSI quoted identifiers

    Use nulls, padding and ANSI warnings

    Perform the conversion of character data

    Finishing and test the source data before TESTS COMPLETED successfully.

    Content of LISTENER.ora

    listener.ora # Network Configuration file: S:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:S:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = CRM)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = S:\app\oracle\product\11.2.0\tg_1\bin\dg4odbc.exe)
    )
    (SID_DESC =
    (SID_NAME = CRMSVC)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = REMA)
    (ORACLE_HOME=S:\app\oracle\product\11.2.0\dbhome_1)
    (SID_NAME = REMA)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = S:\app\oracle

    Content of the TNSNAMES file. ORA

    tnsnames.ora # Network Configuration file: s:\app\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.


    GS2PIASQL03 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)
    (HOST = 172.16.61.18)
    (PORT = 1521)
    )
    (CONNECT_DATA = (SID = GS2PIASQL03))
    (HS = OK)
    )

    Content of initGS2PIASQL03.ora

    HS_FDS_CONNECT_INFO = GS2PIASQL03

    #HS_FDS_SHAREABLE_NAME = C:\Windows\System32\odbc32.dll

    HS_FDS_TRACE_LEVEL = Debug

    Stop and start receiving and then create a database link running the following command in Toad:

    CREATE THE DATABASE LINK TEST_SQLS PUBLIC

    To CONNECT to "read_rema".

    IDENTIFIED BY 'password '.

    WITH THE HELP OF 'GS2PIASQL03 '.

    /

    When I test the link of database (with the option of Toad) or run a query such as:

    Select * of sys.sysobjects@TEST_SQLS;


    I get the same error

    *********************************************************************

    Link: "TEST_SQLS".

    Error: ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of TEST_SQLS

    *********************************************************************

    Please I really need your help I really really need this to work and I'm completely lost know.

    I look forward to hearing from you soon.

    Vinny.

    Hey Vinny,

    No, the host tnsnames.ora must not refer to the place where the SQL * Server database is active.  The tnsnames.ora entries is intended to guide the user who calls the database link by using this entry to a listener running on the computer and the port in the entry. The listener then directs the user to everything that is referenced by the SID in the listener. If it is an Oracle database, then you are linked to the database. If this is an entry of gateway referenced by having the (HS = OK) then you are linked to the gateway which then liaises with what non-Oracle database is accessible through the gateway of the option.  You cannot directly connect to the non-Oracle database by using the IP address of machine non-Oracle in tnsnames.ora. You need to go through the door entry referenced by the listener to establish the connection.

    For the listener, you can set the path to the ORACLE_HOME of the gateway or RDBMS. However, the best option is to give the listener a different name from the default, so for the gateway, you might have-

    SID_LIST_LISTENER_GTW =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = GS2PIASQL03)

    (ORACLE_HOME=S:\app\oracle\product\11.2.0\tg_1)

    (PROGRAM = dg4odbc)

    )

    )

    LISTENER_GTW =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1525))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    )

    )

    You can then use-

    stop LISTENER_GTW

    Start LISTENER_GTW

    Kind regards

    Mike

  • How to check the CPU usage in the database

    How to check the CPU usage?

    in Linux and database level

    Hello

    under Linux, you can use mpstat command, for example:

    [oracle@vSLLGM132 ~] $ mpstat Pei ALL 2 10
    Linux 2.6.32 - 300.10.1.el5uek (vSLLGM132) 23.11.2014

    14:27:08 CPU user nice sys % iowait % irq % sweet % fly % idle intr/s
    14:27:10 all 1.00 8.50 9.00 0.00 0.00 0.50 0.00 1423,50 81.00
    14:27:10 0 1.00 8.50 9.00 0.00 0.00 0.50 0.00 81.00 26.50

    CPU utilization tracking can be done with the command SAR u.
    .

    At the database level: data dictionary views: v$ sysstat, v$ iostat, V$ SYSMETRIC_HISTORY.

    Read the MOS Notes:

    Diagnose hardware base caused by Performance issues (Doc ID 148176.1)

    Troubleshooting: The use of high processor (Doc ID 164768.1)

    Concerning

    Borys

  • How to display an image from the file in the database

    I want to be able to display an image from the file that I have stored in a database. In the database, the image is store as a file with numbers. When I go to display only the sign of an image appears. I want to be able to display the image not the symbol for numbers of the image or file. I know I'm close I just can't understand what I'm messing, to get the image to display.

    Here is the code:

    <? PHP require Connections/Connections.php"?" >

    <? PHP

    session_start();

    {if (isset($_SESSION["fname"]))}

    }

    else {}

    Header('Location:NewRequest.php');

    }

    ? >

    <? PHP

    $User = $_SESSION ['Pnom"];

    $result = $con-> query ("SELECT ALL * from newrequest where Fname ="$User"" ");

    ? >

    <! doctype html >

    < html >

    < head >

    < link href = "CSS/Master.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "CSS/Menu.css" rel = "stylesheet" type = "text/css" / > "

    < meta charset = 'utf-8 '.

    ReviewRequest < title > < / title >

    < / head >

    < body >

    < div class = "Container" >

    < div class = "Header" > < / div >

    < div class = "Menu" >

    < div id = 'Menu' >

    < nav >

    < ul class = "cssmenu" >

    < li > < a href = "Account.php" > account < /a > < /li > ""

    < li > < a href = "UpdateAccount.php" > update account < /a > < /li > ""

    < li > < a href = "NewRequest.php" > new request < /a > < /li > ""

    < li > < a href = "ReviewRequest.php" > Review Request < /a > < /li > ""

    < li > < a href = "LogOut.php" > sign out < /a > < /li > ""

    < /ul >

    < / nav >

    < / div >

    < / div >

    < div class = "LeftBody" > < / div >

    < div class = "RightBody" >

    < name of the form = "form1" method = "post" action = "" >

    < table border = "1" >

    < b >

    < td = '26' height > name < table >

    Location < td > < table >

    Description < td > < table >

    Image of < td > < table >

    < Td > status < table >

    < /tr >

    <? PHP while ($row = $result-> fetch_assoc()) {? >}

    < b >

    < class td = "GFied" > <? PHP echo $row ["Fname"];? > < table >

    < class td = "GFied" > <? PHP echo $row ['Location'];? > < table >

    < class td = "GFied" > <? PHP echo $row ['Description'];? > < table >

    < class td = "GFied" > < img src = "<?" PHP echo $row ["numero_imagenom_image"];? > "alt =" "> < table >"

    < class td = "GFied" > <? PHP echo $row ['Status'];? > < table >

    <? PHP}? >

    < /tr >

    < /table >

    < / make >

    < / div >

    < div class = "Footer" > < / div >

    < / div >

    < / body >

    < / html >

    This is what it looks like when it displays:

    Capture3.PNG

    How can I actually picture to display?

    emrenilo32520834 wrote:

    I added the .jpg but the image still does not display, the images are saved in a jpg file.

    If the images in the database to follow this format - 1234567.jpg, 9897654.jpg

    Then your original code must have worked:

    Are the images in their own folder, if so you need to add this folder for code name:

Maybe you are looking for