use of the SYS database user
Not a question, I can me asking, but I'm looking for a complete as a possible answer to this question:
Where maintenance of eBS, upgrade,... is clogging, the SYS password?
Reason for asking is: database administrator - who is not a Director of the eBS - asks if it is possible that the SYS password is maintained by DBA only, not by Apps DBA.
For clarity; It is database SYS user, no SYSTEM.
Thank you
Tony
An Apps DBA, I want access to the SYS account for various reasons:
-Grant/revoke privileges on schema objects (esp for the customer drawings)
-Maintain the database (change data files, storage spaces,... etc)
Start/stop of the database
.. etc.
If you have two different groups on your team (Apps DBA and Core DBA) who maintain the database/application so he can take care of the above. However, if your Apps DBA are the only ones who take care of all the components of EBS, then having access to SYS is required.
Thank you
Hussein
Tags: Oracle Applications
Similar Questions
-
use of the SYS prefix in front of dbms.output)
Hi all
Maybe it's stupid. But I have a question what is the difference between the following two:
DBMS_OUTPUT. PUT_LINE ('TEST');
AND
SYS. DBMS_OUTPUT. PUT_LINE ('TEST');
What is the use of the SYS prefix?
Concerning
Sylvie788844 wrote:
Maybe it's stupid. But I have a question what is the difference between the following two:
DBMS_OUTPUT. PUT_LINE ('TEST');
AND
SYS. DBMS_OUTPUT. PUT_LINE ('TEST');Not stupid at all. It is a problem of scope-resolution.
All programming languages have the scope-resolution. You are referring to a call (method, function, procedure, etc.). The system (compiler or at a time of engine performance) needs to understand exactly what you are doing reference, in order to execute this call.
In the case of PL/SQL, PL/SQL engine will use first of all the local scope - in other words, objects (procedures, functions, variables, etc.) defined in the schema, and a unit of current code.
If it fails to resolve the reference to appeal, it seems within the reach of the public.
Dbms_output.put_line () is a call reference package. So the 1st check would be local control. This package exists in the current schema? Is there a local synonym that can be used?
In case of failure, scope becomes public. Is there a public reference (synonymous in this case) that solves that?
The answer for DBMS_OUTPUT is Yes - and this public synonym refers to the package belonged to the SYS schema.
If you had a local package with the same name, or a local synonym, then that would have been used.
When you encode now SYS. Dbms_output.put_line () instead, you explicitly specify the scope to the PL/SQL engine. You say that you're referring to the DBMS_OUTPUT object belonged to the SYS schema.
Both methods have some advantages and disadvantages.
Simplistically, the implicit scope (where leave you the engine to search for the object you are referencing) offers more flexibility. Let's say you need to change the behavior of the DBMS_OUTPUT - do it for example also write output to a log file. You can create your own package DBMS_OUTPUT with the exact same interface as the SYS. DBMS_OUTPUT package. Inside of your custom package, you can write the output to a log file and then call the SYS. DBMS_OUTPUT package to do its part.
The original source code using DBMS_OUTPUT.put_line () works unchanged. Is what you have now introduced a local reference meets the criteria of the scope - and your local DBMS_OUTPUT package is now used instead.
Scope explicit can claim to be safer. That no person shall "divert" calling your code by manipulating scope of the resolution - and do the above and create a custom of DBMS_OUTPUT package. But it also makes the code much more rigid.
In general in PL/SQL - extended implicit is desirable because it provides the flexibility that is often necessary. When writing "of trust' global code that does cool stuff user and must be trusted to always do the right thing, then brought explicit should consider instead.
-
The component of Oracle Data Guard is free to use on the production database?
The component of Oracle Data Guard is free to use on the production database?
If not, how much is the fee?
What about Oracle coherence?http://www.Oracle.com/corporate/pricing/technology-price-list.PDF
Coherence Standard Edition 100 22.00 4 600 1,012.00
Coherence Enterprise Edition 230 50.60 2530,00 11 500
Coherence Grid Edition 500 110.00 5,500.00 25 000
Coherence Suite 1 000 220,00 11,000.00 50 000
BPEL Process Manager 1 200 264.00 60 000 13 200.00DataGuard active 120 26.40 5 800 1,276.00
The regular care of the data is free -
Area of private use in the Oracle database
Hello
one of my customers have very specific needs. In this case, it has its own "characters". It uses Latin characters and certain characters. Their data are mixture of these characters. Their own characters are not in Unicode format and we have specific policies.
These specific characters will be in the private use area, but I don't know if and how the Oracle database support unicode private use area.
Oracle database support unicode private use area?
And what sorting, filtering data? What classification is applied?
Does anyone have experience with characters in the private use area?
Thank you
Fabrice.
Oracle supports Unicode PUA you can store codes of PUA in a database AL32UTF8 and you can treat strings containing characters without special considerations. PUA characters are classified into letters in the Oracle database.
Oracle maps the characters (EUDC) user of various character sets defined multibyte (JA16SJIS, ZHS16GBK, ZHT16MSWIN950, KO16MSWIN949, etc.) to the characters of PUA. These characters are also used by the former Hong Kong HKSCS extension mapping. If supporting user-defined characters in PUA is not a problem for the customer, they can use the standard plane 0 (BMP) PUA [U + E000 to U + F8FF] in their purpose. However, to avoid conflicts with existing maps, they should put their characters in plane 15 PUA [U + F0000-U + FFFFD] or plane 16 PUA [U + 100000-U + 10FFFD]. The downside is that the planes 15 and 16 require four bytes per character in AL32UTF8 compared to three bytes for plane 0.
The classification applied to the characters PUA is the same as that applied to the other characters in a given environment. The order of the characters PUA in the given classification, depends on the type of snack:
- In BINARY classification, the comparison is obviously based on binary codes. The order depends on encoding (AL16UTF16 vs AL32UTF8), especially for aircraft 15 and 16 PUA plane.
- In monolingual rankings (which are not well suited for Unicode characters anyway) PUA are generally ignored in the sorting (but does not) than the characters defined explicitly in the given classification. Compared only among themselves, they use the UTF-16 Binary order.
- In multilingual characters rankings PUA are generally classified after all characters defined explicitly in the rankings, which are characters from scripts (Latin, Cyrillic, Greek, Georgian, Armenian) Europeans and, in some rankings, an East Asian script. Between them, they are classified according to AL16UTF16 (= UTF-16BE) binary collation.
- In the UCA, the characters multilingual rankings PUA generally are classified into once all characters defined explicitly in the rankings, which are usually all defined Unicode characters. Between them, they are classified according to AL32UTF8 (= UTF - 8) binary collation. Note that the UCA rankings are new in the database Oracle 12 c.
Thank you
Sergiusz
-
How to COPY a BACKUP as the... CONTROLFILE can be used for the OPEN database
I create a document such as a "How To" to move a position for a Junior DBA controlfile.
But it seems that I'm the Junior because I am facing the following...
Action plan:
Move/rename a Controlfile
Version of the database: 11.2.0.3
Controlfiles moving of:
/ goldengate/ORCL/ORADATA /.
TO:
/ GoldenGate/ORCL/controlfile
Step 1: Set up environment variables
$> export ORACLE_SID = ORCL1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$> echo $ORACLE_SID
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORCL1
$> export ORACLE_BASE = / u01/app/oracle
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$> echo $ORACLE_BASE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/ u01/app/Oracle
$> export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.3/dbhome_1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ echo $ORACLE_HOME
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/U01/app/Oracle/product/11.2.0.3/dbhome_1
Step 2: Check control_files parameter
$> echo "see THE PARAMETER control_files | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
control_files string/goldengate/ORCL/ORADATA/control
ol01. CTL, / goldengate/ORCL/ORA
DATA/control02.ctl
Step 3: Closing the open database
$> echo 'SHUTDOWN IMMEDIATE'; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The database is closed.
The database is dismounted.
ORACLE instance stops.
Step 4: Editing of the database
$> echo "STARTUP MOUNT"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORACLE instance started.
Total System Global Area 4275781632 bytes
Bytes of size 2235208 fixed
822084792 variable size bytes
3439329280 of database buffers bytes
Redo buffers 12132352 bytes
Mounted database.
Step 5: Creating a copy of the current controlfile
$> echo "AS BACKUP COPY CURRENT CONTROLFILE FORMAT ' / goldengate/ORCL/CONTROLFILE/control01.copy.ctl'; ' | RMAN target / nocatalog
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Recovery Manager: release 11.2.0.3.0 - Production Fri Oct 22 17:03:27 2015
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID = 1420762587, is not open)
using the control file of the target instead of recovery catalog database
RMAN >
From 22 October 15 backup
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 58 type of device = DISK
channel ORA_DISK_1: from data file copy
copy the current control file
tag name=/goldengate/ORCL/CONTROLFILE/control01.copy.ctl output file = RECID = 1 STAMP = 893783011 TAG20151022T170329
channel ORA_DISK_1: datafile copy complete, duration: 00:00:03
Backup finished at 22 October 15
RMAN >
Complete recovery manager.
Step 6: Change of parameter control_files
$> echo "ALTER SYSTEM SET control_files='/goldengate/ORCL/CONTROLFILE/control01.copy.ctl' SCOPE = SPFILE;" | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Modified system.
Step 7: Closing of the mounted database
$> echo 'SHUTDOWN IMMEDIATE'; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA-01109: database is not open
The database is dismounted.
ORACLE instance stops.
Step 8: Installation of the database
$> echo "STARTUP MOUNT"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORACLE instance started.
Total System Global Area 4275781632 bytes
Bytes of size 2235208 fixed
822084792 variable size bytes
3439329280 of database buffers bytes
Redo buffers 12132352 bytes
Mounted database.
Step 9: Check control_files parameter
$> echo "see THE PARAMETER control_files | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
control_files string/goldengate/ORCL/CONTROLFILE/c
ontrol01. Copy.CTL
Step 10: Open the mounted database
$> echo "ALTER DATABASE OPEN"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALTER DATABASE OPEN
*
ERROR on line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
$> echo "ALTER DATABASE OPEN NORESETLOGS"; | sqlplus-s "virtue sysdba".
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALTER DATABASE OPEN NORESETLOGS
*
ERROR on line 1:
ORA-01610: recovery using BACKUP CONTROLFILE option must be
Then...
$> sqlplus/nolog
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SQL * more: Production release 11.2.0.3.0 the game Oct 22 17:14:43 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
SQL > CONNECT sysdba virtue
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Connected.
SQL > RECOVER DATABASE with the HELP of BACKUP CONTROLFILE until CANCEL;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA-00279: change 621941 September at 22/10/2015 16:57:33 needed to screw 1
ORA-00289: suggestion:
/U01/app/Oracle/product/11.2.0.3/dbhome_1/DBS/arch1_11_892981851.dbf
ORA-00280: change 621941 thread 1 is in sequence #11
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
Cancel
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Cancelled media recovery.
SQL > ALTER DATABASE OPEN;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ALTER DATABASE OPEN
*
ERROR on line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
Issues related to the:
What am I misunderstanding? BACKUP COPY THAT isn't really a COPY.
Why I can't use the 'copy' of the controlfile created by RMAN?
Note:
If I just copy the controlfile to the new location when the database shuts down everything works fine.
Thanks in advance.
Juan M
It is also mentioned in https://docs.oracle.com/cd/E11882_01/server.112/e25494/control.htm#ADMIN11288
Create additional Copies, rename and move the control files
-
who are the IP accessing the oracle on the oracle database user
Hello
How to check which are the intellectual property have access to the user on the oracle database oracleBrother very simple, just enable auditing and get a good, easy and authenticated the information you are looking for. The audit has been filed for this type of questions.
Concerning
Girish Sharma -
Running script to create the target database user account: OIM 11 g
Hello
We have a database resource on which accounts are created by running a set of scripts. Creating a user on the database directly is not allowed. Is this a common use case? I am sure about how IOM knows that this account was created (how I would list the resources allocated to a user)? If I'm not listed as a resource for a user account, then how changes will be...
Any suggestions or advice are appreciated.
Thank you!Do the steps in the procurement process for example process shape, object resource, etc. from process.
Call your script adapter java task map the response code returned by your script. -
What / which method to use for the duplicate database
Greetings, the Experts of Oracle
I'm trying to replicate a database (src) of production to another machine (dest) for developers to do some tests before applying the changes to the production environment. The src and dest running Oracle 10 g 2 RHEL 4, 5.
Due to the firewall in our environment policy, may that src and dest will not be able to see each other on the network. Also the directory structure will be different on src and dest.
Now, there seems to be several methods available to achieve this:
1. duplicate with RMAN, something like:
2. backup/restore with RMAN.rman TARGET sys/password@src NOCATALOG AUXILIARY sys/password@dest DUPLICATE TARGET DATABASE TO dest NOFILENAMECHECK;
3 use the Import and Export (including impdp/expdp) utilities.
From my research so far, option 1 seems to be the method for this purpose. He also manages the directory structure difference quite well. However, it requires connection to src and dest simultaneously during replication. Is there a way it could be done from a backup image instead of a connection to the database of the CBC? Other 2 options are possible? Are there any other ways I could duplicate the database given the situation?
Appreciate your help.If the CBC and destination cannot access another, then the simplest option will be #2 (restore a database to a new host: scenario) who also address the different directory structure.
-
How can I run a search to find all PST files used in the disks Home users?
Hello
I need to know how to run a search for my server files (windows Server 2003) to find all the PST files that are located in a disk of home users - including subfolders
However I need research to tell me what PST files are in use. (active)
Is anyone able to help me with this?
Hi Gonz1981,Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums as it is linked to the search server .pst files. Appropriate in instances of Windows Server.
Please post your question in the Forums of Windows Server.
-
use of the default ORAPROBE user
Hello
I would like to know more information about the user by default ORAPROBE.
Thank you.IndianDBA wrote:
HelloI would like to know more information about the user by default ORAPROBE.
Thank you.
Which; s db at 4 digits and the o/s version?
As much as I KNOW there is no default schema that is there, with this name, nor any system account by that name IMO. A quick Google search took me to the website of Pete Finnigan, who has the explanation of this user,
http://www.petefinnigan.com/default/default_password_checker.htmAman...
-
10gAS - game fixes installation problems - to the SYS password screen
Hi all
We now apply the fix 10gAS set 3 in infrastructure, as well as home of the discoverer.
1. update of the database to 10.1.0.5
Just before the beginning of step 2 reset the sys password
2 started the patch set 3 Installation [ patch 5983622 ], and to the sys password screen I entered the sys password and click Next. Got the below error message
«Impossible to validate the connection of the < NomServeur.nomdomaine.com > database SYS user: 1521: < sid.domainname.com.» Check your SYS password is correct and that the database is running'
I even tried to reset the password and restarted the installer, but the same error
I even tried to restart the database and restarted the installer, but the same error.
Listening port is running
Please advice,
Thank you and best regards,
RakeshRakesh,
Please see the following documents.
Note: 303669.1 - repository of metadata Patch failure: could not validate for the SYS database user login
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=303669.1Note: 468158,1 - "Unable to validate the user SYS" error during Installation of the Application Server fix
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=468158.1Note: 552759.1 - by applying the Patch 10.1. 2.2 metadata repository fails with "Unable to validate for the SYS database user login"
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=552759.1Kind regards
Hussein -
Extended Analytics - reason not to use the HFM database as the destination
Why can't use us the HFM database as the destination database to create patterns in Star using extended Analytics? How can we get data with metadata in tables exported using EA?As far as I know, export EA is a star that includes metadata and data schema format?
You don't would not export it to your database of the HFM application as you would ideally keep it separate for analsys by services such as Essbase OLAP?
Alternatively, you can also use Oracle Hyperion Essbase Analytics Link, which creates a permanent bridge in real-time between your HFM and Essbase applications. -
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.
ElyaIf 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.
-
Cannot display all of the databases in SQL Server 2012 when using CONTROL SERVER permission on user
Hello
I'm testing the implementation of a user who has the CONTROL SERVER permission.
I created a database MYDB with my sysadmn account.
I have the connection with another say TESTUSER user account (this is a SQL login) who received the CONTROL SERVER permission only.
The TESTUSER can see the MYDB database in SSMS.
The TESTUSER Gets a message when you try to view the tables in the MYDB pressing the sign +. :
"The MYDB database is not accessible.
If I try to do a right-click on the MYDB database, I get the following:
'User has not authorized to perform this action... ". Error 297 "
Even if I GRANT the ALTER ANY DATABASE the TESUSER permission TESTUSER still gets this error?
I thought that CONTROL SERVER permission would allow a user to see all databases even those that the user does not have?
So does the same for the ALTER ANY DATABASE permission?
Is this a bug or am I missing something?
Thank you
DOM
DOM
This issue is beyond the scope of this site and must be placed on Technet or MSDN
-
A full import by using datapump will overwrite the target database data dictionary?
Hello
I have a 11G with 127 GB database. I did a full export using expdp as a user of the system. I'll import the created dump file (which is 33 GB) on the basis of data from 12 c target.
When I do the full import on the 12 c database data dictionary is updated with new data. But as is it already contained data dictionary? It will also change?
Thanks in advance
Hello
In addition to the responses of the other comrades
To start, you need to know some basic things:
The dictionary database tables are owned by SYS and must of these tables is created when the database is created.
Thus, in the different versions of database Oracle there could be less or more data dictionary tables of different structure database,.
so if this SYSTEM base tables are exported and imported between different versions of oracle, could damage the features of database
because the tables do not correspond with the version of database.
See the Ref:
SYS, owner of the data dictionary
Database Oracle SYS user is owner of all the base tables and a view of the data available to the user dictionary. No Oracle database user should never change (UPDATE, DELETE, or INSERT) ranks or schema objects contained in the SYS schema, because this activity can compromise the integrity of the data. Security administrator must keep strict control of this central account.
Source: http://docs.oracle.com/cd/B28359_01/server.111/b28318/datadict.htm
Prosecutor, the utilities for export cannot export the dictionary SYS base tables and is marked
as a note in the documentation:
Data Pump export Modes
Note:
Several patterns of system cannot be exported because they are not user patterns; they contain metadata and data managed by Oracle. Examples of system schemas that are not exported MDSYS SYS and ORDSYS.
Source: https://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#SUTIL826
That's why import cannot modify/alter/drop/create dictionary database tables. If you can not export, so you can not import.
Import just to add new Non - SYS objects/data in the database, therefore new data are added to the dictionary base tables (as new users, new tables, code pl/sql etc).
I hope that this might answer your question.
Kind regards
Juan M
Maybe you are looking for
-
How can I get rid of the Chinese writing on my tabs
When I open a new tab to search for some kind of Chinese writing on the web covers all my tabs. How can I solve this problem?
-
How can I make a group of tiles is one fell swoop
How can I make a group of tiles is one fell swoop? Thank you very much for your help!
-
Does anyone know, if Windows 2000 is put on the laptop next would create a problem with device drivers - specifically for the serial port (RS232, communications). I wonder, as I work with old technology and require a TRUE - no USB converters series s
-
Apple does not not in the bug report
I have an open with Apple (number 23682041) bug report (subject of a problem with worms backward compatibility of the isochronous USB asynchronous in El Capitan). I posted about 1 month ago. Apple never responded to it somehow. There are other people
-
iMovie - how to input gps code in background with globe?
I got code google maps GPS and wanted to use it for the context of imovie feature - road of showing globe from one city to another. but apparently the code is not what I need to put?