Oracle Storage in Action: deleting physical data files

ALTER tablespace xh_dm DROP datafile ' F:\DEV\ORACLE-DATA\ORCL\XH_DM_1.DBF ';sql> ALTER tablespace XH_DM2 DROP datafile ' F:\DEV\ORACLE-DATA\ORCL\XH_DM_1.DBF ';ALTER tablespace XH_DM*ERROR at line 1:Ora-03262:the file is Non-empty1 --Oracle Storage

Common Exception Handling for Oracle

Summarizes the Oracle exceptions and handling methods that are often encountered when working with databases. Code Tips NoteGeneral processing methods ORA-01861 The text does not match the format string-

Bugs that are easy to ignore after ORACLE is grouped

Col_2 Col_321 3123 31As above table dataFront desk display shows the need to convert col_2 21 and 23 into Chinese ' machine ' starting with the following writingSELECT T.col_3,Case T.col_2WhenMachineWhenMachineENDFrom A_test_1 tGROUP by

Oracle Insert Multiple rows

1. General insert operation.  Use syntax insert INTO table_name[(Column[,column ...])] VALUES (Value[,value ...]) Insert statement, each insert can only be inserted into one of the specified data in the target table. If there are many rows that need

Oracle First experience A

In Oracle's initial experience, the installation of Oracle was completed, but no DB instance was created and the listener was created, and in this article I will completeCreate a DB instance------------------------------------------------------------

Oracle First Experience Two

The database instance was created in the previous installment, but there was a problem when the DB instance was last accessed with EM?Enterprise Manager cannot connect to the DB instance. The status of the components is listed below.To answer the

Oracle Foundation Note Six

Sixth Zhang Ziyi ( Enquiry1. Sub-query syntax:SELECTselect_listFromtableWHEREexpr operator (SELECTselect_listFromtable);A subquery (inner query) executes one time before the main query.The results of the subquery are used by the main query

Standard installation method for ORACLE 11G under Linux (bottom)

First, related foldersOracle_base is the root of Oracle, and Oracle_home is the catalog for Oracle products. Under Oracle_base is admin and product.Oracle_home is the Oracle command, connection library, installation assistant, L monitoring and so on

Oracle Foundation Note One

1. Basic SELECT Statement1. Basic SELECT StatementSelect identifies which columns are selected.From identifies the table from which to select.Attention:SQL language is not case sensitive.SQL can be written in one line or multiple linesKeywords

Oracle Insert Time

Symptom: Oracle Insert time, Error: ORA-01861: text does not match format stringWorkaround:This error usually occurs on the time field, that is, the time format you inserted is inconsistent with the existing time format of the database, and the

Start Oracle under Linux

Starting a database instance is divided into two steps: The first step, start monitoring, and the second step, start the DB instance. I. How to start a DB instance 1. Go to Sqlplus launch instance [[email protected] ~]$ su-oracle--"Switch to Oracle

Points to note when creating an Oracle database

Plan tables and storage spaces to prevent space shortages or wasted space Plan for a quick recovery zone, define the fast recovery zone in a different storage area from the data file, reducing IO contention Name of the planning

Oracle Custom comparison functions

1> the custom comparison function, the value of Targetval is a string, for example: ">=90", "2~8", and so on, the Dataval value is a string.Create or Replace functionCompare1 (Targetvalinch varchar2, Datavalinch varchar2)return integer

Oracle Learning Notes permissions role with several basic commands

dba

Three frequently used users after a newly installed OracleUser: System Password: When the manager is created, a change password can also be modified,User: Sys Password: changr_on_installUser: Scott Password: TigerThere are three tables under user

oracle-Force Stop Job

One: The gentle way:1, view all job;SELECT * from Dba_jobs;2, check the running job;SELECT * from Dba_jobs_running;3, according to SID isolated the corresponding session;Select sid,serial# from v$session where sid= ' &sid ';4, kill the corresponding

Oracle Foundation Note Four

Fourth Multi-table query1. Descartes SetThe Cartesian assembly is produced under the following conditions:Omit join conditionInvalid connection conditionAll rows in all tables are connected to each otherTo avoid a Cartesian set, a valid join

Oracle Learning----A special way to connect

1. Cartesian product Merge Join CartesionSql> select Ename,dname from Emp,dept;56 rows have been selected.Execution plan----------------------------------------------------------Plan Hash value:2034389985----------------------------------------------

Oracle Storage in Action: Delete physical data files, oraclestorage

Oracle Storage in Action: Delete physical data files, oraclestorage Alter tablespace XH_DM drop datafile 'f: \ DEV \ ORACLE-DATA \ ORCL \ XH_DM_1.DBF '; SQL> ALTER TABLESPACE XH_DM2 drop datafile 'f: \ DEV \ ORACLE-DATA \ ORCL \ xh_dm_1.dbf

Oracle-force stop job

Oracle-force stop jobI. gentle approach:1. view all jobs;Select * from dba_jobs;2. view the running job;Select * from dba_jobs_running;3. Find the corresponding session based on the sid;Select SID, SERIAL # from V $ Session where SID = '& SID ';4.

Oracle11g manual steps

Oracle11g manual steps #create oracle instance parametervi initkevin.ordb_name='kevin'memory_target=0sga_max_size=5Gsga_target=3Gpga_aggregate_target=1gprocesses = 150audit_file_dest='/u01/app/oracle/admin/kevin/adump'audit_trail ='db'db_block_size=8

Total Pages: 2147 1 .... 2045 2046 2047 2048 2049 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.