Oracle Database system users forget their passwords.
D:\oracle\ora92\bin>sqlplus/nolog
Sql*plus:release 9.2.0.1.0-production on Thursday August 16 11:32:22 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Sql> Conn/
View execution plans that have executed SQL
First, grab one of the most IO-consuming SQL in the last hour.
SELECT sql_id, COUNT (*)
from Gv$active_session_history Ash, gv$event_name evt
WHERE ash.sample_time > SYSDATE-1/24 and
ash.session_state = '
The query SELECT statement is used to query data from the database, and when the SELECT statement is used in Pl/sql, it is used with the INTO clause, and the return value of the query is given to the variable in the INTO clause, and the declaration
Date and Time format application To_char (date, formatting parameters)
1, returns any valid delimiter concatenation the month day string
1.1, Select to_char (sysdate, ' Yyyy/mm/dd ') from dual;
2015/04/29 (that is, return a string that is connected
Note: At the request of the general public, there are pictures to see the original address: http://blog.csdn.net/meteorlwj/article/details/6949096
Prerequisites:1) Install Oracle ODI2 Install Oracle XE database3 CREATE DATABASE user Odi/apps,
In Oracle, there are two alternative parsing processes, hard parsing and soft parsing, for a committed SQL statement.
A hard resolution needs to be parsed, the execution path developed, and the access plan optimized. Hard parsing not only consumes a
ORACLE DBA face Test setOne: SQL tuning class1 Enumerate several table connection wayssuch as connection, non-equal connection, self connection, outer connection (left, right, full)2 How to view SQL execution plan without the help of a third-party
The AWR(Automatic workload Repository) Report is an important tool for our daily database performance Assessment and problem SQL discovery. Proficiency in the AWR report, is to do a good job of development, operation and maintenance of the DBA
Oracle compile Failed Object
There are many reasons why database objects fail due to database object invalidation, and some common reasons are summarized below:
1: When the structure of the referenced object changes, the dependent object is
Server: Oracle 11g (I am the default path installation, the custom path is not successful, do not know why)Client: ArcGIS Desktop 10.2, Oracle 11g 32-bit clientClient: ArcGIS Server 10.2, Oracle 11g 64-bit client1. Oracle 11g is installed on the
Oracle's DB instance is a set of background processes and memory structures, and the memory structure consists of the system global area and the program global Zone.#修改SGA和PGA的配置文件, usually in/. sgz_max_size=64m, sga_target=64m, pga_aggregate_target
A, avoid using the IS null and is not NULL operation on an indexed columnTo avoid using columns that can then be empty in the index, Oracle will not be able to use that index. For a single-column index, if a null value is included, the index does
ORA-00844: Parameter not taking memory_target into account, see Alert Log for more information.
Solution: Create a pfile and modify the value of memory_target to solve the problem.
Example:1. Create pfileSQL> Create pfile = '/home/Oracle/initora1
Resource Manager consists of the following elements:
Component
Description
Resource consumer group resource consumption group
Resources are allocated to a group of sessions. Resource Manager allocates
Common Summary of RMAN.1 backupRMAN target sys/sys @ demo nocataglogRMAN> run {Configure Channel Device Type disk maxpiecesize 400 m;Configure device type disk parallelism 3; (3 channels)Backup database format = 'd: \ XXXX \ XXX \ % d _ % S _ % P.
1. ASCII: returns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII (0) zero, ASCII ('') space from dual;A A zero space------------------------------------65 97 48
2. CHR: returns an integer
1. Create and adjust grid Indexes
ArcSDE provides a maximum of three levels of spatial indexes. The performance of spatial data is related to how to select the level of spatial indexes and how many grid size settings are appropriate. Here we start
Import data to Oracle
When importing data in Oracle, the file suffix is *. CTL
The command is sqlldr.
Sqlldr username/password control = 'tbl _ EMP, CTL'
Export part of data from postgre
Psql Saison-C 'select user_id, user_name from user
Oracle exceptions include pre-defined exceptions and custom exceptions (in my opinion ).
The predefined exceptions include anonymous and non-Anonymous exceptions.
(Anonymous exception: no name like ORA-00371;
Non-Anonymous exception: there is a
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