DBAs often need to reinstall or install Oracle on new machines in their daily work. However, the waste of time, energy, and setbacks of each installation test the DBA's affordability, this article focuses on a simple method for copying and migrating
Oracle 10R2 releases the asmcmd tool to manage files stored in asm.1. To use the asmcmd command, you must first start the asm instance. Otherwise, the following error occurs:
Rac2-> asmcmd-pA ORA-01034: ORACLE not availableORA-27101: shared memory
901. CHAINED_ROWSStores the output of the ANALYZE command with the list chained rows clause.
902. CHAINGE_SOURCESAllows the publisher to view existing changed resources.
903. CHANGE_SETSAllows the publisher to view existing change settings.
904.
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 (
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
How to configure Oracle listener. ora file Oracle listener is an important database server component and plays an important role in the entire Oracle architecture. Listener Lisener FunctionFrom the current Oracle version, Listener is mainly
Method 1 for Oracle to view the table structure. The DESCRIBE command is used as follows: SQL> describe nchar_tst (nchar_tst is the table name): Is the name blank? Type -------- struct name nchar (6) ADDR NVARCHAR2 (16) sal number (9, 2) 2. Use the
Oracle SYSAUX tablespace recovery SYSAUX tablespace is a new tablespace introduced after 10 Gb. It is mainly used to reduce the pressure on the SYSTEM tablespace and serve as the auxiliary tablespace of the system tablespace. Many components
[Oracle] in Oracle, NULL-> null and in: null values are not included in the in result set. A105024 @ O02DMS1> select * from test; id name ---------- ------------------ 1 a B 3 C A105024 @ O02DMS1> select * from test where id in (1 ); id name --------
Oracle sets primary key auto-increment. Oracle does not have an auto-increment field. It can be indirectly implemented through sequence + trigger. In cmd, you can log on to sqlplus and run it directly. The steps below generally take place: 1. Create
Group function processing of NULL values Group functions ignore null values in the column (GROUP functions ignore NULL values) as follows: SQL> select count (*) from employees; COUNT (*) ---------- 107 SQL> select count (commission_pct) from
Oracle Cursors syntax summary about Oracle Cursors syntax summary, Oracle Cursors is used to query the database, get a record set (result set) pointer, allows developers to access one result set at a time and perform operations on each result set. 1.
The size limit of a single data file in the oracle database. For example, if you see an error, you may think that the size of the data file conflicts with the restriction rules, because you have learned some related knowledge before, I was a little
Analysis of insufficient permissions for creating view in Oracle: After logging on to Oracle using USER1 and other users, the system creates a view and prompts "insufficient Permissions". How can this problem be solved? This is because the account
There are many articles such as Oracle Data lock quick detection and removal on the Internet. I hope to quickly find all row-level locks in a table and remove them together. So I improved it: if you want to use the kill-9 sessionPid method, the view
[Oracle]-[Index]: check data before creating an index, or create an index before inserting data. Problem: 1. Create a new table structure and create an index, import millions or tens of millions of data into the table using insert. 2. Create a new
The oracle multi-row merge technique often combines fields in a column when writing SQL statements. For example, the monthly salary of a person is listed, but each person can only take one row. In such scenarios, you may also use row-column
"_ Sort_elimination_cost_ratio" [SQL] create table t1 as select * from dba_objects where object_id is not null; alter table t1 add constraint t1_pk primary key (object_id ); create index t1_ind on t1 (object_type); alter session set optimizer_mode =
Differences between SYS and SYSTEM, DBA and SYSDBA: SYS and SYSTEM: 1. the role of sys is sysdba system and sysoper 2. sys has the create database permission. system does not have this permission. 3. sys can create and modify the base table and view
An ORA-01722 is reported when oracle retrieves data: An invalid number solves the SQL statement as follows
SQL code select * from yhb_h t where t. user_id = 56456464
The following error is reported during data retrieval:
Java code. SQL.
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