Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 50 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
50
Dung lượng
212,86 KB
Nội dung
Previous Page TOC Next Page Home ● 56 ❍ Personal Oracle7 ■ Overview of Personal Oracle7 ■ Personal Oracle7 Components ■ System Requirements ■ Hardware Requirements ■ Software Requirements ■ Database Administration Tools ■ Database Manager ■ Database Password Manager for Windows ■ The User Manager ■ The Object Manager ■ The Session Manager ■ The Database Expander ■ Personal Oracle7 Navigator for Windows 95 ■ Database Backup and Recovery Tools ■ The Backup Manager ■ The Recovery Manager ■ The Export, Import, and SQL*Loader Utilities ■ The Database Exporter and Database Importer ■ SQL*Loader ■ SQL Products ■ Middleware ■ Oracle Objects for OLE ■ Oracle7 ODBC Driver ■ Personal Oracle7 Database Options and Networking Software ■ Distributed Options ■ The Symmetric Replication Option ■ SQL*Net and Network Manager ■ When To Use Personal Oracle7 ■ Summary 56 Personal Oracle7 Personal Oracle7 is a version of the Oracle7 database and it is currently available in the following editions: Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. ● Personal Oracle7 for Windows 95 ● Personal Oracle7 for Microsoft Windows ● Personal Oracle7 for OS/2 ● Personal Oracle7 for Power Macintosh Currently, you can download the 90-day free trial software from the Oracle World Wide Web server at http://www.oracle.com. Personal Oracle7 is bundled with a set of Oracle database administration tools or the Personal Oracle7 Navigator for Windows 95, Oracle backup and recovery tools, Oracle utilities, Oracle Objects for OLE, Oracle7 ODBC driver, and Oracle online documentation. This chapter presents the overview of Personal Oracle7, the system requirements for installing Personal Oracle7, and how it differs from other Oracle packages. It also introduces you to the major components of Personal Oracle7. Although Personal Oracle7 shares many features with the Oracle7 Server, which functions as a database server and supports a large number of clients, Personal Oracle7 is designed for a single user or developer. This chapter explains when using Personal Oracle7 is appropriate and how Personal Oracle7 meets your business and technical needs. Overview of Personal Oracle7 Oracle7 runs on many operating systems and it scales well on a wide range of hardware platforms, including personal computers, Macintosh, workstations, midrange computers, and mainframe computers. Personal Oracle7 is a single-user database, and it is designed for users who want to use or to develop Oracle7 database on Windows 95, Microsoft Windows, OS/2, or Power Macintosh. It supports up to 25 concurrent database sessions, but it is not designed to be a database server. The scalability of Oracle7 enables developers to port their applications developed on Personal Oracle7 to other operating systems on different hardware platforms. Personal Oracle7 Components Personal Oracle7 includes the Oracle7 database, Oracle database tools, Oracle utilities, SQL products, Oracle Objects for OLE, Oracle7 ODBC driver, Oracle networking software, SQL*Net version 1 and version 2, and online documentation. Personal Oracle7 for Windows 95 includes the Personal Oracle7 Navigator, which replaces a portion of the Oracle database tools, such as the Database Manager. The current major components of Personal Oracle7 are summarized in Table 56.1. For additional information about the Personal Oracle7 components, please refer to your Personal Oracle7 Installation and User's Guide. Table 56.1. Personal Oracle7 Components. Components Descriptions Personal Oracle7 for Windows 95 Personal Oracle 7 for MS Windows Personal Oracle 7 for OS/2 Personal Oracle 7 for Power Macintosh Database Database Oracle7 Database Yes Yes Yes No Distributed Options Database links, distributed queries and updates, read- only Yes Yes Yes No Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. snapshots Symmetric Replication Updatable snapshots Yes NA NA Yes Administration Tools Database Manager Startup and shutdown with NA Yes Yes Yes customized initialization parameters User Manager Create and manage user accounts, NA Yes Yes Yes roles, and privileges Object Manager Create and manage database NA Yes Yes Yes objects Session Manager View and kill user sessions NA Yes Yes Yes Database Expander Expand the size of your database NA Yes Yes Yes Password Manager Change the database password NA Yes NA Yes Navigator Database tool Yes NA NA NA Backup and Recovery Tools Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Backup Manager Back up your Oracle7 database NA Yes NA NA Recovery Manager Recover your Oracle7 database NA Yes NA NA Utilities Export Export your Oracle7 database to an Yes Yes Yes Yes export file Import Import data into your Oracle7 Yes Yes Yes Yes database from an export file SQL*Loader Load data from other data source Yes Yes Yes Yes into your Oracle7 database SQL Products PL/SQL Oracle procedural language Yes Yes Yes Yes extension to SQL SQL*DBA Administer the database, including Yes Yes Yes Yes areas that cannot be managed with the Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. database administration tools SQL*Plus A command language interface Yes Yes Yes Yes enables you to execute SQL and PL/SQL commands and scripts Networking Software SQL*Net Oracle network interface to enable Yes Yes Yes Yes clients to connect to and access the Oracle7 database Middleware Oracle Objects for Visual Basic Customer Control and Yes Yes Yes NA OLE a C++ class library Oracle7 ODBC Driver Enables other database applications Yes Yes Yes NA to work with Oracle7 database Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Online Documentation Most of the documentation is Yes Yes Yes Yes available online and in help format System Requirements Before you install Personal Oracle7, make sure that your system meets the following minimum hardware and software requirements. Refer to your Personal Oracle7 Installation and User's Guide for additional information on how to determine your system requirements. This section also gives you several tips on installing and using Personal Oracle7. Hardware Requirements This section describes the minimum hardware requirements for installing and running Personal Oracle7. ● A 486-based (or higher) IBM, COMPAQ, 100-percent compatible PC, or a Power Macintosh computer. ● A minimum of 16MB of RAM; 32MB is recommended. The ORA-9368 error message is usually caused by not having enough memory to run the Personal Oracle7 database. ● A minimum of 50MB of free disk space. Certain Personal Oracle7 installation options might require additional free disk space. ● Access to a CD-ROM drive (local or network) from your PC. A CD-ROM drive is not required if you download the software from the Web site. ● A compatible network interface card (NIC) for Oracle products to communicate with each other over a network through SQL*Net. If you are not planning to connect to Oracle products over a network, you may not need the NIC. Software Requirements This section describes the minimum software requirements for installing and running Personal Oracle7. ● Personal Oracle7 for Windows 95 requires Microsoft Windows 95. Personal Oracle7 for Windows requires Microsoft Windows 3.1 or Windows for Workgroups 3.11. Personal Oracle7 for OS/2 requires IBM OS/2 version 2.1 or IBM OS/2 Warp version 3. Personal Oracle7 for Power Macintosh requires Macintosh operating system version 7.5 or greater. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Personal Oracle7 for Windows is not designed to run under OS/2 or Windows NT. Therefore, running Personal Oracle7 for Windows under a WinOS/2 session or Windows 3.1 emulation of Windows NT is not supported. ● Personal Oracle7 for Windows requires Microsoft Win32s, which is included on the Personal Oracle7 for Windows CD-ROM (both editions). Win32s is Microsoft's 32-bit extension to Microsoft Windows 3.1. Because Personal Oracle7 is a 32-bit database, you need to install Win32s first and make sure it is working properly before you install Personal Oracle7 for Windows. If you experience the stack overflow error, the follow steps might help you resolve it: You might need to change STACKS=9,256 to STACKS=36,256 in the CONFIG.SYS file. Certain display drivers, such as STBVISN.DRV, might not be compatible with Win32s and might cause stack overflow errors. Replacing the display driver might solve the problem. ● Network transport protocol software (Named Pipes, SPX, TCP/IP, or AppleTalk), which is required to be supported by Oracle SQL*Net version 1 or version 2 if you are planning to connect to Oracle products through SQL*Net. Database Administration Tools This section introduces you to the database administration tools of the Personal Oracle7. These graphical database tools enable you to perform the common database administration tasks and to maintain and customize your database. For step-by-step instructions on how to use the database administration tools, please refer to your Personal Oracle7 Installation and User's Guide and the Oracle Database Tools User's Guide. Database Manager The Database Manager enables you to start or shut down the database, check the status of the database, customize the database configurations, and modify aliases for the database. Figure 56.1 shows the Oracle Database Manager dialog box. Figure 56.1. The Oracle Database Manager dialog box. Before you select any dialog element in the Database Manager, you want to make sure the Database dialog box contains a correct database name and the Configuration dialog box shows the appropriate configuration name for the database you have selected. The database name for the local Personal Oracle7 database is 2: (the number two followed by a colon). You can assign a database alias for it. You can also select a remote database name. A configuration is equivalent to an initialization parameter file. Therefore, if you modify any initialization parameter using the Configure dialog box, then you need to make the same change in your initialization parameter file if you are going to use SQL*DBA to start or shut down your database. When you use the Configure dialog box to customize and set the initialization parameters, the changes are saved in VS10.INI. The Database Manager uses both the built-in (VSP10.INI) and user-defined (VS10.INI) configurations. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Database Password Manager for Windows The Database Password Manager enables you to change the database password to protect your database. The database password is the same as the password for INTERNAL. The default database password is ORACLE in Personal Oracle7 for Windows. The initial database password in Personal Oracle7 for OS/2 is assigned by you during the installation. Shut down the database before you use the Password Manager to change the database password. Otherwise, you will not be able to shut down the database from the Database Manager because the database will not accept any password. If your database is started up with an initialization parameter REMOTE_LOGIN_PASSWORDFILE=SHARED in the configuration, you can change the database password while the database is up. In Personal Oracle7 for Windows, if you add DBA_AUTHORIZATION=BYPASS in \WINDOWS\ORACLE.INI and restart Windows, when you start the database in the Database Manager, it will not prompt you to input the database password. Similarly, for Personal Oracle7 for Windows 95, you can add DBA_AUTHORIZATION=PASS in the Windows 95 Registry. The User Manager The User Manager enables you to create and delete user accounts and roles, grant user and role privileges, and change a user's password. When you create a new user using the User Manager, the default tablespace for the new user is USER_DATA and the temporary tablespace is TEMPORARY_DATA. If any one of the tablespaces does not exist, you will receive a warning dialog box. If you select OK to continue, the User Manager will use the SYSTEM tablespace. The workaround is to use SQL*DBA to create new users by specifying a default tablespace and a temporary tablespace in the CREATE USER statement for each new user. The Object Manager The Object Manager enables you to create and modify database objects, including tables, indexes, synonyms, database links, views, and snapshots. You can also use the Object Manager to grant object privileges to users or roles. The Session Manager The Session Manager enables you to view all the sessions, the session IDs, serial number, and the status of each connected session. The Session Manager also enables you to disconnect or terminate sessions. The Database Expander When the database is 75 percent full, you should expand the database. The Database Expander enables you to view the current free and used space in each tablespace. After you select a tablespace that you need to expand, you can input the size (in KB) you want to add and click the Expand button to expand the tablespace. In Personal Oracle7 for Windows, the Database Expander adds a new data file in the \ORAWIN\BIN directory. However, the original data files are stored in the \ORAWIN\DBS directory. For the Database Expander to add new data files in the \ORAWIN\DBS directory, you can change the working directory of the Database Expander to \ORAWIN \DBS in the Properties option of the Database Expander icon. Personal Oracle7 Navigator for Windows 95 The Personal Oracle7 Navigator for Window 95 enables you to access all of your projects, database connections, and database objects. It functions like the database administration tools and enables you to create, modify, and Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. delete database objects. You can create a new project and administer the database using the Oracle7 Navigator menu bar or the Oracle7 Navigator toolbar. Figure 56.2 shows the Personal Oracle7 Navigator dialog box. Figure 56.2. The Personal Oracle7 Navigator dialog box. Database Backup and Recovery Tools This section gives an overview of the Backup Manager and the Recovery Manager for Windows. For instructions on using these tools, refer to your Personal Oracle7 Installation and User's Guide and the Oracle Database Tools User's Guide. The Backup Manager The Backup Manager enables you to do an online (hot) backup of a selected tablespace and the control file and an offline (cold) backup of the entire database to a tape or selected directory. The Online - Selected Tablespace option is available only when the database is running and in ARCHIVELOG mode. The Recovery Manager After a database failure, you can use the Recovery Manager to recover your database. The Recovery Manager enables you to do Automatic Recovery, Restore from full database backup, Restore data file, and then do recovery, or Restore control file, and then do recovery. The Export, Import, and SQL*Loader Utilities This section describes the characteristics of the Database Exporter, Database Importer, and SQL*Loader utilities. It also provides several tips for using these utilities. The Database Exporter and Database Importer When you want to move data between Oracle databases, you can use the Database Exporter to export tables, users, or the full database to a transportable file. Then, you can use the Database Importer to read data from the transportable file back into an Oracle database. This transportable file can be used as a database backup. These export and import utilities are available for various platforms. That means the transportable file generated by the Database Exporter from the Windows environment could be used to import the data into an Oracle7 database in another platform. SQL*Loader The SQL*Loader utility enables you to load data from external files in ASCII format into Oracle database tables. Before using the SQL*Loader utility, you might need to create a SQL*Loader control file, which is used by the SQL*Loader utility to interpret the data file. SQL Products Personal Oracle7 includes the following SQL products: ● PL/SQL. Procedural Language/Structured Query Language is the procedural language extension to SQL. ● SQL*DBA. The SQL*DBA utility enables you to execute SQL scripts and perform database administration tasks. Certain database administration tasks can only be performed using the SQL*DBA utility. For example, to create a new database, you can use the SQL*DBA utility. Currently, the GUI implementation of SQL*DBA does not support the monitor functions, such as MONITOR SESSION. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. If you receive the ORA-01991 error while you are creating a new database using the SQL*DBA utility, you might need to change the setting of the REMOTE_LOGIN_PASSWORDFILE parameter in the configuration to SHARED. Its default setting is EXCLUSIVE. ● SQL*Plus. SQL*Plus is a command language interface that enables you to run SQL and PL/SQL scripts and commands. The SQL products are discussed in detail in Chapters 5 to 7. Middleware This section describes the additional components that are included with Personal Oracle7: Oracle Objects for OLE and Oracle7 ODBC driver. Oracle Objects for OLE Oracle Objects for OLE is a set of programmable objects (dynaset objects) that enables you to develop C++, Microsoft Visual Basic, and OLE 2 scripting-enabled applications to access the data of an Oracle database and the advanced Oracle7 features. It supports Borland C++ 4.0 or higher, Microsoft Visual C++ 1.5 or higher, Microsoft Visual Basic 3.0 or higher, Visual Basic for Applications, and any other Windows-based application that supports OLE 2 scripting. Part VIII of this book gives an overview of Oracle Objects for OLE and discusses the OLE Server and Data Control. Oracle7 ODBC Driver The Oracle7 ODBC driver is a program that can function as an interpreter between the ODBC interface and the native interface to an Oracle7 database. It enables the direct access between the ODBC-compliant database applications and the Oracle7 database. For example, the Oracle7 ODBC driver enables you to use Microsoft Access to retrieve and modify data from your Oracle7 database. Before you use the Oracle7 ODBC driver, you might need to use the ODBC Administrator to configure it properly. The following steps illustrate how to configure the current Oracle7 ODBC driver: 1. Select the ODBC Administrator icon. 2. In the Data Source dialog box, select the Add button. 3. In the Add Data Source dialog box, select the appropriate Oracle database version from the Installed ODBC Driver list, and then select OK. 4. The Oracle7 ODBC Setup dialog box appears on the screen; enter the required information. Figure 56.3 shows the Oracle7 ODBC Setup dialog box. Figure 56.3. The Oracle7 ODBC Setup dialog box. When you access the local Personal Oracle7 database, you can use 2: as the SQL*Net connect string. Personal Oracle7 Database Options and Networking Software This section describes the database options that are available in Personal Oracle7. It includes the distributed options and Symmetric Replication option. Distributed Options Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... support N/A N/A Yes N/A Oracle7 Workgroup Server Components The Oracle7 Workgroup Server includes the Oracle7 database, Oracle database tools, Oracle utilities, SQL products, SQL*Net, Oracle Objects for OLE, Oracle7 ODBC driver, and online documentation These Oracle7 Workgroup Server components can be categorized into the server or client software The primary components of the Oracle7 Workgroup Server... Differs from Other Oracle Packages s Operating System Integration Support s Oracle7 Features s When to Use Oracle7 Server s Summary 58 Oracle7 Server The Oracle7 Server is one of the Oracle packages; it includes the Oracle7 database and client/server tools and utilities Currently, it is available in the following editions: q Oracle7 Server for Windows NT q Oracle7 Server for NetWare q Oracle7 Server for... It also discusses what components are included in the Oracle7 Server Oracle7 Server Components The Oracle7 Server includes the multiuser Oracle7 database with the distributed options, Oracle database utilities, graphical tools, SQL products, SQL*Net, Secure Network Services, Oracle Objects for OLE, Oracle7 ODBC driver, and online documentation The Oracle7 Server components are categorized into the server... The Oracle Snap-In for NetWare Administrator must be installed and available on a workstation Oracle7 Features The Oracle7 Server is different from other Oracle packages in terms of the Oracle7 database features Certain Oracle7 features are available for the Oracle7 Server, but they are not available for other Oracle7 packages, such as the parallel query option Table 58.3 summarizes some of the Oracle7 ... for each Oracle package Table 58.3 Oracle7 new features available for the Oracle packages Personal Oracle7 Oracle7 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Oracle7 Features Oracle7 Workgroup Server Server Distributed Option Yes N/A Yes Parallel Query Option N/A N/A Yes SQL*Net Yes Yes Yes Parallel Server N/A N/A N/A When to Use Oracle7 Server To select an Oracle package... NetWare q Oracle7 Server for OS/2 This chapter presents the overview of Oracle7 Server and its major components The Oracle7 Server is different from the Personal Oracle7 and the Oracle7 Workgroup Server This chapter compares these three Oracle packages and discusses how Oracle7 Server differs from the other two Oracle packages Each of the Oracle packages is tailored to meet specific client/server application... Oracle packages, including Personal Oracle7 and Oracle7 Workgroup Server The primary difference between the Oracle7 Server and Personal Oracle7 is that the Oracle7 Server is a multiuser database system, whereas the Personal Oracle7 is a single-user/developer database system Although the Oracle7 Server and the Oracle7 Workgroup Server share many similarities, the Oracle7 Server is targeted at users who require... are part of the Oracle Workgroup/2000 suite: q Personal Oracle7 q Oracle7 Workgroup Server (for NetWare, Windows NT, OS/2, UnixWare, SCO, and Solaris x86.) q Oracle Objects for OLE q Oracle Power Objects Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Personal Oracle7 is presented in Chapter 56, "Personal Oracle7 ," Oracle Objects for OLE is discussed in detail in Part IX... Workgroup 2000 s Overview of the Oracle Workgroup/2000 Suite s How Oracle7 Workgroup Server Differs From Other Oracle Packages s Oracle7 Workgroup Server Components s System Requirements s Server Hardware Requirements s Server Operating System Requirements s Client System Requirements s Oracle7 Workgroup Server Tools and Utilities s Start Oracle Networks for Intel UNIX s Stop Oracle Networks for Intel UNIX... the Oracle7 Server Version 7.2 for Windows NT How Oracle7 Server Differs from Other Oracle Packages The Oracle7 Server is designed for developers and organizations that require distributed database systems to develop and deploy client/server applications in an enterprise-wide environment This section highlights the differences between Oracle7 Server and other Oracle packages, including Personal Oracle7 . Personal Oracle7 Components Personal Oracle7 includes the Oracle7 database, Oracle database tools, Oracle utilities, SQL products, Oracle Objects for OLE, Oracle7 . Navigator for Windows 95, Oracle backup and recovery tools, Oracle utilities, Oracle Objects for OLE, Oracle7 ODBC driver, and Oracle online documentation. This