Oracle logs include online redo log and archived log.
Online redo log:A database must have at least two groups of redo logs, and each group of redo logs must have at least one member (for security reasons, we recommend that each group of redo logs
-- Get all dictionary for oracle db select * From dict; -- select * From dictionary; -- get all columns for dictionarys select * From dict_columns; -- get the default name-space for current user select username, default_tablespace from
'|' + 'Is used for string connection in Oracle '.
Select Rec. sheet_id,
Rec. orgid,
Org. orgname,
Case
When Rec. receive_flag = 2 then
(Case
When exists (select count (1)
Fromeosorg_t_organization
Where a. orgseq like '192. 999
Generate Active session history (Ash) report
Role of ash report:The ash report can be used to analyze Transient Performance issues that usually last for several minutes.Performance Analysis of a specific range or target based on a variety of
Oracle user access control
1. PermissionsOracle Database Security is divided:System SecurityData security
System permission: database access permissionObject permission: operations on the Content of database objects
Schema: a collection of objects.
Run the following command to find the orphan process on the server that has been connected to the database but the session has been killed but the session resource has not been released.
select p.addr from v$process p where pid <> 1 minus
Restrictions on the Use of sequence objects in OracleNextval and currval are valid only in SQL statements and not directly in SPL statements. (However, SQL statements using nextval and currval can be used in SPL routines) The following restrictions
Aggregate functions, multiline functions, and grouping functions are all types of functions.Group by and having
Group function: AVG \ sum \ min \ MAX \ count \ stddev \ varianceUse distinct in combination with the group FunctionProcessing of null
Use the dbms_workload_repository package to manage baseline
1. Create a baseline
-- Check the existing snapshots in the dba_hist_snapshot view to determine the snapshot range to be used.
Select snap_id, dbid, begin_interval_time, end_interval_time,
The customer reported an error ORA-29280 for jobs that run automatically in the 11.2.0.3 RAC environment.
Detailed error message:
Sat Sep 05:59:59 2012Vkrm started with PID = 54, OS id = 32622Sat Sep 06:00:09 2012Errors in
1. Create a single baseline template using the create_baseline_template stored procedure:
Col baseline_name for A30Template_name for A30Select dbid, baseline_id, baseline_name, baseline_type, expiration, template_name from dba_hist_baseline;Dbid
Reprinted from: http://jinyumantang110.blog.163.com/blog/static/5457915620107244833630/
The types of Oracle Data Dictionary views are user, all, and DBA.
User _ *: Information about objects owned by users, that is, information about objects created
What functions does Oracle provide? Time: 11:17:16 Source: Network Author: Unknown CLICK: 159 times Note: Sid-Database ID home_name-Oracle Home Name, such as orahome92, orahome81 (1) oracleservicesid Database Service, this service automatically
If the Oracle program does not grow according to the sequence set by hibernater. You can try this.
Add allocationsize = 1 to @ sequencegenerator.
@ Sequencegenerator
If you use @ generatedvalue annotation to specifySEQUENCEType primary key
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
Tracking Stored Procedure instances using scripts in Oracle
Post from: http://www.ninedns.com/oracle/200742218400613147.html
1. Use a script to start and Set Tracing examples
We can use scripts to track stored procedures. Of course, we need to
This document describes how to create an Oracle Auto-increment field.
Description: sets the ID of the pipe_test field in the test record table to an auto-increment field.
Pipe_test table structure
SQL> DESC pipe_test;
Name type nullable default
1. symptom description:
Yesterday, colleagues at the site reported that the stored procedure sent to him over the weekend caused sqlplus to fail to respond for a long time during deployment, and the stored procedure could not be deployed at the
Sorting: fenngDate: 25--200-2004Source: http://www.dbanotes.netVersion: 0.91
Sometimes, as a DBA, you may need to collect information about the deployed Oracle database. Hardware configuration, operating system conditions, software installation
Read this article How 32bit Oracle expands SGA>
In my tests, because I have lowered the SGA starting point (there is no substantial relationship between reducing the SGA starting point and this Article, just because my test database has been lowered
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