First, EXP exportexp itzy/itzy@orcl file=D:\sql-bak\itzy.dmp Log=D:\sql-bak\itzy. Log exp User / password @ instance name file=log= path plus log name Ii. IMP Import1, connect to SYSDBA database Sqlplus "/ asSYSDBA "2, view the currently
Background: A table of cleanup mechanism problems, resulting in the table data has been increasing, the table water level is very high, it is necessary to clean up the table data and drop the water level.1.1 Pre-migration preparationStep one, create
The profiles file is a configuration collection of password and resource restrictions, including CPU time, I/O usage, idle time, connection time, number of concurrent sessions, password policy, and so on resource usage profile can control session
1. Check the alarm log/u01/app/oracle/diag/rdbms/orcl/orcl/trace/alert_orcl.logReal-time logs: Tail-f/u01/app/oracle/diag/rdbms/orcl/orcl/trace/alert_orcl.logTrace File ADR2. Dynamic performance view (v$) saved in memoryInformation used to access
Structure of the original tableQuery statements: Select Sno,sname,sum (language) language, sum (mathematics) Mathematics, SUM (English) English from (select Sno,sname,decode (subjiect, ' language ', grade) language, decode ( Subjiect, ' math ',
Management SectionIf database force logging is not enabled, the repository/*+ append */operation, nologging operation, will report the bad block;Suggested table space Force logging or database force logging;--force logging/nologging TestALTER
Problem descriptionCustomer reflects the system can not login;ReasonThrough testing, it was found that the Oracle user password expired, mainly because "password_life_time=180 days" was set by default in oracle11g in the defaults
1. Create a POPo_headers_allSelect po_header_id from po_headers_all where segment1 =;SELECT * from po_headers_all where po_header_id =;Po_lines_allSELECT * from po_lines_all where po_header_id =;Po_line_locations_allSELECT * from
Sqlplus system/[email protected]; View Oracle Character set: SELECT * from nls_database_parameters where parameter = ' Nls_ CHARACTERSET '; C, server-side character Set Modify ***************************************************************** *
--Query statement: SELECT Column name/wildcard/column alias/expression from table name (decoration/restriction statement)SELECT * from tab;Select Tname columns specified from tab;--Select Tabtype from tab;Select Tname "T-m" from tab;--new column
Oracle creates the user's syntax:CREATE USER username identified bypassword or identified exeternally or identified globally as ' Cn=user ' [DEFAULT tablespace tablespace] [Temporary Tablespace Temptablespace] [QUOTA [integer k[m] [UNLIMITED]] on
Tag: INF _id using select Not open RAC for loop begin1.for Loop traversalDeclareCursor Mycur is a select * from Ct_cust_info;CustInfo Ct_cust_info%rowtype;COU number;BeginFor CustInfo in Mycur loopCou:=mycur%rowcount;Dbms_output.put_line
There are four main functions in Oracle that support regular expressions:1,regexp_like: Similar to the function of like2,REGEXP_INSTR: Similar to the function of INSTR3,REGEXP_SUBSTR: Similar to the function of SUBSTR4,regexp_replace: Similar to the
Download oracleinstant-client specifically choose which version to see their actual needs, generally if the corresponding is 32-bit application then select 32-bit instantclient
Download oracleinstant-clientChoose which version to see
1, create a temporary tablespace when creating a tablespace, the DBF file is generally stored in the DataFile file under the folder (usually under the name of the instance folder) can be through the select * from V$datafile; View all data file
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