Hints is a mechanism provided by Oracle to tell the optimizer to generate an execution plan in the way we tell it. We can use hints to achieve:
1. Types of optimizer used
2. Cost-based optimizer optimization objective is all_rows or first_rows.
3.
--Find out the unit ID of all cash centersWithAllunitAsSelect T.organizationid Orgid,t.parentidFrom Cdms_organization t where T.category = 4Start with T.organizationid = ' 05e85693-14b0-4582-8063-8fbde85371f0 'Connect by T.parentid = PRIOR
Today, we completed a library operation with a high-load central database and implemented a rolling upgrade of Oracle (10.2.0.1->10.2.0.4) with a business interruption of just 15 minutes. Platform: RHEL as 4 + Oracle 10.2.0.1Sub-Library Purpose:1)
1. using thin ConnectionPros:The thin driver is pure Java code and uses TCP/IP technology to connect to the Oracle database through the socket of Java, so the thin drive is platform independent and requires no Oracle client installation. You only
Inside the Sql_plus execution: sql> @full_path/test.sql; Example:sql>@d:/test.sql;No commit required; Generally in the Test.sql inside the last add a commit;However, it is important to note that ";" must be added to each statement in the Test.sql
1, http://www.oracle.com/technetwork/topics/winsoft-085727.html download the corresponding version of the Instanctclinet Zip package 34M decompression after 92M To select a non-32-bit operating system, find http://www.oracle.com/technetwork/database/
First, get helpExp/imp help=ySecond, data export1. Fully export the database and set the full optionExp System/[email protected] file=d:\db.dmp full=y2, export the database structure, do not export data, set the Rows optionExp System/[email
It is important to understand the architecture of a technology, especially one that is so complex as the knowledge system of Oracle database. At the same time, personally, it is not necessarily a professional DBA personnel need to understand its
Create a tableSql>create Table Classes (ClassId Number (2),CNAME varchar2 (+) ,Birthday Date);Add a fieldsql>alter Table Student Add (classId number (2));Modify field lengthSql>alter Table Student Modify (XM VARCHAR2 (30));Modify the type of the
Under Windows, you can use the wizard to create a database step-by-stage, noting coding.Windows connects to a DB instance (otherwise it defaults to one instance):Set Oracle_sid=test--Login to create table space and user who can manipulateSqlplus/as
Background database operation of a table is found to have been out of suspended animation state, may be that the table is locked by a user, followed by a detailed description of your query is locked table and how to unlock, interested in you can
Log in to the database you need to back up using PL/SQL developer;
Select Tools, export user objects;
Select the object in the object list that needs to be backed up, then select an output file of SQL type, click "Export", this is just the
Functions in Oracle
Oracle has built in a number of functions, different functions have different roles and usages, some functions can only work on one record line, some can work on multiple record lines,
1. Installation PrerequisitesFirst make sure that your computer is not installed before, or that it has been installed and uninstalled. As for how to check if uninstall clean can look at the Oracle Uninstall step behind me. 2. Oraclethe installation.
Original: http://www.jb51.net/article/37633.htmNumber (precision, scale)A) precision represents a valid bit in the number, and if no precision is specified, Oracle uses 38 as the precision.b) If scale is greater than 0, indicates the number of
Large page Memory
NotesNote 1:cannot use Oracle Automatic memory management; NOTE 2:The goal is to reduce the use of swap; Note 3:recommended SGA greater than 8G; Note 4:limited to Linux systems only; Note 5:do not use/DEV/SHM
Stored procedures are used to perform specific operations when a stored procedure is established, you can specify either an input parameter (in) or an output parameter (out), you can pass the data to the execution part by using the input parameters
Oracle's schema, schema, model, and user references are as follows:Http://blog.sina.com.cn/s/blog_61ebea690101756n.htmlHttp://www.tuicool.com/articles/IzAZbiUHttp://blog.sina.com.cn/s/blog_6fda3085010133f4.htmlHttp://www.2cto.com/database/201205/1312
(a) in the process of using Oracle, we will often encounter some of the errors generated by Oracle, for beginners, these errors may be a little vague, and may not know how to deal with the resulting errors, I use the more frequent error code one by
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