What Oracle DBA should do on a daily, weekly, and monthly basis (I) Check alert on a daily basis. log ② check the environment ● check whether the database instance is working properly ▼ ps-ef | grep ora _ explain select status from v $ instance ● whether the listener is working properly ▼ lsnrctl status ● whether the tablespace is faulty ▼ select tablespace_name, status from dba_tablespace; ● control file,
During the Oracle database operation, the DBA should monitor the database's running log and table space usage, and discover the problems in the database as early as possible.
Oracle Warning log file monitoring
Oracle will log some of the database operations in the warning log file (alert_sid.log) during the run:
The
Differences between Oracle SYS and system users, sysdba and sysoper system permissions, and sysdba and DBA roles)
Differences between sys and system users1) The most important difference is that the importance of stored data is different.Base tables and views of all ORACLE data dictionaries in SYS are stored in SYS users. These base tables and views are
Label:The differences between Oracle DBA and SYSDBA are as follows:1. A DBA is a role that corresponds to the set of operations permissions on an object in an Oracle instance, and SYSDBA is a conceptual role that is a sign-in authentication identity. Moreover, the DBA is an
Sysdba manages oracle instances. It does not rely on the full startup of the entire database. Once the instance is started, it already exists. It logs in as sysdba and loads data.
Sysdba manages oracle instances. It does not rely on the full startup of the entire database. Once the instance is started, it already exists. It logs in as sysdba and loads data.
Differences between sys and system users
1) T
The following articles mainly describe the Common commands of Oracle DBA through the code of the actual application. If you are a beginner in Oracle DBA, you can use the following articles to understand the specific operations or related functions. The following is an introduction to the text.
Create temporary tablespa
triggered or any other method is required. Once this function is triggered, the user can be successfully promoted to DBA permissions.
Example: www.2cto.com
First, we create a user birdarmy who has the permission to create tables and functions. To facilitate the test, I directly grant them the connect and resource permissions.
SQL> create user birdarmy identified by 123456;
User created.
SQL> grant connect, resource to birdarmy;
Grant succeeded.
Use t
I used to mix dba and sysdba. Today I am discussing the differences between them in the Forum. The special record is as follows:
SYSDBA is not a permission. When a user logs on to the database as SYSDBA, the user will become SYS.
You can log on as sysdba to open the database, close the database, create SPFILE, and restore the database, which cannot be implemented by the DBA role;
Sysdba is the system p
ORACLE management-view users with DBA roles
1. view All users: select * from dba_users; select * from all_users; select * from user_users; 2. view system permissions of users or roles (system permissions assigned to users or roles): select * from dba_sys_privs; select * from user_sys_privs; SQL> select * from user_sys_privs; username privilege adm ---------------------------- permission --- zszq unlimited t
While Oracle DBAs are high-end jobs in the IT industry and demand is strong, it is essential to enter the industry to do a DBA interview. Oracle Training Center CUUG the most important Oracle DBA interview questions and answers for the O
If you want to succeed as an Oracle database DBA, you must have some questions about the relevant Oracle Database DBA. The following are some practical questions and answers, the Oracle Database DBA exam brings you some gains.
1.
The solution is as follows:
1-from the command prompt, stop ISQLPLUS: C: \> isqlplusctl stop
2-assuming that you install Oracle under C drive, run the following comands:
C: \> set ORACLE_HOME = c: \ oracle \ product \ 10.2.0 \ db_1
C: \> set java_home = % ORACLE_HOME % \ JDK
3-Change directory: Cd % ORACLE_HOME % \ Solaris \ J2EE \ ISQLPLUS \ Application-deployments \ ISQLPLUS
4-Suppose you need
Here's the solution:
1-from the command prompt, stop isqlplus:C:\>isqlplusctl stop
2-assuming that you install Oracle under C Drive, run the following comands:
C:\>set oracle_home=c:\oracle\product\10.2.0\db_1
C:\>set JAVA_HOME=%ORACLE_HOME%\JDK
3-change directory to:
CD%oracle_home%\oc4j\j2ee\isqlplus\application-deployments\isqlplus
4-suppose You need to create a new user with user name ' Yoyo ' a
Authorization for CONNECT, RESOURCE, and DBA in ORACLE
CONNECT, RESOURCE, and DBA are the three built-in roles of the ORACLE system. The role permissions are as follows:
CONNECT: users with the Connect permission can only log on to ORACLE, create entities, and create databa
space at the university and share them with you to prevent me from happening in the past, it takes a lot of time. The following are all recorded at that time:
Today, I logged on to Oracle with SCOTT. When I edited the table, I found that I didn't have the corresponding permissions. So I wanted to log on to sys and grant the DBA role SCOTT as a DBA, however, I co
Tags: style color data SP AMP c work AD managementORACLE DBA responsibility is basically equivalent to daily work.0. Database design1. Creation and management of schema Objects (table, index, etc.)2. Management of things, such as concurrency3. SQL Tuning4. User management, Rights Management5. Real-time operational monitoring (with Toad, Statspack), for SQL-related content, tuning---------------------------
Before the business system stress test, Oracle dba must complete the work in advance. oracledba
This article is the original article, reproduced please indicate the source: http://blog.csdn.net/msdnchina/article/details/42376661
Before the business system stress test, the Oracle dba must complete the following work in
; Conn Test/test as Sysoper;
is connected.
Sql> Show User
USER is "public"
Sql> Conn Test/test as Sysdba
is connected.
Sql> Show User
USER is "SYS"
Sql>
3, the difference between DBA and SYSDBA
DBA, Sysdba What's the difference between the two system roles, before I explain this, I need to talk about the Oracle service creation process
• Create an inst
. Oracle returns a warning message and starts database recovery
1
Q. 5: Bob tried to shutdown normal, Oracle said it was unavailable, and when he tried to starup, oracle said that it was already started. what is the best mode that bob can use to force a shutdown on the server
1. NORMAL2. ABORT3. IMMEDIATE4. NONE
2
Q. 6: Tom issued a command to startup the da
Oracle DBA Common Queries–1. Querying the system for all objectsSelect owner, object_name, Object_type, created, Last_ddl_time, timestamp, statusFrom Dba_objectsWhere Owner=upper (' Scott ')–2. View all system tablesSelect owner, TABLE_NAME, tablespace_name from Dba_tables–3. View all users ' tablesSelect owner, TABLE_NAME, tablespace_name from All_tables–4. View the current User tableSelect table_name, tab
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.