Steps for completely uninstalling and deleting Oracle 1: 1.1 start-> Settings-> Control Panel-> Administrative Tools-> services, stop all Oracle services. 1.2 start-> Program-> OracleforWindowsNT-> OracleInstaller, select all installed products in the box on the right, and then click the delete button, prompting whether to delete
Oracle installation 1 complete uninstallation and deletion of Oracle steps: 1. 1 start-> Settings-> Control Panel-> Administrative Tools-> services, stop all Oracle services. 1.2 start-> Program-> Oracle for Windows NT-> Oracle Installer, select all installed products in the box on the right, and then click Delete, prompting whether to delete
Oracle Installation
Steps to completely uninstall and delete 1 ORACLE:
1.1 start-> Settings-> Control Panel-> management tools-> services, stop all Oracle services.
1.2 start-> Program-> OracleforWindowsNT-> OracleInstaller, select all products installed in the box on the right, and then click "delete" to prompt "delete? Select "yes" to uninstall all Oracle products.
(The preceding steps can be omitted)
1.3 Run regedit, select HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE, and press del to Delete this entry.
1.4 Run regedit,
Select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services. Scroll through the list and delete all Oracle entries;
Select HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services. Scroll through the list and delete all Oracle entries;
Select HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services to scroll through the list and delete all Oracle entries.
1.5 Delete All menu groups and icons related to Oracle from the desktop, startup group, and program menu.
1.6 restart the computer to completely delete the Oracle directory.
1.7 Delete the Oracle-related files, select the default Oracle Directory D: \ Oracle, delete the entry directory and all subdirectories, and run the Windows 2000 directory (generally C: \ WINNT) delete the following files: ORACLE. INI, oradim80.INI
1.8 if the [ORACLE] Tag segment exists in the WIN. ini file, delete it.
2. Oracle Installation
Install Oracle10g in win7:
I. oracle 10g can be compatible with win7 by modifying some files in the installation software.
A) Open "\ Oracle 10G \ stage \ prereq \ db \ refhost. xml", add the following code to it and save it.
B) Open "\ Oracle 10G \ install \ oraparam. ini", add the following code to it and save it.
[Windows-6.1-required]
# Minimum display colours for OUI to run
MIN_DISPLAY_COLORS = 256
# Minimum CPU speed required for OUI
# CPU = 300
[Windows-6.1-optional]
C. Find the setup application in the oracle Installation File, right-click it, open "compatibility troubleshooting", click "Try suggested Settings", and select "Start Program ".
D. Install oracle 10g until the installation is complete.
2.1 select Advanced Installation
2.2 select Enterprise Edition, which has the strongest Functions
2.3 pay attention to hard disk space. disk C also requires 2 GB space to store temporary files
2.4 sometimes the network check fails. It doesn't matter.
2.5 default
2.6 transaction processing: suitable for large concurrent operations in a period of time, such as BBS. Data warehouse: Suitable for data mining operations that are small but long.
2.7 global databases are generally recommended to be unique on the internet. SID is the total name of a series of processes that maintain the database (Be sure to select "create sample solution database", which is the cornerstone of our future exercises)
When selecting a database character set, you must select the AL32UTF8 character set that meets the project requirements.
2.8 default
2.9 default
2.10 default
2.11 please specify a public password and enter the password as required to avoid forgetting
2.12 default
2.13 waiting for installation...
2.14 wait for Installation
2.15 wait for Installation
2.16 manage passwords
2.17 remove the scott user lock and change the password to "tiger" (you don't need to change it if you don't need it)
2.18 record the content of the last page in a text file (after completion: start-all programs-oracle_xxx-Application Development-SQL PLUS-Enter "scott" password "tiger" to verify that the installation is normal .)
3. Configuration
3.1 create a tablespace:
Create tablespace spectrip logging datafile '/opt/oracle/oradata/test' size 200 M autoextend on next 50 M extent management local segment space management auto;
3.2 Create a user name and password:
Create user spectrip identified by "spectrip" default tablespace spectrip temporary tablespace TEMP profile default quota unlimited on users;
3.3 Add User authorization:
Grant dba, connect, resource, aq_administrator_role, aq_user_role, authenticateduser to spectrip;
3.4 Delete tablespaces/users
Drop tablespace spectrip including contents and datafiles;
Drop user spectrip;
3.5 create a user
After the settings are complete, use PLSQL Developer to log on to the client:
Under Users, right-click to create a user. The creation procedure is as follows:
After creating a user, you need to authorize the user to be created. perform the following operations:
4. Change the Oracle character set (if needed ):
In the Registry on the client:
HKEY_LOCAL_MACHINE à SOFTWARE-à ORACLE à KEY _ OraDb10g_home1 à NLS _ LANG
Turn on and set it to: SIMPLIFIED CHINESE_CHINA.AL32UTF8. Configure it to the consistent character set of oracle on the server.
5. Data Import/Export
Start-run-CMD-press enter, in command line mode
Export
Exp bm_2010/supporter @ [database name] file = [dmp file path] full = y
Import
Imp bm_2010/supporter @ [database name] file = [dmp file path] full = y
6. Remarks
EXP and IMP commands
Command details:
E: \> exp help = y
By entering the EXP command and user name/password, you can run the following command after the user/password:
Example: exp scott/TIGER
Alternatively, you can control the running mode of "Export" by entering the EXP command with various parameters.
To specify parameters, you can use the Keyword:
Format: exp keyword = value or KEYWORD = (value1, value2,..., valueN)
Instance: exp scott/tiger grants = y tables = (EMP, DEPT, MGR) or TABLES = (T1: P1, T1: P2 ), if T1 is the Partition Table USERID, it must be the first parameter in the command line.
Keyword description (default)
---------------------------------------------------
USERID username/password
FULL export the entire file (N)
BUFFER data BUFFER size
OWNER username list
FILE output FILE (EXPDAT. DMP)
TABLES Table Name List
COMPRESS imports a range (Y)
Recordlength io record length
GRANTS export permission (Y)
INCTYPE incremental export type
INDEXES export index (Y)
Incremental export of RECORD tracking (Y)
ROWS export data ROWS (Y)
PARFILE parameter file name
CONSTRAINTS export limit (Y)
CONSISTENT cross tabulation consistency
LOG File output by LOG Screen
STATISTICS Analysis object (ESTIMATE, NONE)
DIRECT path (N)
TRIGGERS export trigger (Y)
FEEDBACK displays the progress of each x row (0)
FILESIZE maximum size of each dump file
QUERY the clause of the selected export table subset
The following keywords are only used for table spaces that can be transferred.
TRANSPORT_TABLESPACE export the table space metadata that can be transferred (N)
Table space list of TABLESPACES to be transmitted
E: \> imp help = y
You can enter the IMP command and your username/password.
Command with your username/password:
Instance: imp scott/TIGER
Alternatively, you can control "import" by entering the IMP command and various independent variables according to different parameters.
To specify parameters, you can use the Keyword:
Format: imp keyword = value or KEYWORD = (value1, value2,..., vlaueN)
Instance: imp scott/tiger ignore = y tables = (EMP, DEPT) FULL = N
Or TABLES = (T1: P1, T1: P2). If T1 is a partitioned table
USERID must be the first parameter in the command line.
Keyword description (default)
----------------------------------------------
USERID username/password
FULL import of the entire file (N)
BUFFER data BUFFER size
FROMUSER User Name List
FILE input FILE (EXPDAT. DMP)
TOUSER User Name List
SHOW only lists file content (N)
TABLES Table Name List
IGNORE creation error (N)
Recordlength io record length
GRANTS import permission (Y)
INCTYPE incremental Import Type
INDEXES import index (Y)
COMMIT submits array insert (N)
ROWS import data ROWS (Y)
PARFILE parameter file name
LOG File output by LOG Screen
CONSTRAINTS import restrictions (Y)
DESTROY overwrite the tablespace data file (N)
INDEXFILE writes table/index information to the specified file
SKIP_UNUSABLE_INDEXES skips maintenance of unavailable indexes (N)
ANALYZE executes the ANALYZE Statement (Y) in the dump file)
FEEDBACK displays the progress of each x row (0)
TOID_NOVALIDATE skips the verification of the specified type id
FILESIZE maximum size of each dump file
RECALCULATE_STATISTICS recalculates the statistical value (N)
The following keywords are only used for table spaces that can be transferred.
TRANSPORT_TABLESPACE import the deletable tablespace metadata (N)
TABLESPACES tablespace to be transmitted to the database
Data files to be transmitted to the database
TTS_OWNERS has users who can transmit table space centralized data.
Exp system/1 file = d: \ mis. dmp log = d: \ exp_mis.log full = y statistics = none direct = y
Exp system/manager @ mis file = d: \ mis. dmp log = d: \ exp_mis.log owner = yy_pub statistics = none direct = y
Imp system/1 file = E: \ 12 \ ztbf \ yy_ca.dmp log = D: \ oracle \ imp_mis.log fromuser = yy_ca touser = YY_ca ignore = y
Imp system/1 file = E: \ 12 \ ztbf \ yy_db.dmp log = D: \ oracle \ imp_mis.log fromuser = yy_db
Touser = yy_db ignore = y
Imp system/1 file = E: \ 12 \ ztbf \ yy_pub.dmp log = D: \ oracle \ imp_mis.log fromuser = yy_pub
Touser = YY-pub ignore = y
Imp system/1 file = E: \ 12 \ ztbf \ yy_ SC .dmp log = D: \ oracle \ imp_mis.log fromuser = yy_ SC touser = yy_ SC ignore = y
Imp system/1 file = E: \ 12 \ ztbf \ yy_sg.dmp log = D: \ oracle \ imp_mis.log fromuser = yy_sg touser = yy_sg ignore = y