بتاريخ: 31 مارس 200719 سنة comment_95578 1. AVAILABILITY Windows NT has been existence since 1993. It runs on two processorarchitectures: Intel X86 (needs Pentium) and Digital Alpha AXP.The Windows NT operating system is only available from Microsoft.UNIX has been in existence since 1972: previous versions did exist,but they were written in PDP assembly language, rather than C. UNIXruns on most hardware architectures and versions are supplied by many vendors, most notably Sun, HP, IBM, Digital, Sequent, DataGeneral, NCR and SCO.2. SECURITY Windows NT 3.5 has been evaluated successfully at U.S. Departmentof Defense C2 security level (TCSEC class C2 rating). A utility onthe Windows NT Resource kit, C2 Configuration/Security Manager,reports the state of compliance of the relevant features, such aswhether the last username is displayed at logon.As of 2000.07.25 NT 4.0 does not have a TCSEC class C2 rating.For Microsoft's own statement about this, see:http://www.microsoft.com/NTServer/security...c2_security.aspSome specialised UNIX variants support the B1 level of security.3. USER INTERFACEWindows NT has a common graphical user interface across architecturetypes. The interface changed between NT 3.51 and NT 4.0 fromWindows 3.11 style to Windows 95/98 style.Many UNIX versions have an X-Windows type of user interface, theappearance varying between flavours. Linux in particular offers anumber of GUI interfaces, including Windows look-alikes. However,most UNIX commands are still character mode terminal based.4. NUMBER OF DISK DRIVESWindows NT is limited to using drive letters A-Z, though use of rawpartitions can allow disks to be divided up into smaller sections (seequestion 17).UNIX has no built-in limitation on number of disk drives.5. BACKGROUND PROCESSING AND BATCH JOBSNT only has the AT command. An easier-to-use GUI version may be foundon the Resource Kit.UNIX has more sophisticated job control mechanisms.6. RECOMPILATIONNT applications only require recompiling if moved to adifferent architecture, e.g. Intel to Alpha.UNIX applications require recompiling if moved to a differentplatform, e.g. HP to IBM RS/6000. They also need recompilingfor different UNIX releases on the same platform.7. SCALABILITYStandard Windows NT currently scales effectively to four CPUs, thoughsome manufacturers have recently announced eight-way systems. UNIX scales to at least 64 CPUs.8. NUMBER OF SESSIONSWindows NT supports only a single interactive GUI session, unlessMicrosoft Terminal Server, RAS or a third-party tool is used.UNIX supports hundreds of interactive GUI or character modesessions.9. APPLICATION AVAILABILITYSeveral thousand applications are available specifically for Windows NT.It can also run many of the thousands of 16-bit Windows applications.Third-party products allow some UNIX applications to be run, though thegreatest interest is the other way, enabling Windows NT applications torun under UNIX variants, especially Linux. Some public domain softwareis available for Windows NT.There are many thousands of UNIX applications on the market. A largeamount of public domain software is also available. Emulation software,available for many flavours of UNIX, allows many 16-bit Windowsapplications to be run. 10. FILESYSTEM TYPES AND CAPABILITIESWindows NT supports two filesystems - FAT and NTFS. Oracle software anddatafiles can be installed on either type, with the following provisos:Security- FAT filesystem has no file-level security- Once a user is connected to the NT server, they have full access to any FAT file (i.e. they can delete or overwrite the file)- NTFS filesystem has file-level securityOnce a user is connected to an NT server, they must then haveaccess to a file to be able to access it.NT files can only have a single name (unless using POSIX).Files on UNIX can have multiple names via hard or soft links.11. CLUSTERINGWindows NT clustering has only become available relatively recently.Most of the major hardware vendors support it. Two Oracle products forWindows NT clusters are Oracle Parallel Server and Oracle Fail Safe.The latter is for two-node clusters, where an instance can only run onone node at a given time.UNIX clustering has been in existence for several years. Oracle ParallelServer has been available on UNIX since early Oracle7 releases. OracleFail Safe is not available for UNIX.12. PROCESSES AND THREADSEach Oracle background "process" (e.g. LGWR, DBWR, ARCH, etc.), and eachdedicated server "process" is a thread of the master ORACLE process onWindows NT. The multi-threaded architecture is very efficient on WindowsNT, permitting fast, low-overhead context switches due to all threadssharing resources of the master process.With Oracle7 and 8.0.x on Windows NT, most Oracle executables and henceprocesses had a two-digit version number appended to the name, to allowmultiple versions to be installed into the single ORACLE_HOME. With theintroduction of multiple ORACLE_HOMEs on NT in release 8.0.4, this wasno longer necessary, and as of 8.1.5 the UNIX style of using just thename has been adopted. With multiple Oracle instances running on Windows NT, there will beone ORACLE process per instance, each with multiple component threads.Each Oracle background process exists as a separate process onUNIX.13. THE MULTI-THREADED SERVER (MTS)Despite Oracle's inherently multi-threaded architecture on NT(see previous point), the multi-threaded server option of theRDBMS was not part of the Oracle7 port on Windows NT. Thus, eachclient connection was a dedicated connection, with each connectedsession getting a dedicated server thread within the ORACLE7x process. However, Oracle8 on Windows NT fully supports MTS.UNIX Oracle7 ports have supported MTS since early Oracle7 releases.14. SERVICES AND DAEMONSNT Services are similar to UNIX daemons, permitting a program torun independent of a user logon session.Oracle registers each instance as a service to allow them to bestarted independent of a user logging on (e.g. instance started onmachine boot). By default, services run as the SYSTEM user in NT.SYSTEM is not a user which can create a logon session - it isspecifically for running system-orientated services. Oracle serverprocesses on UNIX keep running even if no interactive users arelogged on.15. SETTING ORACLE_HOMEOracle on Windows NT utilises variables in the registry similarly to the way Oracle on UNIX utilises shell environment variables.ORACLE_HOME and ORACLE_SID are variables defined in the NT Registry.The Oracle Installer and Oracle Instance Manager define variables inthe Registry as well as registering the Oracle instance as a service.The Registry can be edited manually via the REGEDT32 utility, to changethe values of variables, but this should be undertaken with care.Release 8.0.4 of Oracle was the first release on Windows NT thatallowed support for more than one Oracle home. This was a largestep forward in providing comparable installation capabilities to Oracle on UNIX. If using release 8.0.4 or higher, the Oracle HomeSelector utility, not the ORACLE_HOME environment variable, shouldbe used to specify the setting of Oracle home.Oracle on UNIX requires ORACLE_HOME and ORACLE_SID to be set in system or user login scripts. UNIX has always supported multiple ORACLE_HOMEs.16. PERFORMANCE MONITORINGOracle on Windows NT is integrated with the NT Event Viewer andPerformance Monitor utilities.The Event Viewer utility is how an NT administrator views systemalert messages on NT. Oracle has integrated with Event Viewer such that Oracle startup/shutdown messages and the OS audit trail (ifyou configure OS auditing in Oracle) appear there. PerformanceMonitor is the NT equivalent of the UNIX sar or vmstat command,providing detailed resource utilisation data for all processesrunning on the system.Oracle has integrated with Performance Monitor such that you canview utilisation of operating system and Oracle resources (e.g. filewrite bytes per second - only those related to Oracle, library cachehit ratios, etc.). The Oracle Performance Monitor entry in theStart Menu > Programs > Oracle for Windows NT starts the standardNT Performance Monitor utility but feeds it Oracle-specific data.Although multiple instances of Oracle can be run on Windows NT, theNT Performance Monitor and Event Viewer utilities can only "see" oneOracle instance at a time. For details of how to edit the relevantregistry variables, see Note 46875.1 or the Getting Started Guidefor Oracle on Windows NT.Oracle on UNIX provides no performance utilities for use at operatingsystem level. Utilities such as sar or vmstat must be used to monitorOracle background or shadow processes. These do not provide a graphicalinterface. More sophisticated third-party tools are available on UNIX.17. RAW PARTITIONSWindows NT supports raw (unbuffered) disk partitions, where Oracle canstore data, log or control files. Each raw partition can be assigned adrive letter, but will not be formatted with a filesystem.Similarly to UNIX, each raw NT partition will be mapped to a singleOracle data, log or control file. Where NT differs from UNIX isthe naming convention for these files. When referencing a rawpartition in any Oracle SQL command, the syntax looks like this:DATAFILE '\\.\f:' SIZE 49M REUSEwhere f: is the drive letter assigned to the raw partition, referred tohere as a logical raw file. Windows NT and Oracle also support physicalraw files, with device names of the form:\\.\PhysicalDriveNwhere N is the number of the physical drive, as seen in Disk Administrator.Physical raw files would need to be used on a system with more drives thanavailable drive letters for the desired number of raw partitions.The OCOPY utility can be used to copy data to and from raw partitions,in a similar way to the UNIX dd command. Backup of a raw partition mustbe to a filesystem. The NT Backup utility can then be used to copy thebackup to tape as required.On both Windows NT and UNIX, raw partitions must be used for the shareddata files in a Parallel Server environment, where special Oracleutilities are provided for manipulating them.18. CONNECT INTERNALA password is required to CONNECT INTERNAL for Oracle on Windows NT.The database password is defined during installation and by defaultis stored in a hidden password file called "PWD<SID>.ora" in theDATABASE directory under "ORACLE_HOME".There is a Windows NT equivalent to the UNIX dba group. The NT usernameused to install Oracle8i Enterprise Edition is automatically added to a Windows NT local group called ORA_DBA, which receives SYSDBA privilege.This obviates the need for a password when issuing commands such asCONNECT INTERNAL and CONNECT / AS SYSDBA. On the same principle, an ORA_OPER group can be created for database operators, and finer-grained security is possible by use of the "ORA_<SID>_DBA" and "ORA_<SID>_OPER"groups.19. HOT BACKUPSOracle on Windows NT supports hot backups using the same backupstrategy as it on UNIX, i.e. put the tablespaces into backup mode andcopy the files to the backup location. Then bring the tablespaces outof backup mode. By definition, this can all be done while the databaseis up and in use (though it is best to choose a quiet time, when thereare few transactions).The Windows NT feature to be aware of is that NT Backup does not allowfiles in use to be copied, so you must use the OCOPY utility thatOracle provides to copy the open database files to another disk location.Since OCOPY cannot copy files directly to tape, you will then need to use NT Backup or a similar utility to copy the files to tape, as required.20. RELINKINGOracle on Windows NT is supplied as a set of executables and dynamic linklibraries (DLLs). Relinking by the user is not possible on Windows NT, butexecutable images can be modified using the ORASTACK utility, to changethe size of the stack used by the threads of the Oracle server process.This can be useful to avoid running out of virtual memory when using avery large SGA, or with thousands of connections. It is recommended thatthis tool should be used under the guidance of Oracle Support.On UNIX, object files and archive libraries are linked to generate theOracle executables, and relinking is necessary after operations such as installation of a patch or Net8 protocol adapter. تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.