The database version is oracle10g
In a database server operation: will need to transfer the database a cold backup, cold backup, I am very simple.
Start-to-run:
/ as // log in to the database with DBA Authority Sqlplus > shutdown
1. Create a new tablespace newspaces (original tablespace oldspaces)2. Export data from the original tablespace (TEST.DMP), then import the previously exported data (TEST.DMP) in the new tablespace, and select Import from user to user3. Execute the
Without Oraclehoume, execute the environment variable fileSqlldr userid= DM/DM control =/home/oracle/libc/load.ctlLoad dataInFile '/home/oracle/libc/data.txt 'INSERT INTO Table Tmp_dm_user_total_monthFields terminated by ' \ t
For unknown processes to crs_stop-f the process nameStart againCRS failed to start Crs_start-all Crs-0184:cannot communicate with the CRS daemon.Because Crs_start is an application-level directive, it fails when it starts CRS[Email protected] ~]$
USEREVN () in Oracle1.USEREVN ()Returns information about the current user environment, opt can be: entryid,sessionid,terminal,isdba,lable,language,client_info,lang,vsize1.ISDBA See if the current user is a DBA if yes returns true sql> select
Racle 10g Wmsys.wm_concat Use of the row and column conversion functions:First let's take a look at this magical function wm_concat (column name), which separates the column values by the "," number, and displays them as a line, and then the example
Use SEQUENCE -Create SEQUENCE create sequence emp_sequence INCREMENT BY 1 -- Add a few each time; start with 1 -- counting starting from 1; NOMAXVALUE -- does not set the maximum NOCYCLE --
ORACLE 11G features a new feature that does not allocate segment when the table has no data to save spaceWorkaround: 1, insert a row, and then rollback will produce segment.The method is to insert data into the empty table and then delete it,
Create or replace procedure Qianfeigl_jiaokuandy (Cebenh varchar2, Kehuh varchar2, Hetongh varchar2, v_cur out query_pkg. Query_cur)IsSqlstr VARCHAR2 (3000);Beginsqlstr:= ' Select A.S_CH,A.S_CID,C.S_HETONGH,A.D_CAOZUOSJ from Zw_yingyez a left joins
1, simple Query method of lock table statement Select from where t1.session_id = ORDER by T2.logon_time2, for the results of the above query to unlock, as shown belowAlter Kill ' 382,1125 '3, lock table detailed information querySelect dba_objects.
Risks of incorrect selection of Oracle Database Design Field Types
A hidden danger of inaccurate data types. The following constructs a table storage date field, one storage varchar2, and one storage date for a test. I have also written two blogs
Oracle homepage on the Web
The code in this example only describes how to use common Oracle paging methods on the Web. It does not involve MVC, code optimization, and so on. For more information, see.
Zookeeper ---------------------------------------
Oracle Database official statement does not support Vmware
Oracle explicitly stated on its official Support website in September that it does not Support running Oracle databases on VMWare.What should we do in the current era of virtualization?I
Oracle Database optimization and optimization steps
Identify the current status of the system
System server model
CPU speed and quantity
Memory size
I/O device status
Network Conditions
Number of system users and number of concurrent
Oracle Silent Installation
Download the oracle installation package:
:
Note: To download oracle, you must register oracle.
Http://download.oracle.com/otn/nt/oracle11g
Download two
Oracle10g (32, 64-bit) is successfully installed in win7 (32, 64-bit) and whether the installation is successful
Win7-32-bit installation 32-bit oracle10g, win7-64 32-bit installation, 64-bit oracle10g can refer to this case.
Reference:
Shared SQL statement for Oracle performance optimization learning notesTo avoid repeated parsing of the same SQL statement, Oracle stores the SQL statement in memory after the first parsing. The memory in the shared buffer pool of the SGA
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