The EXP export tool compresses data backups in a database into a binary system file. Can migrate between different OS
The Imp Import tool imports the binary system files that are formed by exp into the database.
A. Export tool exp
It has three different modes:
A. User mode: Export all user objects and data in the object;
B. Table mode: Export all the user tables or specified tables;
C. Entire database: Export all objects in the database.
$exp oa1/123@oracle file=d:/all.dmp grants=y
Description:
, you can run a script to get some memory out of the SGA and reassign it to the PGA area.
alter system set Sga_memory_max = 3g;alter system set Pga_aggregate_target = 3g;
In Oracle9i, Oracle provides the ability to increase or decrease the size of the following portions of the SGA memory:
Data buffer Size-alter system set db_cache_size=300m;Shared Pool Size-alter system set shared_pool_size=200m;Total PGA RAM Memory Size-alter system set pga_aggregate_target=
-table reuse storage;
2. ALTER TABLE big-table deallocate unused keep 2000m (n-1/n of the original size);
3. ALTER TABLE big-table deallocate unused keep 1500m;
....
4. drop table big-table;
[Q] How to shrink the size of a temporary data file
[a]9i the following version uses
ALTER DATABASE datafile ' file name ' RESIZE 100M a similar statement
9i above version adopts
ALTER DATABASE tempfile ' file name ' RESIZE 100M
Note that temporary data files are
Server with an adaptive checkpoint algorithm. Percona also said that a Percona server/xtradb version based on the MySQL 5.5 code baseline is about to be released, and 5.5.7 has been released, but it is still beta-tested and can be downloaded from LaunchPad.
The Percona test platform is a DELL PowerEdge R900 machine that uses a RAID10 disk array, approximately 50G of test data, and configuration parameters:
innodb_buffer_pool_size=24g
innodb_log_file_size=
is in the SPFile parameter file in effect, not in memory, so must restart the database to load the parameter file to make it effective
3.db_cache_size parameter "Database buffer cache"
Alter system set db_cache_size=2000m Scope=both;
1). This parameter is a dynamic parameter, the memory area used to cache valid data that is in use in the database has a significant impact on the speed at which data is retrieved, and if the retrieved data is found i
/group_15 ') size 2000M; Six: The main library after the successful test to continue, open the main repository of monitoring, shut down the firewall, [Email protected] ~]$ tnsping JLPROJCT3 TNS Ping Utility for linux:version 11.2.0.3.0-production on 05-mar-2015 17:45:23 Copyright (c) 1997, Oracle. All rights reserved. Used parameter files: Used TNSNames Adapter to resolve the aliasAttempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST
-interactive command line mode$exp Scott/tiger tables= (emp,dept) file=/directory/scott.dmp grants=yDescription: Export two tables emp,dept from Scott users to a file/directory/scott.dmp$exp Scott/tiger tables=emp query=\ "where job=\ ' salesman\ ' andsal\Description: Add the query Condition job= ' salesman ' and sal(But I seldom use it personally, or if I generate a temporary table of records that meet the conditions, then exp will be handy)$expparfile =username.par file=/directory1/username_1.
Exp Username/[email protected] file= ' d:\hehe.dmp ' tables= (%) query= "" "Where Update_dtime >= to_date (' 2017-01-01 ', ' Yyyy-mm-dd ') "" "Create user Db_user_name identified by db_user_pwdDefault Tablespace ETL;Grant Connect,resource to Db_user_name;Grant create any sequence to db_user_name;Grant create any table to Db_user_name;Grant Delete any table to Db_user_name;Grant insert any table to Db_user_name;Grant Select any table to Db_user_name;Grant unlimited tablespace to Db_user_name;Gran
autoextend on;
The tablespace has been created.
sql> Create Tablespace Csdb
2 Logging
3 datafile ' D:\app\oradata\orcl\csdb.dbf '
4 size 2000m
5 Autoextend on next 50M MaxSize Unlimited;
The tablespace has been created.
Sql> create user Ftuser identified by unicorn406
2 Default Tablespace Csdb
3 temporary tablespace csdbtmp;
The user has created.
Sql> Grant CONNECT,RESOURCE,DBA to Ftuser;
Authorization is succes
# for advice The change settings# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html# * * * Don't EDIT this FILE. It ' s a template which'll be copied to the# * * * default location during install, and would be replaced if you# * * * * Upgrade to a newer version of MySQL.[Mysqld]# Remove Leading # and set to the amount of RAM for the most important data# Cache in MySQL. Start at 70% of all RAM for dedicated server, else 10%.# innodb_buffer_pool_size = 128M# Uncomment the f
-specific MY.CNF files.If you are sure that mysqld only reads the option from the specified file, you can use--defaults-option as the first option at the command line when you start the server:Mysqld--defaults-file=your_path_to_my_cnfa high-level my.cnf example. Suppose you have a Linux computer that has 2GB of memory and three 60GB hard disks (in directory Paths/,/DR2 and/DR3). The following examples show the possible configuration parameters for InnoDB in my.cnf.[Mysqld]# can write your other
Tags: reliability host failure class purpose error Server style integrityStorage Engine files: Because of the relationship of the MySQL table storage engine, each storage engine will have its own files to hold various data. These storage engines really store data such as data and indexes .Table Space FilesThe InnoDB storage engine mimics Oracle on the storage design, storing the stored data as a tablespace . In the default configuration, there is a file that is initialized with a size of 10MB an
'; 20. Store case-sensitive data, but the index is not case sensitive some times you may want to query the database for some independent data, may use UPPER (..) = UPPER (..) for case-insensitive queries, so you want the index is not case-sensitive, not occupy so much space, This statement happens to solve your needs. CREATE TABLE tab (col1 VARCHAR2 (10));CREATE INDEX idx1 on tab (UPPER (col1)); ANALYZE TABLE a COMPUTE STATISTICS; 21. Adjust tablespace without adding data file another DDL qu
tablespace CAIHUI0331 datafile' D:\ORACLE\product\11.1.0\ORADATA\ORCL\ORACLE\CAIHUI0331. DBF ' SIZE 32000M --Turn on auto-expansionALTER DATABASE datafile ' D:\ORACLE\product\11.1.0\ORADATA\ORCL\ORACLE\FINCHINAFCDD. DBF ' autoextend on; --Add data filesALTER tablespace CAIHUI0331 ADD datafile' D:\ORACLE\product\11.1.0\ORADATA\ORCL\ORACLE\CAIHUI0331_3.DBF ' SIZE 32000M; --Add a data file to the system tablespace SYSTEM02.DBF (note that new data files are not declared)ALTER tablespace "SYSTEM" AD
Reprint http://vase.iteye.com/blog/2114664Beginner Android, there are a number of limitations on the simulator, such as the storage limit in the title, no matter how the ADT Manager is set up, the internal storage space will not be larger.After the Internet search solutions, Chinese-related articles, although many, but can be used very little (yes, I use Eclipse ADT, version 22,android4.4 API 19, said Androidstodio no restrictions, not to test), most of the online article said from the command l
The previous article introduced the Php-excel-reader method of reading Excel files, as needed, to put data such as Excel:
The new database table is as follows:
--Database: ' Alumni '
--The structure of the table ' alumni '
CREATE TABLE IF not EXISTS ' alumni ' (
' ID ' bigint (a) not NULL auto_increment,
' GID ' varchar (DEFAULT NULL COMMENT ' archive number '),
' student_no ' varchar DEFAULT NULL COMMENT ' study number ',
' Name ' varchar (+) DEFAULT NULL,
PRIMARY KEY (' id '),
KEY ' gid ' ('
the PGA region.
alter system set sga_memory_max = 3g;alter system set pga_aggregate_target = 3g;
In Oracle9i, Oracle provides the ability to increase or decrease the size of the following parts of the SGA memory:
Data buffer size - alter system set db_cache_size=300m;Shared pool size - alter system set shared_pool_size=200m;Total PGA RAM memory size - alter system set pga_aggregate_target=2000m;
On UNIX, Oracle dynamic
standard is also divided into: 100base-tx, 100BASE-FX, 100base-t4 three sub-categories.100BASE-TX: is a Fast Ethernet technology that uses Class 5 data-level unshielded twisted pair or shielded twisted-pair wires. It uses two pairs of twisted pair, one pair for sending, and one pair for receiving data. The 4b/5b encoding method is used in the transmission, and the signal frequency is 125MHz. Complies with the EIA586 Class 5 cabling Standard and IBM's SPT 1 class cabling standard. Use the same R
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.