Sys is the account with the highest permissions in the Oracle database and has the create database permission. system does not have this permission. The role of sys is sysdba, and the role of system is sysoper.
The remaining permissions are shared
Oracle Sys users cannot log on with the default password change_on_install (error code: ORA-28009)
When you log on to the database using the default Oracle SQL Plus, you can use the system user's default password manager to log on to the
I. Move data files:
-You can use alter database or alter tablespace to move data files.
1. alter database method;
-This method can be used to move data files in any tablespace.
◆ STEP 1. database:
$ Sqlplus/nolog
SQL> CONNECT INTERNAL;
SQL> SHUTDOWN;
In fact, with the Instant Client, there may be no need to try to create an Oracle Client. Here, I want to explain my reasons:
1. The bug of the Instant Client is much higher than the package of the Oracle Client, which has been found in many
The following code has been tested and can be run directly.A brief description of Oracle analysis functions, multidimensional functions, and Model functions, mainly for BI report statistics, not necessarily comprehensive, but a few instructions on
Tax initiation: 3000
SQL codeCreate or replace function tax (v_salary in number) return number isV_expense number;-- Deduction for quick calculation at this level = maximum income at the upper level × (current tax rate-higher tax rate) + deduction
4. Operate instances
4.1 single and multi-columns support Chinese search
Create table mytable1 (id number primary key, doc1 varchar2 (400), doc2 clob, doc3 clob );
Insert into mytable1 values (1. Today's weather is good. I want to go shopping.
3.10 common scripts
3.10.1. Delete preference:
Begin
Ctx_ddl.drop_preference (my_lexer );
End;
3.10.2. Index reconstruction:
Alter index newsindex rebuild parameters (replace lexer my_lexer );
3.10.3 synchronize Indexes
Begin
Ctx_ddl.sync_index (
7.1 What is redo logThe most critical part of the recovery operation is redo logs, which include two or more pre-allocated files to store all the changes in the database. Each database process is associated with the redo log to prevent instance
6.1 Introduction to control filesThe control file is a very small binary file.Define the physical status of the current databaseEnsure database integrityRequiredUsed when the database is started to the mount status to help the database startThe
Several minor issues with Oracle Automatic Memory Management (1) after automatic memory management is enabled, what if the pool value is set to a non-0 value? For example, if sga_target = 10G is set, but java_pool_size is set to 10 m, 10 m will be
Oracle Database Programming: basic concepts of Oracle databases 1. Basic concepts of Oracle databases: Oracle memory structure: the Oracle memory structure can be divided into the shared memory area and non-shared memory area, the shared memory zone
[Oracle] dbms_metadata.get_ddl usage summary dbms_metadata.get_ddl () is used to obtain the object's DDL. Its usage is as follows. Note: In sqlplus, the following parameters must be set to better display DDL:
[sql] set line 200 set pagesize 0 set
The Automatic diagnosis tool ADDM is short for the Automatic Database Diagnostic Monitor. It is literally an Automatic diagnosis tool. This tool can discover potential performance problems and bottlenecks, and provides suggestions and solutions to
PLSQL garbled & TNS-12557: protocol adapter not loadable solves 1. garbled is a character set problem.
Set NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK
Or
Set NLS_LANG = AMERICAN_AMERICA.UTF8
Yes. 2. I encountered a link to TNS-12557: protocol
[Oracle]-[architecture-LGWR]-some understandings of LGWR: LGWR, short for Log Writer, is also a background process. It is mainly responsible for writing the log buffer content to online redo log files or groups on the disk. Before DBWn writes the
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service