How to obtain the values of 6th to 10th records in a table.
The first method is to use the minus statement:
Assume that the DDL statement is as follows:
Create Table T (ID varchar2 (4) primary key, value INT)
The first method is to extract
(1) Check the running status, log files, backup status, space usage of the database, and usage of system resources of the Oracle database every day to discover and solve the problem. (2) Monitor the space expansion and data growth of database
Portability has always been the strength of Oracle. It seems that this time is no exception.
Http://www.eweek.com/article2/0,1759,1618428,00.asp
The Redwood Shores, Calif ., database behemoth will announce Wednesday at Apple Computer Inc.'s
Today, we see another heavyweight Oracle Publishing House: powerful Oracle Database 10g security by design. The books in the tive series have always been favored by readers. This book should add an important note to Oracle's "indestructible Database.
Oracle enable and disable scripts for Windows
Luo Weifeng 2010-7-9
The original Article is published to the QQ space.
I think everyone will be heartbroken because the huge Oracle guy occupies so many system resources!
On the one hand, we need to
Oracle Stored Procedure writing experience and Optimization Measures
1. If developers use tables or views of other databases, they must create a view in the current database to perform cross-database operations. It is best not to directly use
Create user
SQL code
1.SQL code
SQL> create user visiontv identified by visiontv default tablespace visiontv quota 10 m on users;
Grant privilegeSQL code
SQL> grant connect, resource to visiontv;
Create tablespaceSQL code
1. SQL> Create tablespace
This article introduces some basic concepts of Oracle execution plans for learning and application.
1. Related Concepts
The concept of rowid: rowid is a pseudo column. Since it is a pseudo column, this column is not user-defined, but added by the
[Q] how to capture user logon information, such as Sid and IP address
[A] logon triggers can be used, as shown in figure
Create or replace trigger tr_login_record
After logon Database
Declare
Miusersid number;
Mtsession v $ session % rowtype;
Cursor
This is because the work needs to monitor which users have modified the data tables in the database. After reading the content in http://www.psoug.org/reference/ddl_trigger.html, we made the following design:
1. Log On As A system user.2 -- create
1. Data Buffer AdjustmentSGA memory parameter size QuerySelect name, value from V $ parameter where name in ('db _ block_buffers', 'db _ block_size ', 'shared _ pool_size', 'sort _ area_size ');Select name, value from V $ parameter where name in
From: http://blog.chinaunix.net/u1/34159/showart_278968.html
Steps for changing the archive mode in Oracle RAC
Archivelog:
SQL> alter system archive log current; manual archivingSQL> alter system archive log start to '/Oracle/.../arch ';SQL> select *
The Enterprise Manager Web Console of Oracle 9iAS is blank without any display and no error is reported.
Restarting the HTTP server has no effect on this phenomenon.
It is not helpful to stop Oracle services that run automatically in sequence.
Go
Optimization of an SQL statement:Recently maintained a project. One of the SQL statements seriously affects the performance and needs to query two massive tables (icasuser has 3000 records and logon_info has nearly 0.4 million records .) the page is
When my colleague retrieved the database, it was Oracle 10 Gb. The previous deletion method was Delete. I do not know whether to use trancate.
The SCN (System Change number) is spelled as system change number, which is a very important data
1. RAC (or OPS in Oracle 8i)
RAC is a myth that has been widely used for a long time. Because RAC has high hardware requirements, especially before 9i, it was almost always running on minicomputers, many people think of RAC as a synonym for
In this case, a large query starts to query a large table in the FTS, and then another session updates a data entry at the end of the table, submits the data, and updates the data N times, because the DML of multiple transactions makes the XId and
Regular Expression)
Oracle 10 Gb supports four new functions of Regular Expressions: regexp_like, regexp_instr, regexp_substr, and regexp_replace.
They are used with Oracle SQL functions like, instr, substr, and replace, but they use POSIX Regular
---- 1. Having clause usage
---- The having clause controls the row group determined by the group by clause. Only constants, clustering functions, or columns in the group by clause are allowed in the having clause.
---- 2. External join "+" Usage
---
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