Now that the cause of the problem has been found and the solution has been found, but the cause of the problem is not clear.
That is, to find out why the statistics for these partitioned tables are locked.
Oracle's Dbms_stats package provides a
Case 2--a table (DML) that restores a point in time past
1, based on Change (SCN)
Sql> Conn Scott/tiger
Connected.
Sql> select * from TB01;
Id
----------
1
2
3
sql> drop table Tb01 purge;
Table dropped.
Sql> CREATE TABLE TB01 (ID int)
Oracle Date Time Function encyclopedia
To_date format (in time: 2007-11-02 13:45:25 for example)
Year:
YY two digits two-digit year display value: 07
YYY three digits three-digit year display value: 007
YYYY four digits four-digit year display
In non-catalog mode, the backed-up information is stored in controlfile. So don't forget to back up the control files when you back up the Rman.
1. SPFile lost
Startup Nomount;
Set dbid 3988862108;
Restore SPFile from Autobackup;
or through a
sql> desc V$lock;
is the name empty? Type
----------------------------------------- -------- ----------------------------
ADDR RAW (8)
Kaddr RAW (8)
SID number
TYPE VARCHAR2 (2)
ID1 number
ID2 number
Lmode number
REQUEST number
CTIME
In 10g, Oracle has added dbms_monitor packages, making it easier for users to set up trace and statistical information.
This article describes the trace-related process.
The Dbms_monitor package provides several ways to open, close a session, or
Case 2:
--Some data files are missing, recover data files (mount or open)
1) test environment
07:30:40 sql> CREATE TABLE test (ID int) tablespace test;
Table created.
07:30:52 sql> Conn/as SYSDBA
Connected.
07:30:57 sql>
07:30:57 sql> INSERT
One, dynamic registration
Dynamic registration of listening is when the instance is started the Pmon process dynamically registers the listener according to the Instance_name,service_names two parameters in the initialization parameter file.
Note
№ 1: The current date is the week ordinal of this month
Sql> Select To_char (sysdate, ' YYYYMMDD W HH24:MI:SS ') from dual;
To_char (sysdate, ' YY-------------------20030327 4 18:16:09
Sql> Select To_char (sysdate, ' W ') from dual;
T-4
№ 2:
Objective
The growing demand for distributed applications requires a better distributed software environment, which drives the development of distributed technology. Oracle data replication is a technology for implementing distributed data
For the default installation of the HR architecture, the console output shows the fields (separated by semicolons) for each record in the two records of the employee 101:
101;9/21/1989 12:00:00 am;10/27/1993 12:00:00 AM; ac_account;110;
101;10/28/1
I do not know how to debug a stored procedure when I write it. One way to debug this is to print out the value of a variable in a program that I print on the console in Java. Here's how to do this from the Sqlplus.
1, execute "set serveroptput on"
Running databases on the Internet often has the need to unify database applications across the country, and a node's data changes are reflected not only locally but also remotely. Replication technology provides users with a quick way to access
Oracle databases have two types of backup methods. The first class is a physical backup, this method realizes the complete recovery of the database, but the database must run in the return mode (the business database runs in the non-return mode),
It is believed that a large number of system administrators are doing the same job every day-backing up the data. Once a day of negligence, and this day the system is precisely the fault, the need for data recovery, then there is nothing at this
One. Backup of data files, control files, and log files 1. The server has installed the operating system, and Oracle has also been reloading. If the restored Oracle is the exact same structure as the previously corrupted database, then the recovery
1.oracle How does the execution of an SQL statement manage concurrency and recovery control?
A syntax-compliant SQL statement that defines the operation of the database. At the moment this operation is executed, a data state for the database is
Query initialization parameters A lot of ways, such as show PARAMETER, or query V$parameter, here a brief summary.
This article describes the difference between the V$spparameter view and the Gv$parameter view.
The previous article describes the
The following is just the information you get from reading the document, and everything may change before 11GR2 is officially released.
1. RMAN web-services Backup
Oracle now allows the database to be backed up directly to Amazon S3 or other cloud
In 11GR2, Oracle analysis functions are further enhanced.
This article describes the analysis function lag and the enhancement of the lead.
The 11GR2 lag and lead functions are enhanced to add ignore Nulls functionality.
Sql> select * from
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