... Definitions and Setup 73 Servers, Databases, Instances, and Schemas 74 SQL Server Setup Versus Oracle Setup 77 Creating Databases 79 Using the DBCA 79 Duplicating Databases with Templates ... tables listing the SQL Server and Oracle commands or components related to the topic This makes it easy for those who are familiar with how to do something in SQL Server to find the information they ... statistics and database objects, and performance tuning ■ Use of PL/SQL, including how it varies from Transact-SQL ■ High-availability solutions for the architecture and design of the database system
Ngày tải lên: 04/07/2014, 05:20
... 2System-level InformationFor SQL Server databases and logins, the master database has the details The master database contains the system information and server configurations So, where is the master database ... retrieve this information about the database and objects contained in the databases and schemas Here is a small sampling of the information stored and where it can be found on SQL Server and Oracle ... and Oracle systems: SQL Server Master Database Oracle Data Dictionary NOTE Some of the system tables are new to version SQL Server 2008 There are also system tables at the database level There
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 6 docx
... you can run a quick show query in SQL*Plus Table 2-1 compares the SQL Server and Oracle commands for retrieving the values of parameters and options NOTE In SQL Server, to see all of the advanced ... Oracle redo logs and the SQL Server transaction logs Like the SQL Server transaction logs, the redo logs record all of the transactions and changes made to the database When the database is in ARCHIVELOG ... block readers in Oracle databases Transaction Logs Versus Redo Logs In SQL Server, transactions and changes are written out to the transaction log, which is used by SQL Server to either commit
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 7 pps
... database Summary SQL Server has system databases, such as master, msdb, model, and tempdb Even though Oracle does not have individual system databases that match the ones in SQL Server, the platforms ... outside the database lists So, the 44 Oracle Database Administration for Microsoft SQL Server DBAs Trang 4components you plan to install will also determine what is needed for theserver The disk ... home and Oracle SID are important for being able to connect to the database 46 Oracle Database Administration for Microsoft SQL Server DBAs Trang 6User Account for InstallationThe installer creates
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 8 pdf
... but enough to cover the basics If you don’t have enough memory in which to store the database— whether it’s SQL Server or Oracle—fast read access is great For backing up data and applications that ... hardware mirroring Trang 7With Oracle Database 10g and even 11g R2, the ASM installation was partof the database software installation routine Starting with Oracle Database 11g R2, ASM is a separate ... need space for server logs and backups, and possibly a scratch area for exports and working with files Although you could use certain storage solutions, such as striping, to make your database system
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 10 docx
... the SQL Server database Schemas can own the objects in both environments In SQL Server, there could be several databases for the instance, so there can be several different schemas in a database ... ofdatabase is “data and information that is collected together for the ability to access and manage.” The term server could refer to the actual server hardware or to the database server A SQL Server ... Microsoft SQL Server DBAs Trang 4server, unlike with SQL Server, which has different layers of system objectsat the server level and the database level Also, there are no users inside the Oracle schemas,
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 11 pot
... views sqlplus> %ORACLE_HOME%\rdbms\admin\catalog.sql sqlplus> %ORACLE_HOME%\rdbms\admin\catproc.sql sqlplus> %ORACLE_HOME%\sqlplus\admin\pupbld.sql ## Create server parameter file sqlplus> ... sqlplus> create spfile from pfile; ## Shutdown and startup the database sqlplus> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. sqlplus> startup ORACLE ... for the character set of the database For SQL Server, collations are available at the server level and can be configured down to the column level of a table The SQL Server collations are not only
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 12 docx
... views from tables Now let’s take a look at what permissions might be needed for SQL Server database owners compared to Oracle schema owners Database Owners In SQL Server, if you are the database ... different objects in the database As we discussed, a database in SQL Server is similar to the schema in Oracle, so the SQL Server database owner is similar to the Oracle schema owner Each of the ... log into the database via sqlplus and shutdown database and startup in restrict mode SQL>shutdown immediate; SQL>startup restrict SQL> alter system set aq_tm_processes=0; SQL> alter
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 13 pot
... tools in SQL Server and Oracle for performing some common DBA tasks. 104 Oracle Database Administration for Microsoft SQL Server DBAs Task SQL Server Oracle Get an overview of objects and database ... properties for a SQL Server instance, as well as the database properties that are seen in SQL Server Management Studio. ■ Schema The Schema tab provides a view into the objects in the schemas. The ... objects and database activity SQL Server Management Studio Oracle Enterprise Manager Run queries SQL Server Management Studio, Query Analyzer SQL Developer, SQL*Plus, SQL Worksheet Trace sessions
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 15 pps
... restoring Oracle databases should look familiar to SQL Server DBAs Let’s start with the SQL Server command to back up a database: backup database customer_db to disk ='E:\mssql\bkups\customer_db_02022010.bak' ... Backup, Restore, and Recovery 129 Trang 9Here is the SQL Server command to restore a database:restore database customer_db from disk ='E:\mssql\bkups\customer_db_02022010.bak' The Oracle RMAN ... the database, and then setting AUTHENTICATION_SERVICES = ( NTS) will allow for passing the Windows credentials through to the database Since the sqlnet.ora file is on both the client and server
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 16 potx
... incremental level 1 cumulative database; Backup incremental level 1 database; TABLE 6-1. Backup Options in SQL Server and Oracle Trang 6include the control files to make sure the information is captured ... 5In SQL Server, the system databases, as well as master, msdb, and model, need to be backed up Similarly, in Oracle, the control files, system datafiles, and parameter files for the Oracle database ... the database for data changes, application upgrades, or even database upgrades The restore point marks a time to recover to if the upgrade goes awry Although you could also get the information from
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 17 docx
... has the information about the database backup and backup set. A control file can be used for the same information. The restore database command restores the database files, and the recover database ... target database to PROD02 from active database spfile PARAMETER_VALUE_CONVERT '/u01/oracle/oradata/PROD01/','+DG_DATA01' 150 Oracle Database Administration for Microsoft SQL Server ... Oracle RMAN recover database command can bring the database to a point in time, to a change number, or to a specific archive log. 144 Oracle Database Administration for Microsoft SQL Server DBAs How
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 18 pps
... running properly. 154 Oracle Database Administration for Microsoft SQL Server DBAs FIGURE 6-9. Managing backups in OEM In the RMAN catalog, RC_DATABASE has the list of databases that are registered ... additional information. It might seem like duplicate information, but remember that the RMAN catalog can keep the information for multiple databases, so a report can be run for all of the databases ... You can build reports from these tables outside OEM or RMAN to provide details about the backups that are running against one of the database servers or multiple databases (from the RMAN catalog).
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 20 potx
... have 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 SQL Server and Oracle, ... SQL Server DBA, you’ve planned database monitoring and set up maintenance jobs With various versions of SQL Server, some tasks may be more important than others; something that was a must for SQL ... and some system jobs are set up when the database is created Trang 2Table 7-1 lists some general database maintenance tasks The specifictasks for SQL Server and Oracle may be different because
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 21 ppt
... all database objects that are invalid sqlplus> $ORACLE_HOME/rdbms/admin/utlrp; Recompile objects at the schema level sqlplus> exec DBMS_UTILITY.compile_schema(schema => 'MYSCHEMA'); ... 188 Oracle Database Administration for Microsoft SQL Server DBAs Grants SQL Server has roles available to grant read-only or write permissions against a database for the users of that database. ... the database, and use the Oracle Scheduler to periodically run the scripts. Job Scheduling With SQL Server, the msdb database holds the information about jobs and schedules, and the SQL Server
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 22 doc
... Trang 1SQL Server OracleSQL Server Agent Job slave processes (parameter MAX_ JOB_SLAVE_PROCESSES) History and logs History and logs in dba_scheduler_* views Jobs inside and outside the database ... inside and outside the database Used for maintenance tasks Used for maintenance tasks Manage in SQL Server Management Studio Manage in OEM or with DBMS_ SCHEDULER Permissions: SQLAgentUserRolein ... DBMS_AUTO_TASK_ADMIN.sqlplus> exec dbms_auto_task_admin.disable(client_name=>'sql tuning advisor',operation=> NULL,window_name=>NULL); PL/SQL procedure successfully completed. sqlplus>
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 24 docx
... indexes on their associated tables to build the information in the view, but there might be a need for an index for selecting from the view SQL Server has indexed views—you create a view, and ... for storage SQLPLUS> create bitmap index idx_sales_prod on sales(product.name) from sales, product where sales.prod_id=product.prod_id; SQLPLUS> select sales.amount, product.name from sales,product ... to re-create it SQLPLUS> alter index idx_prod_date invisible; Index altered. SQLPLUS> select index_name, visibility from dba_indexes where index_name='IDX_PROD_DATE'; - SQLPLUS> alter
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 25 ppsx
... v$session_wait ## To see a SQL statement from one of the users currently active SQLPLUS> select sa.sql_text from v$sqlarea sa, v$sqltext st, v$session s where sa.sql_id=st.sql_id and s.sql_hash_value=st.hash_value ... From here, you can drill down to the SQL statements and look into SQL tuning Drilling down on the session ID or SQL hash value can get back to the SQL being run (Remember the SQL_hash_ valuefrom ... the quickest way to get results With SQL Server, you can get the execution plan from SQL Server Management Studio or by enabling showplan_all This will provide information about the plan for which
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 26 ppsx
... using PL/SQL If you’re migrating from SQL Server to Oracle, you’ll probably need to spend some time converting the T-SQL procedures to PL/SQL procedures Database Coding Practices PL/SQL is a ... language for SQL Server is Transact-SQL (T-SQL) For Oracle, the programming language is PL/SQL.These programming languages provide additional capabilities beyond those available with standard SQL They ... database are different from those in a SQL Server database Since locks and blocking are handled differently in Oracle, this area is further down on the list that it is in SQL Server Indexes, statistics,
Ngày tải lên: 04/07/2014, 05:20
Oracle Database Administration for Microsoft SQL Server DBAs part 27 docx
... and other useful information about PL/SQL, let’s take a brief look at UPDATE statements, which tend to be very different in SQL Server and Oracle The transition from doing SQL Server updates to ... in a SQL*Plus session before executing a SQL statement SQLPLUS> begin insert into emp values('Mandy',10); end; / PL/SQL procedure successfully completed. SQLPLUS> select * from emp; SQLPLUS> ... the SQL Server UPDATE statement, you can just run the query after the FROM to Update SQL Server Example Oracle Example Update one column UPDATE titles SET ytd_sales = t.ytd_sales + s.qty FROM
Ngày tải lên: 04/07/2014, 05:20
Bạn có muốn tìm thêm với từ khóa: