From the composition of Oracle's SGA, it advocates parameter binding. Using Parameter binding can effectively use the share pool. You do not need to perform hard parsing on cached SQL statements, which can significantly improve performance.
The
The log buffer log_buffer is the memory area used by Oracle to store redo logs.
When the database is started, you can see:
SQL> startupThe Oracle routine has been started.
Total system global area 85006980 bytesFixed size 453252 bytesVariable
When importing data to Oracle today, the following message is displayed:
Import started on 2008-7-2 8: 51: 15d:/Oracle/ora90/bin/imp. EXE log = C:/docume ~ 1/admini ~ 1/locals ~ 1/temp/1/plsimp. log File = E:/20080630/20070630 .dmp userid = LZ/LZ
From the design of the Oracle shared pool and the PL/SQL writing method recommended by Oracle, we can see that variable binding has a great impact on performance, how to bind variables in PL/SQL?
First, let's take a look at the usage of not using
I have been reading a question and a statistical statement over the past few days.ProgramSuddenly, the data volume is abnormal. I checked the data from the beginning and found that there was no problem with the program and configuration, but the
I. Inner join)
The connection condition of the where statement first concatenates all tables to be connected into a "big table". If there are other conditions in the middle, you can use the restrictions, after reducing the number of columns and
The Oracle control file is the core file for running the Oracle database. If the control file is lost and cannot be recovered, the consequence is very serious and the database cannot be started.
Oracle provides two methods to back up control files:
1
Oracle logminer is a very effective log analysis tool provided by Versions later than 8i. It can obtain the specific content of the log file, such as the DML operation of Oracle, and possibly obtain the SQL statement for transaction rollback, this
Oracle provides two administrator verification methods: operating system verification and password file verification, connecting to the database, and performing management tasks.
When an Oracle database is created, two users sys and system are
During Development today, my following requirements: I need to find data from different tables, but the SQL statements are relatively fixed:
Select count (*) CNT from table_a where code = codevalue;
In the preceding SQL statement, only table_a and
The client can connect to the server only after creating a connection with the server. At this time, the server needs to allocate certain resources to the user for connection, that is, PGA. So how does Oracle manage PGA? How many resources does a
Oracle monitoring lock table (Lock table and unlock table) 1. query locked tables
Select S. username, decode (L. type, 'Tm ', 'table lock', 'tx', 'row lock', null) lock_level, O. owner, O. object_name, O. object_type, S. sid, S. serial #, S.
Oracle has two optimization methods when executing SQL statements: Rule-Based RBO and cost-based CBO. The Oracle parameter optimizer_mode determines the optimization method used during SQL coaching.
SQL> show parameter optimizer_mode
Name type value-
[DB] [Oracle] trigger to create an instance
// Trigger name usertotemp
Create or replace trigger usertotemp after insert or update or delete
On user_info for each row // triggers the following events when operating on the table user_info
Declare //
For Oracle DBAs, table space monitoring is an important task of daily and regular monitoring.
Table space monitoring includes table space status, data files, table space usage, and remaining conditions.
1. Table space list:
SQL> select * from V $
The lag and lead functions can be used to retrieve the data of the first n rows and the values of the last n rows of the same field in a query.
The lag and lead functions
SQL statement for querying the number of active database cursors
Select All allcursor cursor, myallcursor my cursor count, myopencursor my open cursor count, mycachecursor my session cache cursor count (myallcursor-myopencursor-mycachecursor) my
D: \ oracle \ product \ 10.2.0 \ db_1 \ Network \ admin \ tnsnames. ora
Steps:1. Create a database2. Create a tablespace3. Users who belong to the database4. Specify the tablespace for the user
Table space creation statement:Create tablespace
Article category:Java programming
I searched for ibatis's use of like on the Internet. I believe the xdjm in this article should also know how to solve it. I will not repeat it here. I just want to explain it again:
Leave '% $ xxx $ %' blank. The
-- View which table is lockedSelect B. Owner, B. object_name, A. session_id, A. locked_modeFrom v $ locked_object A, dba_objects BWhere B. object_id = A. object_id-- View which session is causedSelect B. username, B. Sid, B. Serial #, logon_timeFrom
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