1. system service
stay Windows7 Operating system , The operating system manages the installed through services Oraclelg Database products function .
choice “ Start → Control panel → Management tools → service ” command , The emergence system “ service ” Dialog box , And oracle Rules related services such as Next Shown .Oracle Services vary with database server installation and configuration
OracleServiceORCL: Database services ( Database instance ), yes Oracle Core services , It's the foundation of database startup management , Only this service starts , Oracle The database can be started normally .( Must be started ）
OracleOraDbllg_homelTNSListener: Listener service , This service is only needed when accessing the database remotely ( Whether it's a remote computer or a local computer , Usually through Oracle Net Network protocol connection database belongs to remote access ).( Must be started )
OracleOraDbllg_homel ConfigurationManage: To configure Oracle Start up the parameters of the service .( Not Must be started )
OracleOraDbllg_homelClrAgent: Provide right .NET Support Of Oracle Database extension service .( Not have to Must be activated )
OracleJobSchedulerORCL: Database job scheduling service .( It is not necessary to start )
OracleDBConsoleorcl: Oracle Console Services , Enterprise manager service . Only the service is up , Can be used Web The way of enterprise manager management database .( It is not necessary to start )
OracleVssWriterORCL: yes Oracle Yes VSS Providing support services .( It is not necessary to start )
OracleMTSRecoveryService: Is to allow the database to act as a Microsoft Transaction Server 、 COM/COM+ Object and the service of transaction resource manager in distributed environment .( It is not necessary to start ）
Oracle The starting types of services are divided into “ Automatically ”、“ Manual ” and “ Ban ”3 class , If the startup type is “ Automatically ”, Then the service starts when the operating system starts , because Oracle Services take up more memory resources , Causes the operating system to start slowly . therefore , If you don't use it very often Oracle, You can take these services from “ Automatically ” Start to change to “ Manual ”.
2. File architecture
Oracle11g Database server software 、 Database data file 、 Directory names and storage locations follow certain rules , be called Oracle The best flexible architecture , namely OFA(Optimal Flexible Architecture). utilize OFA Architecture , Can be Oracle System management documents 、 Data files 、 Trace files, etc. are completely separated , Simplify the work of the database management system .
Oracle11g The database server is in the base directory , Yes 7 Subdirectory . As shown in the figure below ：
●admin— In terms of databases , It mainly stores the tracking files generated during the operation of the database , Include trace files for background processes 、 user SQL Statement tracking files, etc .
● cfgtoollogs-- Store and run dbca、emca and netca Log information generated when visualizing a program .
●checkpoints-- Store database checkpoint related information .
●diag—— In units of components , Centralized storage of the diagnostic information of each component in the database .
●flash_recovery_area---- In terms of databases , When the database starts the automatic backup function , Store files that are automatically backed up 、 Store the flashback log file of the database .
●oradata--- In terms of databases , The physical file that stores the database , Including data files 、 Control files and redo log files .
●product--Oracle Deposit 11g Database management system related software , Include executable 、 Network profile 、 Script files, etc .
Besides , stay Oracte List of contents C: ProgramFiles\Oracle\Inventory The installed Oracle List of software . Install the others next time Oracle When the component , Oracle Will read this information . The contents of this directory are from Oracle Automatic maintenance , The user cannot operate on it .
3. Oracle Commonly used tools
1.Oracle Enterprise management database control tool OEM（Oracle Enterprise Manager Database Control）
function ：WEB Page graphical database management tool
2、 Database Configuration Assistant DBCA（Database Configuration Assistant）
function ： Used to build a database 、 Configure database options 、 Delete database 、 Manage templates
3、 Network management tools （Net Manager）
function ： Configure listener and network service name , Enable the server to listen to the database
4、SQL PLUS Oracle Commonly used tools
function ： Run as line editor SQL Statement and manage ORACLE database
use DBCA Create database
DBCA yes oracle Provided to create a database 、 Configure database options 、 Delete database 、 Manage database templates and configure graphical interface tools for automatic storage management . With this tool , Users can use the existing template to create a database quickly .
1. Use “ Configuration and migration tools ” In group “Database Configuration Assistant（ abbreviation DBCA）” Create database .
2. Select database create template
3. Set the database ID
The global database name is defined by the database name （DB_NAME） And the domain name of the database server （DB_DOMAIN） form , The format is “ Database name . Network domain name ”, Used to uniquely identify a network database , It is mainly used in distributed database system .
Oracle Service identifier （SID） It's a Oracle The unique name of the instance identifies .
Be careful ： The global database name should start with a letter , Followed by a letter 、 Numbers 、 Underline or $, Length not exceeding 30 Characters .SID： Length not exceeding 12 Characters .
4. Choose whether to install enterprise management
5. Set database password
Be careful ： Complex password strategy is recommended , Password at least 8 Characters , And start with a letter , Contains at least one capital letter , A small letter , A number . Passwords are case sensitive .
6. Set the database file storage location
7. Set restore settings
8. Choose whether to install the sample solution
9. Initial information settings
10. Database storage information settings
11. Create options
12. Confirmation screen
13. installation is complete
Network management tools
1.Net Configuration Assistant
A listener can listen to more than one ORACLE database , Multiple listeners can also listen to the same ORACLE database
Listeners can only be used on the same server ORACLE database
After the listener configuration is completed, restart the service
1.Net Configuration Assistant（ Network configuration assistant ）
Create or manage listening Services ：
Create a service name ：