Restore Segment Purpose:Transaction fallback--when a transaction modifies a row in a table, the old image of the modified column (the data to be restored) is stored in the restore segment. If the transaction is rolled back, the Oracle server
Modify the Oracle SGA to improve Oracle performance
Under normal circumstances, the query is very slow.
1, check the SGA size, as a DBA to connect to the Oracle database, input show SGA.
2, if the SGA is too small, please modify its size
To
Connect Resource Permission
Grant Connect,resource to user;
Permissions that the user includes after executing the above SQL statement:
Connect Role:--is the typical right to give end users, the most basic
Alter session--modifying sessions
Create
When querying the data,
SQL Server is not case-sensitive by default. If you want to differentiate, you need additional settings.
Oracle is case sensitive by default. If you don't differentiate, you need additional settings.
The following are
Svrmgr> select * from Dba_jobs;
Initialize related parameters job_queue_processesAlter system set JOB_QUEUE_PROCESSES=39 scope=spfile;//maximum value cannot exceed 1000 job_queue_interval = 10//Schedule Job Refresh frequency secondsDba_jobs
Indexes have a great effect on the performance of database access, and designing a reasonable index is very important for system performance adjustment. Using indexes is the most difficult point in the database development process. There are several
A B-Tree index has only one root node, which is actually the topmost branch node in the tree.
You can use the following figure to describe the structure of the B-tree index. where b represents the branch node, and L represents the leaf node.
For a
Instructions for use:1, Long data type is stored in variable-length strings, the maximum length limit is 2GB.
2, for more than a certain length of text, the basic only long type to store, the data dictionary many objects are defined in a long to
Oracle and RAW Device FAQ1. What is called a bare device.A bare device, also called a bare partition (raw partition), is a special character device that is not formatted and is not read by UNIX through a file system. It is the responsibility of the
The database server character Set select * from Nls_database_parameters, which originates from props$, is the character set representing the database.The client character set environment select * from Nls_instance_parameters, which originates from V$
Can be rolled back after execute execution
Flash back to restore original data after commit commitIn fact, Oracle submitted data is two-step operation, the first step execute execution, the second step commit. The corresponding Pl\sql is also to
A. Modifying an Oracle instance under Windows platform does not start with the service:
1, modify the registry key value to achieve the following:Hkey_local_machine\software\oracle\key_oradb10g_home1
2, found on the right to find the
Select sequence name. Currval from dual; Gets the current value of the sequence, which is variable.
It is to be noted that:
After a successful database connection, the first execution of this sentence, will report an exception, can not be used.
Sometimes accidentally switch to the Virbox view of the switch to Scaled Mode,vbox above the control bar disappeared, when in order to facilitate switching to other view mode, there is nothing to find the control button. Then you need to switch the
Trigger TRIGGER
Always poison not invade I unexpectedly in this joint eye on the cold, the head is also dizzy, a confused don't know what to think, thief uncomfortable, cough cough cough.Today, another basic object in the Oralce database-triggers,
You can save large text using a long type in Oracle, but the operation Long data differs from the general data type, and the following example shows how to save the data to a long field.
The data is saved to a long field, which is tested using a
The following EMP table is a table with ORCL database instances.
Before executing a stored procedure, you must first execute SET serveroutput on;
Show error; You can display specific execution error messages.1. With no parameters
A. Create A
Oracle creates table spaces, creates users, and authorizesAfter Oracle is installed, there is a default database in which we can create our own database, in addition to the default database.To avoid the hassle, you can create a database with the '
Stored ProceduresA set of SQL statements that are used to complete a specific database function that is compiled and stored in the database system. At the time of use, the user invokes and executes a stored procedure name that has already been
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