When I was doing a project, a colleague accidentally duplicate all the data in a table while importing data. That is to say, all the records in this table have a record. This table has tens of millions of data records and is a production system.
1 Preface-------------------------------------------------------------During the program design process, there are often differences between the two record sets. For example, identify the difference between the original order information and the
I. Set the environment variable [oracle @ orcl ~] $ Cat. bash_profile#. Bash_profile
# Get the aliases and functionsIf [-f ~ /. Bashrc]; then.~ /. BashrcFi
# User specific environment and startup programs
ORACLE_SID = orclORACLE_BASE
Every time an Oracle database is started, it goes through a series of steps to ensure Database Consistency.
When a database is started, it goes through three modes: NOMOUNT, MOUNT, and OPEN.
Startup nomount option: (read the initialization
Note:
Install oracle10g in ubuntu10.04. The main step is to configure the oracle runtime environment. The installation is a simple statement.
This is the oracle I installed, the ubuntu dual-system installed under Windows, with 2 GB memory.
ORA-01653: Table space expansion failure issues---- Query table space usage ---Bytes ------------------------------------------------------------------------------------------Select upper (F. TABLESPACE_NAME) "tablespace name ",D. TOT_GROOTTE_MB
1. Create a logical directory. This command does not create a real directory in the operating system. It is best to create a directory as an administrator such as system.Create directory dpdata as '/opt ';2. Check the Administrator directory (check
Author: skateTime: 2012/02/22 Oracle10g sysaux space increase and space recovery In Oracle10, The tablespace SYSAUX is introduced, and oracle stores statistics here. This is also to better optimize the system tablespace. We can use view V $
This is because the listener on the server is not started. In addition, check whether the IP address or port of the client is correct.Start listener: cmd: lsnrctl startDisable monitor: lsnrctl stopMonitor status: lsnrctl statusIf the above Code
OEM:Http: // full computer name: 5500/em/
Sys/System managerScott tiger1. Forget the logon password of a user except SYS and SYSTEM.Log On As a sys (or SYSTEM) user.Conn sys/PASS_WORD as sysdba;Use the following statement to modify the user password.
Ora-12154 causes and solutions to solve a large online, but the following: 1. the local environment variable oracle_home is not set. 2. due to the installation of excessive versions of oracle, the instance version first loaded in plsql is incorrect.
Restrictions on oracle user logon failures"FAILED_LOGIN_ATTEMPTS" is used to configure the maximum number of consecutive password input errors. If this value is exceeded, the account is locked. 1. Run the following command to query the value of
[SQL] simple use of triggers 1. Introduction to triggers database Triggers are a PL/SQL program associated with tables. When a specific data operation statement (Insert, update, delete) is issued on a specified table, Oracle automatically executes
1. translate Syntax: TRANSLATE (char, from, to) usage: returns a string that replaces each character that appears in from with the corresponding character in. If from is longer than to string, the extra characters in from are deleted. One of the
Linux hugepage configuration-optimizing oracle memory linux is not as powerful as aix and hp unix, but linux is also very good. To improve linux performance, it uses a lot of io, memory scheduling mechanism. linux uses the memory mode by vm, that is,
Oracle's X $ table series-X $ KSMSP has the following meanings: [K] ernal [S] torage [M] emory Management [S] GA Hea [P] each row represents a chunk in the shared pool. Let's take a look at the structure of x $ ksmsp.:
SQL> desc x$ksmsp Name
How to delete. the trc file bdump contains the alert file, and trace fileudump of some background processes. Generally, the trace file cdump of session after SQL trace is placed. Generally, some core trace files are placed. adump is generally audit
Oracle 11g 11.2.0.1 setting HuagePage causes TRC to become larger and more recently found diag /.... the size of the sid_ora_xxxx.trc file in the/trac/directory is 11 mb and the number of similar files is large. as a result, 8 GB of hard disk space
DBA classic interview questions (3) the answers here are not very comprehensive. These questions can be explained from multiple perspectives. Maybe you do not have to give full and detailed answers during the interview, you only need to answer your
Detailed description of Timestamp type BC and post-numeric values in Oracle and PostgreSQL and JDBC access field: datevalue1: 2010-01-01value2: 2010-01-01BC1. when inserting a value directly into the database: oracle needs to use to_timestamp ('1970-
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