1.1. ORA-01722Date: 2014-06-05 14:09Environment: Test environment"Scenario description"During the upgrade of the database, the execution of the Sql> @?/rdbms/admin/catupgrd.sql script encountered an error exiting."Error Message"doc>##################
Goal1.SGA structure2.PGA structure1.SGAShared Pool1), shared pool is an area of memory for parsing, compiling, and executing SQL, PL/s programs.When executing a SELECT * from EMP statement, the SQL statement parsing, compile, build execution plan,
Oracle the user security management mainly has permissions and RolesWhen a user is just established, the user does not have any permissions and cannot perform any action. If you want to perform a specific database operation, you must grant it
--The SQL used to accumulate workThere are also types in Oracle that can be entered as input for stored procedures, functions, and so on.below to see the creation.UsageCREATE OR REPLACE type name as OBJECT(Field 1 type,Field 2 Type,Field 3 Type)For
C:\Documents and Settings\administrator>sqlplus/nologSql*plus:release 10.2.0.1.0-production on Monday July 5 09:50:36 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.Sql> Conn/as SYSDBAis connected.sql> shutdown NormalORA-01109: Database
When we build an index, we add parallelism and parallel to the index, and this column index will be parallel. When accessing an index with a degree of parallelism, the CBO may consider parallel execution, which may cause problems such as using
This is going to be a couple of steps.take oracle10g as an example to illustrate the process of changing the SID name. If the database SID is called TestDB, now change to ORCL, there are the following 6 steps:1. Stop All Oracle Services1.1, Oracle's
To establish the tablespace and the user's steps:UserCreate: Create user username identified by "password";Authorization: Grant create session to user name;Grant CREATE table to user name;Grant create tablespace to user name;Grant CREATE view to
AWR snapshotBy default, Oracle automatically generates a snapshot every hour, saving a snapshot for the last 8 days.We can get the time interval and number of days to generate the snapshot by using the following statement:[Email protected] (lx15) >
If order by exists in the analysis function, a default window opening clause will be added! It indicates that the first row of the partition is the current row;If order by is not found in the analysis function, the default window is all in the
With SPA, you can play a specific stream based on various types of changes (such as initialization parameter changes, optimizer statistics refresh, and database upgrades)SQL or the entire SQL load, and then generate a comparison report to help you
I. Index Overview1. indexes are equivalent to directories.2. Indexes use a set of sorted index keys to replace the default full table scan retrieval method, thus improving the retrieval efficiency.3. The index creation should be moderate. If it is
1. Let SELECT TO_CHAR (sal, 'l99, 999.99 ') FROM emp where rownum SELECT TO_CHAR (sal, 'l99, 999.99 ') FROM emp where rownum SELECT TO_CHAR (sal, '$99,999.99') FROM emp where rownum
/* -- Description: For the '$99,999.99' format OPERATOR:L:
1. Create tables and partitions
create table test(IDVARCHAR2(32),MONTHSVARCHAR2(40),USERIDVARCHAR2(20))partition by list(MONTHS) ( partition m201404 values('201404'), partition m201405 values('201405'))
2. Insert data
insert into test values('1'
Analysis of association Design
[Paradigm]
Ideally, any table in the database will correspond to an object in real life. For example, a player is an object, a team is an object, and a competition is an object, the competition result is an object, and
ADDM checks and analyzes the data obtained by AWR to identify possible problems in the Oracle database and provides optimization suggestions.
The method for obtaining ADDM is as follows:
@?/rdbms/admin/addmrpt.sqlThe following is an example:
-- Step
1. with table as is equivalent to creating a temporary table (for SQL statements that place some intermediate results in a statement in a temporary tablespace). Oracle 9i adds the WITH syntax to name subqueries in the query, put it at the beginning
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