Add Oracle temp tablespace In the AIX System (bare device Mode)

Source: Internet
Author: User

Oracle queries the usage of temporary tablespace:

Select d. TABLESPACE_NAME, SPACE "SUM_SPACE (M)", BLOCKS SUM_BLOCKS,

USED_SPACE "USED_SPACE (M)", ROUND (NVL (USED_SPACE, 0)/SPACE * 100,2) "USED_RATE (% )",

NVL (FREE_SPACE, 0) "FREE_SPACE (M )"

FROM

(SELECT TABLESPACE_NAME, ROUND (SUM (BYTES)/(1024*1024), 2) SPACE, SUM (BLOCKS) BLOCKS

FROM DBA_TEMP_FILES

Group by TABLESPACE_NAME) D,

(SELECT TABLESPACE_NAME, ROUND (SUM (BYTES_USED)/(1024*1024), 2) USED_SPACE,

ROUND (SUM (BYTES_FREE)/(1024*1024), 2) FREE_SPACE

From v $ TEMP_SPACE_HEADER

Group by TABLESPACE_NAME) F

Where d. TABLESPACE_NAME = F. TABLESPACE_NAME (+ );

Oracle migration data table space

Table space management for bare devices on AIX

Oracle creates user tablespaces and users

Test the table space function for Oracle transmission (including detailed procedures)

Add bare devices (logical volumes) for Oracle tablespace In the AIX Environment)

------------------------------------------ Split line ------------------------------------------

It is found that the temp tablespace usage is 99%.

Enter the Operating System (AIX)

# Lsvg

Rootvg

Xyyvg

View vg usage

# Lsvg-l xyyvg

Lv_xyy1521312g raw 48 48 12 open/syncd N/

Lv_xyy152_12g raw 48 12 open/syncd N/

Lv_xyy153_12g raw 48 12 open/syncd N/

Lv_xyy154_12g raw 48 48 12 open/syncd N/

Lv_xyy155_12g raw 48 12 open/syncd N/

Lv_xyy156_12g raw 48 12 open/syncd N/

Lv_xyy157_12g raw 48 12 open/syncd N/

Lv_xyy158_12g raw 48 12 open/syncd N/

Lv_xyy159_12g raw 48 12 open/syncd N/

Lv_xyy160_12g raw 48 12 open/syncd N/

Lv_xyy1621312g raw 48 48 12 closed/syncd N/A (this lv is not used below)

Lv_xyy162_12g raw 48 12 closed/syncd N/

Lv_xyy163_12g raw 48 12 closed/syncd N/

Lv_xyy164_12g raw 48 12 closed/syncd N/

Lv_xyy165_12g raw 48 12 closed/syncd N/

Lv_xyy166_12g raw 48 12 closed/syncd N/

Lv_xyy167_12g raw 48 12 closed/syncd N/

Lv_xyy168_12g raw 48 12 closed/syncd N/

Lv_xyy169_12g raw 48 12 closed/syncd N/

Lv_xyy170_12g raw 48 12 closed/syncd N/

Lv_xyy1721312g raw 48 48 12 closed/syncd N/

Lv_xyy172_12g raw 48 12 closed/syncd N/

Lv_xyy173_12g raw 48 12 closed/syncd N/

Lv_xyy174_12g raw 48 12 closed/syncd N/

Lv_xyy175_12g raw 48 12 closed/syncd N/

Lv_xyy176_12g raw 48 12 closed/syncd N/

Lv_xyy177_12g raw 48 12 closed/syncd N/

Lv_xyy178_12g raw 48 12 closed/syncd N/

Lv_xyy179_12g raw 48 12 closed/syncd N/

  • 1
  • 2
  • Next Page

Related Article

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.