The content of this lecture includes:
1. Description of memory components in SGA
2. Use automatic shared memory management
3. manually configure the SGA Parameters
4. Configure Automatic PGA Memory Management
I. SGA memory components
Database
How to create the best index?
1. Create an index explicitly
Create index index_name on table_name (field_name)
Tablespace tablespace_name
Pctfree 5
Initrans 2
Maxtrans 255
Storage
(
Minextents 1
Maxextents 16382
Pctincrease 0
);
2. Create a
Concept 1A cursor is a memory Workspace of SQL, which is defined by the system or user as a variable. The cursor is used to temporarily store data blocks extracted from the database. In some cases, you need to transfer the data from the table stored
Page ContextEvery time a page request is received, OAF creates an OAPageContext storage information until the new page is complete (in particular, OAPageBean creates an OAPageContext, which is mainly performed on the page background)Request and page
Exp/imp has many parameters. If you use it frequently, you can use the parameter file to improve efficiency. You can directly modify the parameter file later. You do not need to re-enter a long command.You can add or delete keywords in the parameter
A temporary table needs to be created in the project to temporarily store the data of a table. We know that it can be implemented using subqueries. The syntax is simple:
View plaincopy to clipboardprint? Create global temporary table temp1 as select
The knowledge about Oracle and DB2 data storage modes is what we will introduce in this article. Let's take a look at this part. "There is no sequence for storing data in Oracle normal tables, that is, heap tables. Oracle indexes organize tables to
How to copy the data files in ASM to the operating system environment: Red Hat 5.7 + Oracle 10.2.0.5.0 Rac + ASM if your Oracle database system uses ASM for Automatic Storage Management, you have ever wondered how to peat the data files in ASM. ASM
The Oracle instance and service knowledge point shutdown is to start the service for the instance, it does not mean that the instance is started. There are three steps to start a database: 1. nomount (that is, only instance is started, but database
To configure Oracle 11gR2 DataGuard_02, follow these steps: 1. Enable forced log 2. Configure Transmission Parameters for pri. 3. Back up the pri database. 4. Copy files to the sty end. 5. Configure transmission parameters for the sty end. 6. Start
Installing RAC encountered ClusterwarePRCT-1302: the OCR has an inva... first introduces the usage of the oifcfg-Oracle Interface Configuration tool. Usage: oifcfg iflist [-p [-n] oifcfg setif {-node |-global }{/: }... oifcfg getif [-node |-global]
How to Use clustering index is a type of re-organization of the actual data on the disk to sort by the value of one or more specified columns. Because the index page pointer of the clustered index points to the data page, using the clustered index
Oracle cannot EXPORT large empty tables by default. Solution: ORACLE 11G cannot EXPORT empty tables when using EXPORT.
There is a new feature in 11G. When the table has no data, no segment is allocated to save space.
Solution:
1. insert a row and
Oracle PLSQL uses the while LOOP instance program in the cursor
Oracle PLSQL uses the while LOOP instance program in the cursor
DeclareCursor emp_cur is select * from emp;V_emp emp % rowType;BeginOpen emp_cur;While emp_cur % notfound -- while
Create a trigger in oracle and FAQs
Create a trigger in the Oracle DBA Studio tool.
CREATE TRIGGERNameCreate trigger-CREATE a new TRIGGERSyntaxCreate trigger name {BEFORE | AFTER} {event [OR...]}ON table for each {ROW | STATEMENT}Execute procedure
This article introduces in detail various oracle Array Operations. If you need it, you can refer to it.
Oracle Arrays can be divided into fixed arrays and variable arrays.Fixed Array
The Code is as follows:
Copy code
Content• Full Table Scans)• Rowid Scans)• Index Scans)• Cluster Access)• Hash Access)• Sample Table Scans)• How to select an access path for the Query Optimizer• Remarks
The Access path (Access paths) is used to retrieve data from the database.
For more information about the ASM disk data loss caused by fdisk in oracle, see.
11.2.0.3 the database crashed due to damage to the asm disk header block and encountered an incorrect ORA-15196.More detailed error: ORA-15196: invalid ASM block
This article summarizes a variety of operations on the number of connections in the oracle database, including viewing the number of connections, modifying the number of connections, and configuring the number of connections.
Sometimes the client
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