Learn about oracle database 11g sql fundamentals, we have the largest and most updated oracle database 11g sql fundamentals information on alibabacloud.com
In Oracle 11 g2, duplicating a database has two methods:
1. Active database duplication2. Backup-based duplication
The advantages of using duplicate for a database are:Test backup and recovery proceduresTest an upgrade to a new release of Oracle DatabaseTest the effect of ap
1. Online segment shrink recycles idle space that uses fragments below the high water level line in the Oracle database segment. Segment shrink has the following benefits:
1. compressed data will lead to better cache utilization, resulting in better online transaction processing (OLTP) performance.
2. During full table scan, fewer blocks are required for shrinking data, which in turn leads to better perform
Tags: blog http os io strong file data forNothing to do, want to re-install Oracle 11g, recorded as follows:(1) First stop all Oracle services in the service;(2) Start, oracle-oradb11g_home1, Oracle installation products, Universal Installer, click "Uninstall Product"-"Expan
reference) "I know the results rowid would be sorted by"-No, they is not. The rows would be returned in any order the database thinks are the most efficient. There is no, absolutely no, guarantee this rows is returned in any specific order unless your specify an ORDER BY . The only-to-get-a specific order is ORDER BY -to-use. Http://stackoverflow.com/questions/20186673/in-oracle-
Tags:httpcom use data html cti This you need to install a 32-bit Oracle client to use Plsql, but at this time sqlplus can not be used, hehe . I tried the following method, successfully, haha 1) install Oracle 11g 64-bit 2) Install the 32-bit Oracle Client (instantclient-basic-win32-11.2.0.1.0) :http://www.oracle.com/
); (4) Perform database update operations, such as deleting several records and adding several records; (5) Close the database (SHUTDOWN IMMEDIATE); (6) Copy all previously saved data files, control files, online redo log files to the original location, overwriting the original files; (7) Restart the database (startup); (8) Query the data to see if the updated da
1. application scenarios:Environment:Host Name ip vip sid DiskGroupDb1 1.1.1.1 1.1.1.11 bkjia DATA1Db2 1.1.1.2 1.1.1.12 bkjiadb DATA2Expected results:Db1 and db2 can be backed up to each other. Here db1 is used as the master database, and db2 is used as the slave database to explain how to mount the disk groups DATA1, DATA2, and, all running instances bkjia and bkjiadb use virtual IP addresses as client acc
/bp_oracle Directory=dump_dir dumpfile=bp_oracle.dmp version=10.2.0.1.0--Remove TablespaceDrop tablespace bp_oracle including CONTENTS and datafiles;--delete the user, and execute the statement carefully, the Cascade deletes all objects under that user.Drop user bp_oracle cascade;--Modify User passwordAlter user bp_oracle identified by bp_oracle;
--Export database with no versionEXPDP bp_oracle/bp_oracle schemas=bp_oracle dumpfile=bp_oracle20120221
Tags: Oracle 11gORACLES11 the startup state of the databaseORACLE11G must go through three states at boot time: Nomount,mount,open.Nomount: Only open the DB instance in this state, read the parameter file.MOUNT: Opens the control file according to the parameter file information. Reads various information in the control file, such as the data file location, the log file path, but does not open the data file.Open: Opens the data file and carries out a s
Tags: oracle 11g statistic Dba_autotask_clientRecently found that individual 11G databases do not automatically collect statistics, and some view query results are as follows:Sql> Select Client_name,status from dba_autotask_client where client_name = ' Auto Optimizer stats collection ';Client_name STATUS------------------------------------------------------------
First select your system version, 32-bit system Select 32-bit, 64-bit system can use 32-bit can also use 64-bit, recommended 64 bits! Oracle Database 11g 2nd edition (11.2.0.1.0) for Microsoft Windows (32-bit)Http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_database_1of2.zipHttp://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_database_2of2
\11.2.0\dbhome_1\bin>sqlplus/as SYSDBA
Sql*plus:release 11.2.0.1.0 Productionon Wednesday December 21 10:56:26 2016
Copyright (c) 1982, Oracle. All rights reserved.
Connect to:
Oracle Database 11g Enterprise editionrelease 11.2.0.1.0-64bit Production
With the partitioni
normal.
Path:d:\app\administrator\product\11.2.0\client_1;d:\app\administrator\product\11.2.0\dbhome_1\bin; ...
The fourth is Oracle_sid (ORCL instance name, which is the name of the database at installation time)
Oracle_sid:orcl
The fifth one is oracle_home.
Oracle_home: You can not set, if the settings must be correct, otherwise can not be used.
If you forget the instance name at Oracle installatio
Tags: Register home str height menu AEC Delete Eve Edit Oracle 11g can be uninstalled from the Start menu , and you will need to delete the relevant contents in the registry at the same time. operating System : WINDOWS10 Professional Edition. Uninstall steps: 1. Disable Oracle services: Enter Computer Management, in the service, find all services at the beginnin
Physical memory requirements: Minimum 1G, minimum 2G on windows7,windows8,windows8.1.Virtual memory (or paging space) capacity requirements:
Available RAM
Swap Space Required
Between 2GB and 16GB
Equal to the size of RAM
More than GB
16GB
Database software hard disk space requirements:
Installation Type
Requirement for software files
TEMP Space
created.To create a spfile file on a bare device:sql> create spfile= '/dev/rspfileyd ' from pfile;File created.Check the data file for the database:Sql> select name from V$datafile;NAME--------------------------------------------------------------------------------/dev/rsystem01/dev/rsysaux01/dev/rundotbs01/dev/rusers01Sql> select name from V$controlfile;NAME--------------------------------------------------------------------------------/dev/rctl1/dev/rctl2/dev/rctl3Sql> Select member from V$lo
Connect to data with sys user sqlplus:Sql*plus:release 11.2.0.3.0 Production on Thu June 22 11:07:58 2017Copyright (c) 1982, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit ProductionWith the partitioning, Oracle Label Security, OLAP, Data Mining,
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.