Table space management has been significantly improved, thanks to a sparser system, user-defined support for a default table space, new sysaux, and even rename How many times have you had a headache when you created a segment Other than sys and
Download instantclient-basic-win32-11.2.0.1.0.zip from the oracle.com.
Decompress the package to drive C. The OCI directory is c: \ instantclient_11_2.
Start PL/SQL developer and click Cancel. Configure ORACLE_HOME and OCI library in connection
There are two methods:
One is to declare the system cursor, the other is to declare the custom cursor, and then follow the same operation, the parameter type is
In out or out
(1) Declare the personal system cursor. (recommended)
Create or replace
Because oracle10 occupies a large amount of system resources, it is a great waste of system resources if it is always started when it is not used at ordinary times. Therefore, we can use the "service" in "Administrative Tools" to change all oracle10
Oracle does not have a convenient auto-incrementing sequence in sqlserver. If you want to achieve that effect in sqlserver, it is not very troublesome. You need to create an auto-incrementing sequence and then create a trigger.
Create sequence
Transferred from:
Oracle beginners often ask this question. Here is a unified answer.
1. If you have a certain database foundation and know what SQL is going on, you can skip to 2 even if you cannot write simple SQL statements. Otherwise, let's
Oracle optimizer has two optimization methods: Rule-Based Optimization (RBO) and cost-based optimization (cost-based optimization, (for short, CBO). In oracle8 and later versions, the CBO method is recommended for Oracle strong columns.
RBO
Permission category
1. system permission: The system requires the user's permission to use the database, that is, the user with this permission can perform specific operations in the database (the system permission is for the user ).
2. object
There are several data search methods in Oracle 10 Gb. Understanding these data search methods helps us understand the execution plan and optimize our Oracle Database System through the execution plan. You can search for data in the following ways:
Learning how to use the nbu backup file system is just the beginning for a data administrator. For most enterprises, nbu is mainly used to back up the data of enterprise databases, protect the data security of databases, and thus ensure the safe
View user connections
Disconnect a connection
View connection IP
View user connections in OracleSelect username, Sid, serial #, status from V $ session where username <> '1 ';Select Sid, SES. Serial #, SES. username, Pro. username, Pro.
Current: Refers to the current log file. This log file is active and is currently in use. It is required for current log files during crash recovery.
Active: Non-current log of the activity. The log may have been archived or not archived. The
Oracle databases are favored by more and more enterprises for their high reliability, security, and compatibility. Many database administrators are concerned about how to maintain excellent performance of Oracle databases. Based on my experience, we
Cluster Layer
Management commands at this layer include crsctl, ocrcheck, ocrdump, and ocrconfig. The last three commands are for OCR disks.
Crsctl:
Crsctl is a command line tool used to manage Oracle clusterware daemons (daemon, also known as
To use Java + Oracle to insert clob data, follow these steps:1. Insert data into the database. For the clob field, leave it empty. Example: insert into test values (1, empty_clob ())";2. Retrieve the inserted clob field from the database and assign
Guidance:
Common Oracle dump commands, record for future reference
1. Memory dumps
1). Global Area
Alter session set events 'immediate trace name global_area level n ';
1 Including PGA
2 contains SGA
4 include UGA
8 contains indrect memory
2).
/*There are four functions that support regular expressions in Oracle:1. regexp_like: similar to like2. regexp_instr: similar to instr3, regexp_substr: similar to substr4. regexp_replace: similar to replaceThey are used in the same way as Oracle SQL
I. Oracle character encoding scheme
1. single-byte character set:
In a single-byte character set, each character occupies only one byte. The single-byte 7-bit encoding scheme can contain a maximum of 128 (2 ^ 7) characters. The single-byte 8-bit
Oracle Data Pump details
Oracle Database uses Data Pump Technology in 10 Gb, allowing DBAs or developers to quickly move database metadata (object definition) and data to another Oracle database.I,Role of Data Pump Export Import (expdp and impdp:1.
The time spent preparing new SQL statements is the most important part of the execution time of Oracle SQL statements. However, by understanding the internal execution plan generation mechanism of Oracle, you can control the number of times that
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