Most of the examples on the oracle|xml| data network are wrong
The key to is to set the label for the row to RowTag, such as:
, if your watch is
, Table AAA
(
AAA varchar (20),
BBB varchar (20)
)
so to specify which label is
In Oracle/plsql, the SUBSTR functions allows you to extract a substring a string. The syntax for the SUBSTR function is:
substr (String, start_position, [length])
Description
The string is the source string.
Start_position is the position for
DB file Scattered read
For frequently accessed tables, if an index is not indexed or an appropriate index is not established, Oracle can only scan it for a full table, resulting in a large number of waiting events.
When a full table scan, the data
The following four SCN are primarily present within Oracle
1. Systems checkpoint (System checkpoint) SCN
Each time a checkpoint completes, Oracle records the SCN corresponding to the checkpoint in the control file and can view the checkpoint SCN
Load balancing is to increase the overall performance by allocating the load evenly to each node in the cluster. Oracle RAC provides two ways to achieve load balancing, the first is pure technology, that is, when users connect, depending on the
Today, it is not uncommon for a typical DBA to use session tracking, SQL tracking, and analysis, and I estimate that the usual methods are Sql_trace, 10046 events, and so on. In addition, if we need to track other sessions, what do we need to do?
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. This article collects the bare devices and Oracle Quiz 20 cases.
1. What is called the
In Oracle, there are many parameters that Oracle does not want us to participate in the modification, and for these parameters we can query through the following statements:
Select
x.ksppinm name,
y.ksppstvl value,
y.ksppstdf
1, Startup Nomount
Non-installation startup, this way to launch executable: Rebuild control file, rebuild database
Read the Init.ora file, start the instance, that is, start the SGA and background processes, this startup requires only Init.ora
The cause of this story is that there is a classmate in the version 10.2.0.1 (said 9i may also encounter) a host running 198/248/249 (24.9) days after the OCI client spin spin consumption of a large number of CPUs Bug,spin the cause is sltrgatime64 (
Statspack Installation Use and analysis
1. View table Space
Select Tablespace_name,file_name from Dba_data_files;
2. Create Statspack table Space
Create tablespace perfstat datafile ' d:\oracle\oradata\perfstat.dbf ' size 500m
The table space
Oracle 9i has achieved new breakthroughs in cluster technology, high availability, business intelligence, security, and system management, and its features include the following.1.4.1 Cluster TechnologyThe principle of clustering is shown in Figure 1
The SQL syntax for the truncation operation is as follows.
―――――――――――――――――――――――――――――――――――――
TRUNCATE the user name of the table. List name [drop| Reuse STORAGE]
―――――――――――――――――――――――――――――――――――――
In which, if you use the "DROP STORAGE"
oracle| question 21. How do you crawl a data record in an Oracle table where the Memo Type field is empty? Select remark from Oms_flowrec where trim ("from remark" is not null; 22. How to use BBB data to update the AAA table data (with associated
Oracle
It took several days to install Oracle 9i under FreeBSD 5.0RC1, although it was not successful at all. But it was a lot of gains. Because I'm not necessarily using Oracle under FreeBSD, this installation test is a bit of a waste-utilization.
oracle| Performance | optimization
20. Replace exists with table connection
In general, table joins are more efficient than exists
SELECT ename
From EMP E
WHERE EXISTS (SELECT ' X '
From DEPT
WHERE dept_no = E.dept_no
and Dept_cat = ' A ');
oracle| Performance
Oracle ' s dbms_profiler:pl/sql performance tuning
Dbms_profiler Package Examples
Here's a simple example of how I can use configuration, run a configuration file to test the performance of the following routines. The
is Ocidefinebyname ($id, "rownum",& $rownum), corresponding to the rownum in the query, A corresponding one, and most notably, when defined, the field name must be uppercase, because Oracle does not recognize lowercase Others are
oracle| Data | database | Conversion in the database development process, you may encounter Oracle and VB date type mismatch, can not directly compare the problem. VB and there is no special function can be converted to Oracle date, this problem
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