... managed teams responsible for both databaseadministration and database engineering for Oracle, DB2, Teradata, and SQLServer She has been largely responsible for database/ system administration, general ... OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Michelle Malcher New York Chicago San Francisco Lisbon London ... supporting multiple database platforms, including Oracle, SQL Server, and Sybase As a DBA, she has strived to design, implement, and maintain stable, reliable, and secure database environments...
... they need for working with Oracle xiii xiv OracleDatabaseAdministrationforMicrosoftSQLServer DBAs The book covers a broad range of topics related to administering databases, including the ... the SQLServer and Oracle commands or components related to the topic This makes it easy for those who are familiar with how to something in SQLServer to find the information they need for working ... Checks 171 172 173 174 vii viii OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Update Statistics System Statistics...
... the SQLServer system you are managing Now let’s look at how these skills provide a starting point for learning OracleOracleDatabaseAdministrationforMicrosoftSQLServer DBAs SQLServerOracle ... with OracleSQL Developer before the SQLServer tab is present to connect to the SQLServerdatabase Details on the procedure are available from the OracleSQL Developer Help menu Search for database: ... differences in platforms, and managing these to help make better design decisions OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Where Do DBAs Belong in an Organization? Are DBAs in production...
... OracleDatabaseAdministrationforMicrosoftSQLServer DBAs nother name for this chapter could be “The Guts of Oracle. ” What is it doing in there? It is obvious that the inside workings of SQL ... memory available forOracle to use As with SQL Server, planning for memory is based on how many database instances and application processes will be running on the serverFor either database system, ... on the memory needs of the FIGURE 2-1 Memory parameters for the SGA and PGA 17 18 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs different areas Of course, in setting the SGA_MAX_SIZE...
... view 23 24 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs As an example, let’s see how we can get information about the database objects on each platform Here’s the SQLServer query ... the model database to create new databases And we even look for a tempdb? The information is closer than you might think 27 28 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Jobs ... Chapter 2: Oracle Internals System-level Information ForSQLServer databases and logins, the master database has the details The master database contains the system information and server configurations...
... 2-1 Viewing Parameters 33 34 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs ForSQL Server, the options can be set at the server and database level For Oracle, the parameters are ... is similar to the compatibility level in SQLServer Size of the database block in bytes 35 36 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs ■ PGA_AGGREGATE_TARGET ■ SGA_TARGET ... RULE in OracleDatabase 10g) This is the setting for the default behavior of the optimizer for cost-based query plans The default forOracleDatabase 11g is ALL ROWS ■ CURSOR_SHARING FORCE, EXACT,...
... fails 45 46 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Since SQLServer DBAs are familiar with the Windows platform, we will first discuss the Windows setup forOracle Then ... CHAPTER Oracle Installation 44 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs ven a basic database system installation requires some planning and preparation You need to plan for both ... 48 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Windows Platform Checklist Here’s a quick checklist for Windows installations: ■ Check that the operating system version and Oracle...
... AdministrationforMicrosoftSQLServer DBAs With OracleDatabase 10g and even 11g R2, the ASM installation was part of the database software installation routine Starting with OracleDatabase 11g ... FIGURE 3-3 ASM instance creation 59 60 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs FIGURE 3-4 ASM disk groups If you are installing OracleDatabase 11g R2, ASM is a Grid Infrastructure ... kernel-headers-2.6.18-92.el5.x86_64.rpm glibc-devel-2.5-24.x86_64.rpm 53 54 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs glibc-devel-2.5-24.i386.rpm gcc-4.1.2-42.el5.x86_64.rpm libgomp-4.1.2-42.el5.x86_64.rpm...
... Connection Manager Oracle Call Interface Oracle Programmer XML Development Kit Oracle Configuration Manager 63 64 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Also, as part of the Windows ... change the Oracle home directory FIGURE 3-6 Selecting basic or advanced installation 65 66 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs The advanced installation allows for the following: ... Oracle Support, isn’t an automatic tool for testing, and even if it were, there would still be 69 70 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs some double-checking and testing...
... model databasefor other databases SQLServer databases can be a different collation and a 77 78 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs different version than the serverFor ... 4-1 Comparing SQLServer and Oracle terminology 75 76 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Database Name Definitions The following are used to identify Oracle databases: ... CHAPTER Database Definitions and Setup 74 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs n the previous chapter, we walked through installing the Oracle software The server should...
... created sqlplus /nolog sqlplus> connect / as sysdba Connected to an idle instance sqlplus> startup nomount 83 84 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs pfile='d: \oracle\ app\product\11.2. \database\ initdba01.ora' ... to indicate the Oracle version or database service that it is listening for, as shown in the example in Figure 4-6 85 86 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs FIGURE 4-5 ... %ORACLE_ HOME%\rdbms\admin\catproc .sql sqlplus> %ORACLE_ HOME%\sqlplus\admin\pupbld .sql ## Create server parameter file sqlplus> create spfile from pfile; ## Shutdown and startup the database sqlplus> shutdown immediate; Database...
... through to the database The user must be added to the database and granted database 95 96 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs permissions For example, the oracle user on ... SYS user has the SYSDBA role granted, but SYS needs to log in as SYSDBA to use the permissions 97 98 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs NOTE SYSDBA can also be granted ... maintenance jobs, and managing the databaseserver 99 100 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Schema Owners If a user is granted dbo in SQL Server, that user has permissions to...
... also quite useful for DBAs Overview of Tools for Typical Database Tasks Table 5-1 shows the main tools in SQLServer and Oraclefor performing some common DBA tasks Task SQLServerOracle Get an ... CHAPTER DBA Tools 104 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs I n the previous chapters, we’ve covered installing Oracle and creating the database The next chapters ... SQLServer Agent, SQLServer Management Studio Oracle Scheduler, Oracle Enterprise Manager TABLE 5-1 DBA Tools for Common Tasks Chapter 5: DBA Tools You can see from the table that both SQL Server...
... get a different name to use as an alias 123 124 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs The same is true forOracle databases A database alias can be set up in the tnsnames.ora ... tnsnames.ora and sqlnet.ora files 125 This page intentionally left blank CHAPTER Database Backup, Restore, and Recovery 128 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs A s a DBA, you ... and restoring Oracle databases should look familiar to SQLServer DBAs Let’s start with the SQLServer command to back up a database: backup database customer_db to disk ='E:\mssql\bkups\customer_db_02022010.bak'...
... 136 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Backup Type SQLServer Command Oracle (RMAN) Command FULL backup database backup database Files or file groups backup database db1 ... options and RMAN commands 137 138 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs When You Run Out of Archive Space If the archive log space fills up, the database will just hang, with ... Backup incremental level cumulative database; Backup incremental level database; TABLE 6-1 Backup Options in SQLServer and Oracle In SQL Server, the system databases, as well as master, msdb,...
... DELETE RMAN> DELETE ARCHIVELOG ALL BACKED UP TIMES; 155 156 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Option SQLServerOracle Expire Part of backup job or script parameters EXPIREDATE ... useful for skipping over history tables or very large tables that might be used only for reading or reporting To view the 157 158 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs different ... FIGURE 6-11 Defining an export job in OEM 159 160 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs Figure 6-12 shows the OEM options for scheduling a Data Pump job After you have set...
... Tasks in SQLServer and Oracle Table 7-1 lists some general database maintenance tasks The specific tasks forSQLServer and Oracle may be different because of the nature of the different platforms ... health checks in SQLServer and OracleSQLServerOracle Check password policies and sa and sysadm permissions Check password policies and DBA and SYSDBA permissions Check disk space for software, ... complete information The information about the database objects and data is used by the database servers to figure out indexes and execution plans for queries In both SQLServer and Oracle, statistics...
... 188 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs You can recompile invalid objects in a few ways: ■ Recompile all database objects that are invalid The utlrp .sql script, in the ORACLE_ HOME/rdbms/admin ... grants: sqlplus> audit system grant; Audit succeeded sqlplus> audit grant any object privilege by access; Audit succeeded 189 190 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs sqlplus> ... Objects: Type FIGURE 7-6 Reorganize Objects: Options Database Maintenance 185 186 OracleDatabaseAdministrationforMicrosoftSQLServer DBAs FIGURE 7-7 Reorganize Objects: Review the table...