Table space-related commands and SQL queries

Table space commands and query SQL 1. Delete table space and data files drop tablespace TS_GLOBAL_01 including contents and datafiles; 2. Delete the data file www.2cto.com alter database datafile '/oradata/DTCDB/TS_INDEX_02' offline drop; 3.

Two common oracle Indexes

Two common oracle index B * tree indexesThe bottom layer of a tree is called a leaf node, which contains each index key and a rowid. The indexed leaf nodes constitute a two-way linked list. Once you find that you want to "start" from the leaf node,

Basic PL/SQL language

Based on PL/SQL, a pl/SQL block consists of up to four different parts. Only one part is required. block: only named blocks are available, that is, the named functions, stored procedures, and other block names. declaration part: defines variables,

Oracle (2) Permission Management

Oracle (2) permission management system permissions and object permissions (authorization and revocation) // system permissions www.2cto.com grant create session to lisi; grant create table to lisi; grant unlimited tablespace to lisi; revoke create

Undo series Learning

Undo series learning: a simple introduction to transaction slots an oracle data block header has a transaction slot (ITL ). When multiple transaction slots modify data blocks at the same time, and pctfree (proportion of free space of data blocks) is

Recovery of lost data files after normal Shutdown Without backup in the Archiving mode of the rman Experiment

There is no backup in the Archiving mode of the rman experiment. Recovery of lost data files after normal shutdown does not allow direct recovery of lost data files, such as system. Not all data files need to be recovered, for example, temp

Understanding oracle ROWID

Understand that oracle ROWID data is stored in a data file, and its attributes are determined by the storage. These attributes include: in which data file? Which object does it belong? Where is the data block? Row number? These attributes are

Oralce common SQL functions (5) Aggregate functions

Oralce common SQL functions (5) before using aggregate functions, we need to first understand the concept of "grouping". One of the problems we encounter in our work is grouping the retrieved data.The syntax structure of grouping is very simple,

Sort and summarize common Oracle commands-for your convenience

Sort out and summarize common Oracle commands-this error occurs when you and I perform batch Hibernate inserts. org. hibernate. QueryTimeoutException:The cause of the error is that the tablespace capacity is insufficient and you need to increase the

What commit does in oracle

In oracle, the time used by commit is not affected by the transaction size. The overhead of commit has two factors: the round-trip communication with the database. If each record is submitted, the generated round-trip traffic will be much larger.

Import and Export physical backup of Oracle databases

How can I ensure that the system can be restored to the last submitted state by importing and exporting the physical backup of the Oracle database, it must be based on physical backup, and archive logs and redo logs accumulated since the last

PLSQL configuration login user information

PLSQL is often used as the Oracle client to configure login user information. It may be cumbersome to manually enter the user name, password, database name, and other information without configuration. In fact, we only need to set it in the PLSQL

Group functions in oracle

Description of group functions in oracle: This article introduces considerations for count, sum, avg, max, and min 1. count does not calculate null values www.2cto.com 2, and single row functions (coalesce, nvl, to_char, to_date) is different. The

Parallel Full table scan for oracle tables

Parallel Full table scan of oracle tables sometimes, how can we make dump efficient to execute full data in oracle? This problem focuses on 1. sequential disk read. 2. parallel. the former requires oracle to provide data in the Basic Order and the

Determines whether a field is a data or string in oracle.

Oracle uses the translate function in oralce to determine whether a field is data or a string SQL code. The syntax is as follows: TRANSLATE (expr, from_string, to_string) refers to expr content, use the characters in to_string to replace the

Oracle read/write file documentation

Create table Java code create table blobdata (www.2cto.com OID decimal (22) primary key not null, DATA blob ); create directory and process Java code CREATE or replace directory doc_loc as '/tmp'; create or replace procedure Load_BLOB_From_File

How to authorize query v $ View

How to authorize query of views starting with v $ in non-sys and system User stored procedures, such as v $ mystat and v $ statname. These View queries can be used in stored procedures only after authorization is displayed under sys. However, if we

Oracle note (2) SQLPlus command

Oracle note (2) the SQLPlus command mainly uses the command line method for Oracle database operations, and all commands are completed using sqlplus. There are two forms of sqlplus. One is dos-style sqlplus: sqlplus.exe; the other is windows-style

Flashback six major technologies: flashback drop

Flashback: flashback drop environment: [SQL] sys @ ORCL> select * from v $ version where rownum = 1; www.2cto.com BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-Prod

Oracle 11g linux Installation

If sqlplus command not found is prompted, use the following 01 .~ /. Bashrc02fi03 04 # User specific environment and startup programs05 06 PATH = $ PATH: $ HOME/bin07export PATH08unset USERNAME09 10 export ORACLE_BASE

Total Pages: 2147 1 .... 1877 1878 1879 1880 1881 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.