(1) Delete Process
· Oracle read block (data block) to buffer cache (buffer) (if the block does not exist in buffer );
· Record the details of the delete operation in the redo log buffer (redo log buffer;
· Create an undo (rollback) entry in
Logical backupOracle's logical backup tool exp can be used for logical backup. This backup method is applicable to scenarios with a small amount of data2 GB. For example, you can back up a large data table separately;Example:C:/> exp name/Mima @ Sid
21. In Oracle table, how does one capture data records with null memo fields?
Select remark from oms_flowrec where trim (''from remark) is not null;
22. How to Use BBB table data to update AAA table data (associated fields)
Update AAA set
51. How to put small tables into the keep pool?
Alter table xxx storage (buffer_pool keep );
52. How do I check whether a patch is installed?
Check that orainventory
53. How can I enable the SELECT statement to automatically generate
Update table_test set description = 'explain for tablespace 'Where name = 'yjip'; when you send this statement to Oracle, Oracle will use these tablespaces: 1. if the where condition references the index or other condition, resulting in a sorting
Paging:Select * from (Select E. *, rownum from (Select * from EMP) EWhere E. rownum> 5 and E. rownum )
Type:The total length of number () is 7 digits, and the decimal number is 2 digits.Date plus day hiredate + 1Add one hour hiredate + 1/24
Oracle
The data type (datatype) is an attribute in the column or stored procedure.
Oracle supports three types of data: character data, numeric data, and other data.
Character Data Type
Char char data type stores fixed-length sub-character values. A char
A simple ibatis getting started example, which is tested using Oracle and Java
Directory structure:
1. Import the ibatis and Oracle drivers.
2. Create a person. Java class
Package com. ibeats;Import java. util. date;
Public class person
Oracle data blocks have fixed formats and structures, which are divided into three layers: cache layer, Transaction layer, and data layer.Check the consistency when performing read/write operations on data blocks:-Block Type-DBA-SCN-Header and
1. view the data file path:
SQL> Col file_name format A55SQL> set line 120 pagesize 2000SQL> select file_name, tablespace_name from dba_data_files;
File_name tablespace_name-----------------------------------------------------------------------------
Problem description:
After receiving a complaint from the customer, the data file rbs01.dbf In the RBS tablespace of the database exceeds 10 GB and continues to grow. Another rbs02.dbf is normal and the size is 800 mb. Currently, the space usage of
The system global zone (SGA) is a memory segment allocated to the database containing an oracle instance.
It mainly includes the database buffer cache, the redo log buffer, the shared pool, and the data dictionary cache) and other information.
Db_
Oracle Advanced Training Course 3rd learn the pages in the notes of the notebook and Oracle9i Database Management Basics II ed 1.1 vol.1.pdf correspondence guide: http://blog.csdn.net/magus_yang/archive/2006/10/10/1328283.aspx Author: jackyang
--------------------------------------------------------------------------------
In large database management systems, Oracle databases are beyond review in terms of database management capabilities and security. Chinese enterprises also use many
Http://www.blogjava.net/bukebushuo/archive/2008/07/05/212794.html
Recently, I have been studying tools for generating java files based on the table structure,
How to obtain various table information and comments when obtaining table fields,This
No one would deny that Oracle is one of the most influential database products in the world; but good things do not seem to be so useful (it seems at first ), even a bit heartless-it always gives layman a heartless error number. The following is my
Oracle databases store a variety of data, some of which will become larger over time. Such as dating chat logs, SMS sending and receiving logs, production system logs, dynamic website publishing system logs, and so on. This information is closely
Query statistics are often used in large database systems. However, for systems with large data volumes, users often feel slow when performing complex query statistics and cannot meet application requirements, this requires us to make reasonable
1. view the table space name and size.
set linesize 140;set pages 200;column tablespace_name format a30;select tablespace_name,min_extents,max_extents,pct_increase,status from dba_tablespaces;select
11. How can I obtain the script for creating triggers, processes, and functions?
Desc user_source
User_triggers
12. How do I calculate the space occupied by a table?
Select owner, table_name,
Num_rows,
Blocks * AAA/1024/1024 "size m ",
Empty_blocks,
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