20140524 Database Lesson Notes

Source: Internet
Author: User

1, you can specify tablespace and storage rules and allocate free table space when creating a table Pctfree

?
1 2 3 4 5 6 7 create table tablename tablespace tsname   storage()pctfree 10(预留大小), pctused(有多大空间时允许新数据今日)

  

2, reorganization and reconstruction of database

Reorganization: Reduce fragmentation, improve performance, import and export on the line

Refactoring: Design block size,

One IO time fixed, one IO read a block, first design block size, calculate table space based on table size

The segment contains a series of areas, the region is an integer multiple of the block, the storage scheme of the segment is mainly determined by the initial region, the laundry song area, and the regional growth rate, the maximum minimum area

3, the database supports hot backup, the hot backup is based on the table space

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.