1. View the Default user account1 SQL>Select from Dba_users;2. Lock all users and set their password to expired1 SQL>select 'alteruser '| | || from Dba_users;3. A locked user can only is accessed by altering the user to an unlocked state1
Oracle Action Table "Resource is busy, need to specify nowait" method of unlockingProblem:When executing drop table table_name, the prompt "resource is busy, you need to specify NoWait"PL/SQL is not responding due to a problem that can only be
Today on the oracle11g with the EXP command to export when encountered a strange phenomenon, no data table exp is always not out, the query found this is a new feature of Oracle 11g, when the table has no data, do not allocate segment, to save space.
============================================= successfully installed the database =======================================================1. If you have two files when installing the database, you need to merge the two files before installingAfter
1 --20,141,230 Deployment scripts (from top to bottom in chronological order)2 3 4 --command line, export the database data to be deployed (no semicolon)5 --EXPDP rmb3/[email protected] schemas=rmb3 directory=expdir dumpfile=20141230.dmp logfile=2014
The process of 1.sql parsing
Oracle first converts the SQL text to ASCII characters and calculates its corresponding hash value (Hash_value) based on the hash function. The corresponding bucket is found in the library cache based on the
Today, the colleague's database backup problems, help to view, the error message is as follows:Channel ch01:starting piece 1 at 2015-01-12:22:06:56rman-03009:failure of Backup command on CH01 channel at 01/12/2015 2 2:11:51ora-19513:failed to
Test under Archive mode:A. Open state physical Delete data file, shutdown condition Recovery:sql> Create tablespace Test datafile ' +data/mecbs/datafile/test01.dbf ' size 10M;Tablespace created.Sql> Conn Scott/scott;Connected.Sql> Conn/as
Decode function is very useful in the actual development, and the function is more powerful, with other functions, can make a lot of work easier;DECODE ( field , condition 1, result value 1, condition 2, Result Values 2, ... Default Value ); The
Use alter index ××monitoring usage; statement to monitor the index usage, altermonitoring
With the accumulation of time, in the absence of good planning, the database may have a large number of indexes that are not used for a long time. If you can
DMP version modification tool (C #)
When using oracle to import the dmp file, the following error occurs: "IMP-00010: the exported file is not valid. Title Verification Failed. IMP-00000: Import failed :", now we can use the DMP version
Oracle lock 4: system lock
Oracle databases use multiple system locks to protect internal databases and memory structures. These mechanisms are transparent to users.Latches)
Latches are simple and low-level serialization mechanisms that coordinate
Automatic backup script for Oracle databases in Windows
@ Echo off echo ============================================ ================= echo in Windows environment, the Oracle database's automatic backup script echo 1. use the current date to name
Log File mode in oracle
There are two log modes in oracle Database: Non-archive log mode and archive log mode.
In the oracle database system, to prevent the contents of log files from being overwritten during cyclic use, the oracle System
Copy and
How to map a table to timesten In oracle
---- 1. Run the createandloadfromoraquery command and enable six threads.
Command> createandloadfromoraquery scott. t1 6 select * from scott. t1;
---- 2. Use built-in commands to import data
Command>
(Modified) oracle11g listens to the configuration of multiple hosts and uses pl/SQL to connect to and operate multiple databases.
Many friends in the development project do not use a single database, but have a single host as the database server for
Use cursor to convert the format of specified fields in the data table in Oracle (pinyin to numbers)
Application Scenario: Convert [sannanyinv] to [3 male and 1 female] In the NNDP field of the data table TB_USER.
Main Script: A cursor script +
User Creation (learning notes), User Creation learning notes
Create a user:
Syntax:
Create user Username identified by password [default tablespace name] [temporary tablespace table name] [QUOTA number [K | M] unlimited on tablespace name QUOTA
[Original] solves the problem of excessive oracleCPU with the help of AWR report analysis, awroraclecpu
Introduction:In oracle databases, there are two very useful built-in monitoring tools: EM (Enterprise Manager) and AWR (Automatic Workload
Database usage-oracle bitmap Index
Currently, a large number of indexes are mainly B * Tree indexes. The index structure stores the rowids of key values and key values, which correspond one to one. Bitmap indexes are mainly created for a large
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