Discover oracle database sizing estimation, include the articles, news, trends, analysis and practical advice about oracle database sizing estimation on alibabacloud.com
Oracle DML Statement (insert, update, delete) rollback Estimation
1. Introduction to Oracle dml SQL rollback Logic
Database transactions consist of one or more DML (insert, update, delete) SQL statements. We know that the Oracle databas
Database Data occupies memory in Java. Conclusion: 1. database records are stored in JAVA. It takes about 4 times of memory space to use an object (which is a common ORM processing method), and 10 times of space to use HashMap to store KV data. 2. if your main data is text, you can estimate the space by two times. The above is a general data test conclusion. For your reference
11.2.0.3.0-Production on Fri Nov 16 14:14:29 2012Copyright (c) 1982,201 1, Oracle and/or its affiliates. All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit ProductionWith the Partitioning, Automatic Storage Management, OLAP, Data Miningand Real Application Testing optionsDatabase Directory Object has defaulted to: "
estimation method can be based on Oracle formulas. Here, we need to define its storage parameters (such as pctfree and pctused) based on the specific characteristics and usage of each table ).
Iii. Database Parameter Design
Each database has default parameter settings when it is created. However, the parameter settin
Document directory
Rollback
Read consistency
Flashback
Active
Expired
Unexpired
Summary
'Normal' operation
Out of free/expired extents
Out of Undo Space
Retention to large or undo to small?
Fixed size
Fixed size, out of unexpired extents? Check tuned_undoretention!
Fixed/auto retention
Shrink undo tablespace
Retention guaranteed
Setting the undo_retention parameter to the longest running Query
How much undo will this generate?
Oracle
Label:1. View the database version SQL>Select from v$instance;
VERSION
-----------------
12.1. 0.2. 0 2, SYSDBA user login Sqlplus Sql>show PDBs con_id con_nameOPENMODE RESTRICTED---------- ------------------------------ ---------- ----------
2Pdb$seedREAD onlyNO3PdbcisREADWRITE NO4PdbidbREADWRITE NO SQL> AlterSessionSetContainer=Pdbcis; Session altered. 3. Create DataPump Users SQL>Grant to by DP;
Grant succeeded. 4. Create a
recommended Optimization Method for Oracle. To use CBO well and maximize the efficiency of SQL statements, the timeliness of statistical data must be ensured.
Statistical information can be generated using the full calculation method and sampling estimation method. SQL example:
Full calculation method:
analyzetableabccomputestatistics;
Sample estimation
Detailed description of basic database creation operations in Oracle databases.
Graph database creation:
1. Determine whether the database to be created existsView
$ ORACLE_BASE/admin/and $ ORACLE_BASE/oradata
2. Run dbca3. Select the new Database -- General Purpose (General
Please allow me to use such a interrogative sentence as the title of the article. In the face of a database product that occupies more than half of the market share of the global relational database, does the CIO really ask himself such questions when choosing a database product? Oracle is not the cheapest product, i
, which is caused by the operating system rather than by Oracle.
4. Create at least two user-defined rollback table spaces on separate disks to store the user's own rollback segment. Arrange the order of the rollback segments in the initialization file so that they switch between multiple disks.
5. Put the redo log file on a disk with less reading and writing. For each Oracle instance, more than two redo
.
CBO is a recommended Optimization Method for Oracle. To use CBO well and maximize the efficiency of SQL statements, the timeliness of statistical data must be ensured.
Statistical information can be generated using the full calculation method and sampling estimation method. SQL example:
Full calculation method:
analyzetableabccomputestatistics;
Sample estim
Graphics Build Library:
1. Determine if there is a library to buildView
$ORACLE _base/admin/and $oracle_base/oradata
2. Run DBCA3. Select New Library--general purpose (Universal Library) template--global database name: library name. Domain name, you can use only the library name--sid case-sensitive ——......—— Data path selection, the template default is $oracle_base/ oradata/dababase--The pat
...Processing Object Type Table_export/table/table_dataTotal estimation using BLOCKS method:64 KBProcessing Object Type Table_export/table/tableProcessing Object Type Table_export/table/grant/owner_grant/object_grantProcessing Object Type Table_export/table/index/indexProcessing Object Type Table_export/table/constraint/constraintProcessing Object Type Table_export/table/index/statistics/index_statisticsProcessing Object Type Table_export/table/const
physical design is to improve the performance of the system. The parameters of the whole physical design can be adjusted according to the actual operating conditions.Table and index data quantity estimation and physical storage parameters settingThe storage capacity estimates for tables and indexes are determined based on their record length and the maximum number of records estimated. The header cost of the data block and the header overhead of the
. To use CBO well and maximize the efficiency of SQL statements, the timeliness of statistical data must be ensured.
Statistical information can be generated using the full calculation method and sampling estimation method. SQL example:
Full calculation method: Analyze table ABC compute statistics;
Sample estimation method (sample 20%): Analyze table ABC estimate statistics sample 20 percent;
The full Calcu
First, IntroductionUltra-large systems are characterized by:
1, the number of users are generally more than million, and some more than tens of millions of data, the database generally more than 1TB;
2, the system must provide real-time response functions, the system needs to operate without downtime, the system requires a high availability and scalability.
In order to meet the above requirements, in addition to the need for superior performance of th
for MigrationImpdp ityy_z1_w/z1_w123 directory = DATA_PUMP_DIR network_link = zqxt logfile = ityy. logThe execution result is as follows:Import: Release 11.2.0.1.0-Production on Friday June 28 16:52:03 2013Copyright (c) 1982,200 9, Oracle and/or its affiliates. All rights reserved.Connect to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Produc
Ultra-Large system features: 1, the number of users are generally more than million, and some more than tens of millions of data, the database generally more than 1TB;
First, IntroductionUltra-large systems are characterized by:1, the number of users are generally more than million, and some more than tens of millions of data, the database generally more than 1TB;2, the system must provide real-time respons
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.