- What is oracle sid in windows
- What is oracle sid in windows
- About HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_HOMENAME
- MSHELP_TOOLS
- NLS_LANG and Other Globalization Parameters
- ORA_CWD
- ORA_SID_AUTOSTART
- ORA_SID_PFILE
- ORA_SID_SHUTDOWN
- ORA_SID_SHUTDOWN_TIMEOUT
- ORA_SID_SHUTDOWNTYPE
- ORA_TZFILE
- ORACLE_AFFINITY
- Using ORACLE_SID in Windows
What is oracle sid in windows
Identifying Which Session to Terminate
To identify which session to terminate, specify the session’s index number and serial number. To identify the index (SID) and serial number of a session, query the V$SESSION dynamic performance view.
������ �� �� � ��� � ������� — ��� �������� ����� �������������
db_name, � SID , ��� �������� — depends on ���� ������������ ������� .
| |
MA_D Member ������: ������ ��������=> Dallas,TX | System identifier (SID) A unique name for an Oracle instance. To switch between Oracle databases, users must specify the desired SID. The SID is included in the CONNECT DATA parts of the connect descriptor in a tnsnames.ora file, and in the definition of the network listener in a listener.ora file. Instance |
2 ��� 04, 15:27����[852883] �������� | ���������� �������� ���������� |
| |
Oleg Afanasiev Member Database Identification by Service Name Rather than SID Prior to Oracle8i, an Oracle database service was identified by an Oracle System Identifier (SID), a name that identifies a specific instance of a database. Clients connected to a database instance by specifying the SID in the connect descriptor. This naming scheme did not distinguish services from instances. In Oracle8i, a new naming scheme has been implemented. Because an Oracle database can span multiple computers, both the service as a whole and each of its instances are specified. A database service is now identified by its service name with the SERVICE_NAMES parameter in the initialization parameter file. SERVICE_NAMES specifies the name of the highest-level view of Oracle database service, which can span instances and nodes. SERVICE_NAMES is defaulted to the global database name, a name comprised of the database name (DB_NAME) and domain name (DB_DOMAIN). What is oracle sid in windowsDescribes Oracle Database for Windows registry parameters for the following keys. Other products, such as Oracle Enterprise Manager, have additional keys and parameters that are not described.
About HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_HOMENAMEEach time you install Oracle products into a new Oracle home on your computer, HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_ HOMENAME is created. This subkey contains parameter values for most Oracle products. HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_ HOMENAME includes the following parameters for an Oracle home directory. Depending on products you install, additional parameters can also be created. See your Windows development manuals.
Oracle Database Installation Guide for Microsoft Windows Appendix B, «Optimal Flexible Architecture» for details on the PATH variable and registry values when you are working with multiple Oracle homes. MSHELP_TOOLSSpecifies the location of Windows help files. The default value is: NLS_LANG and Other Globalization ParametersSpecifies supported language, territory, and character set. This parameter specifies the language in which messages appear, the territory and its conventions for calculating week and day numbers, and the character set displayed. Oracle Universal Installer sets this value during installation based on the language setting of the operating system. The default value for NLS_LANG, if not set, is AMERICAN_AMERICA.US7ASCII. There are other globalization parameters that can be set along NLS_LANG to override some values implicitly determined by NLS_LANG. These parameters are: The following parameters can also be set along NLS_LANG to determine globalization behavior that is independent from the value of NLS_LANG: All globalization parameters set in the environment and Registry for a database client are ignored if NLS_LANG is not set. Oracle Database Globalization Support Guide for more information about NLS_LANG and other globalization parameters ORA_CWDSpecifies current working directory. For example, if you set this parameter and then use ORADIM, a log file called oradim.log is created in this directory. This parameter must be manually set. ORA_SID_AUTOSTARTStarts Oracle Database when OracleService SID service is started. The default value is true. ORA_SID_PFILESpecifies full path to initialization parameter file. The default value is ORACLE_BASE \admin\DB_NAME\pfile\init.ora ORA_SID_SHUTDOWNWhen set to true , the default value, this parameter shuts down the instance of Oracle Database identified by SID when OracleService SID is stopped manually—using either the Control Panel or Net stop command. ORA_SID_SHUTDOWN_TIMEOUTSets maximum time (in seconds) to wait for shutdown to complete before the service for a particular SID stops. The default value is 30 . ORA_SID_SHUTDOWNTYPESpecifies mode in which Oracle Database is shut down when you stop OracleService SID . Valid values are a (abort), i (immediate), and n (normal). The default value is i . ORA_TZFILESpecifies the location of time zone file. Each file contains: Valid time zone names Offset from UTC Abbreviation for standard time Abbreviation for daylight savings time In previous releases, the default value for ORA _TZFILE was Starting with Oracle Database 11 g Release 2 (11.2), the default value is The timezone_ version_number .dat data files contain most commonly used time zones and are smaller for better database performance. The new default, timezlrg_ version_number .dat , includes time zones not defined in the smaller file. Oracle Database Globalization Support Guide for additional details about time zone files ORACLE_AFFINITYEnables the scheduling of class threads on more than one processor group for systems with more than 64 CPUs. This parameter must be manually added. Oracle recommends consulting Oracle Support Services before changing this parameter. The format is: Where, processorgroup is an optional parameter designating Windows CPU group. On systems with 64+ logical CPUs, Windows divides all available CPUs into 4 groups (0,1,2,3) with each group containing no more than 64 logical CPUs. By default, a process utilizes single processor group. The processorgroup parameter enables Oracle to use more than 64 logical CPUs. Refer to the specific hardware configuration to determine the valid processor groups. You should not use the ORACLE_AFFINITY parameter with multiple processor groups on a system with fewer than 64 logical cores. On production servers any system with fewer than 64 logical CPUs can have only one processor group. Each name n setting must be the name of a background thread, USER for non-background (shadow) threads, or DEF for any thread type not handled specifically. Valid background thread names include DBW0 , LGWR , PMON , SMON , ARCH , RECO , CKPT , TRWR , J000 through J999 , P000 through P481 , and any other name found in the NAME column of the v$bgprocess data dictionary view. The cpumask sets the affinity mask of the Oracle Database process. Each affinity setting must be a valid affinity mask or its numeric equivalent for the corresponding thread name. Process affinity masks are used only when Oracle Services are first started. Each thread’s affinity is set only when the individual thread is started (for example, at database startup time for the background threads). Few examples, to use multiple processor groups in a system with 160 logical CPUs, ORACLE_AFFINITY registry key in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_HOMENAME may be defined as follows: The following examples show how set the ORACLE_AFFINITY registry key in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_HOMENAME to use multiple processor groups in a system with 160 logical CPUs. In the following examples, it is assumed that: USER , DEF are thread class names; 0,1,2,3 are valid CPU groups in the system; and 4294967295 is a valid affinity mask in the corresponding CPU group. Affinitize USER (foreground) threads to all CPUs in processorgroup1 or to all CPUs in processorgroup2 or to all CPUs in processorgroup3 while alternating between the processor groups for each new foreground thread. Also, affinitize DEF class threads to CPUs 0-31 in processorgroup0 . Affinitize USER class threads either to CPUs 0-19 in processorgroup0 or to CPUs 16-31 in processorgroup2 . Also, affinitize DEF class threads to CPUs 0-19 in processorgroup1 . Affinitize USER class threads to all the CPUs of all processor groups while alternating between the processor groups for each new foreground thread. Also, affinitize DEF class threads to CPUs 0-31 in all the processor groups while alternating between the processor groups for each new DEF class thread. Affinitize USER class threads to CPUs 0-31 in processorgroup0 , CPUs 0-19 in processorgroup1 and CPUs 0-19 in processorgroup2 while alternating between the processor groups for each new foreground thread. Using ORACLE_SID in WindowsOracle Database Tips by Donald BurlesonJanuary 1, 2015 Just like how ORACLE_SID works on UNIX/Linux, the ORACLE_SID identifies the name of a specific database instance and tells the Operating System which Oracle Instance to apply your commands. ORACLE_SID is stored in the registry. However, any time a database needs to be accessed via the command prompt or with a script, then ORACLE_SID needs to be set. The command line syntax is simply: Note that there are no spaces around the equal sign. In Windows, the LOCAL command can also be used to define the ORACLE_SID. |