How to Improve the query statistics speed of ORACLE databases

Source: Internet
Author: User

How to Improve the query statistics speed of ORACLE databases when developing large-scale oracle database systems, we have carried out some physical designs on the database in line with the principles of security and efficiency, in light of the characteristics of the project, this greatly improves the speed of database query statistics. Summarized as follows: 1) expand the data table space to 500 mb, used to store the data of the system; oracle training 2) the initial size of the disk segment is 10 KB, the increase is 10 K and the increase is 1; 3) the user's temporary space increases by 40 M; 4) the system's temporary tablespace and rollback segment tablespace increase by 40 M, create four rollback segments; 5) store tables, directory tables, and receiving tables with frequent queries and large data volumes in one cluster; 6) provide regular backup, store the backup file on another machine. The SQL statement used to set the data table space is as follows:

Create tablespace WXGL_DATA1 DATAFILE 'wxgl _ DATA1.ORA 'SIZE 500 m online; alter tablespace TEMPORARY_DATA add datafile 'tmp2orcl. ORA 'size 40 M; alter tablespace ROLLBACK_DATA ADD datafile' RBS2ORCL. ORA 'size 40 M; create user zbgl identified by zbgl; grant dba to zbgl; alter user zbgl default tablespace WXGL_DATA1 temporary tablespace TEMPORARY_DATA;

 

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.