Usually used less, save it and view it later. Select * from v $ sqlarea t where t. PARSING_SCHEMA_NAME in ('username') order by t. LAST_ACTIVE_TIME descThe username must be capitalized.Select * from v $ sqlarea t order by t. LAST_ACTIVE_TIME
1. View tablespaces
Select tablespace_name, file_name from dba_data_files;
2. Create a statspack tablespace
Create tablespace perfstat datafile 'd: \ oracle \ oradata \ perfstat. dbf' size 500 m
The tablespace should be as big as possible.
3.
ORACLE10gr2 data import MySQL SolutionMySQL GUI Tools1. Download "MySQL GUI Tools" on www.mysql.com;This installation is for WINDOWS. : Http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-gui-tools-5.0-r17-win32.msi/from/pick2. Install MySQL
Oracle9i introduces the MERGE command. You can execute the inserts and updates operations on a table in an SQL statement at the same time. the MERGE command selects rows from one or more data sources to update or inserting to one or more tables. in
This section describes common Oracle Database Constraint restrictions and Exception Handling. Next, let's take a look at this part.1. Report constraints exceptionIf an exception exists during validation constraints, an error is returned and the
Keywords: nlssort, Pinyin sorting, strokes, radical
Before Oracle9i, Chinese characters were sorted by binary encoding.
The sorting by pinyin, radical, and stroke function is added to oracle9i. Set the NLS_SORT Value
1. SCHINESE_RADICAL_M is
1. view the maximum number of Oracle cursorsC: \ Documents ents and Settings \ Administrator> sqlplus "sys/admin @ test151 as sysdba" (sys logs on to the test151 service as dba)SQL * Plus: Release 9.2.0.1.0-Production on Thursday November 5 09:08:04
Basic StructureCREATE OR REPLACEPROCEDURE(Parameter 1 in number,Parameter 2 IN NUMBER) ISVariable 1 INTEGER: = 0;Variable 2 DATE;BEGINEND stored procedure name --- Query data and return a listDrop procedure mrr. get_risk_assessment_by_status;Create
Oracle Import utility allows you to extract data from a database and write the data to an operating system file. The basic format used by imp: imp [username [/password [@ service]. The following describes common usage of imp.
1. Get helpImp help =
[Oracle] SQL * Loader detailed tutorial (2)-input sqlldr in command line parameters without any parameters, the simple description of all command line parameters and their default values are displayed. (You can also use this method to quickly query
How can I display pl/SQL query data in Chinese? Solution: 1. Open the installation directory of PLSQL Developer, see the directory of plsqldev.exe, create the "PLSql_run.bat" file in the PLSQL Developer folder, and enter the following content in the
[Oracle] online table redefinition-modifying table definitions (DDL) in a 7*24 online production system is very painful, if you use the alter statement directly, an exclusive lock will be placed on the table. That is to say, during this period, all
Oracle partition, index, test (2) this select operation, each table is 0.1 billion, and the indexes of all three tables are disable. First test compression.
SQL code -- sales_data bitmap is not suitable for alter table sales_data1 compress; --- view
This document describes how to enable and disable the Oracle archive mode for a database. 1. shutdown normal or shutdown immediate disable database oracle Training
1 .oracle@jumper oracle]$ sqlplus "/ as sysdba" 2.SQL*Plus: Release 9.2.0.4.0 -
Repair ora-01578 after data block corruption if the database runs in archive mode with backups, you can use RMAN block recovery. You can run RMAN> blockrecover datafile 1 block 28618 when the data file is online. If no backup, archive logs are lost,
Oracle transaction (one) 1) Transaction processing process 1. First, the client must connect to the server, and the server will assign relevant processes to respond to user request operations. 2. When the server starts to receive user SQL operations,
Query, create, and expand the tablespace & impdp ---- the key to the successful import of the tablespace by schemas is: the size of the tablespace In the imported environment and the source data environment, and the tablespace name, which must be
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