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;