... tablespace USERS SH 2 USERS SCOTT .375 USERS BTHOMAS 16.0625 SYSAUX 716.375 <- Subtotal SYSAUX tablespace … … … SYSAUX FLOWS 100.6875 SYSTEM 701.625 <- Subtotal SYSTEM tablespace SYSTEM ... FLOWS 100.6875 <- Subtotal FLOWS schema USERS 21.25 <- Subtotal USERS tablespace USERS HR .1875 <- HR schema in USERS tablespace USERS OE 2.625 <- OE schema in USERS tablespace ... rows_sortedFROM v$sysstat; IN_MEMORY ON_DISK ROWS_SORTED - - - 728 12 326714What happens in the previous statement is a single pass through the V$SYSSTAT table The presummary result set
Ngày tải lên: 14/12/2013, 15:15
... part of the Oracle Database 11g SQL Fundamentals I test Table 5.1 summarizes the DML statements that Oracle supports ta b l e 5 1 DML Statements Supported by Oracle INSERT Adds rows to a table ... table names in SELECT, DELETE, INSERT, and UPDATE statements Subqueries that return one row and one column result are known as scalar subqueries Scalar subqueries can be used in most places where ... INSERT statement See these examples: SQL> SHOW USERUSER is “HR” SQL> INSERT INTO accounts VALUES (USER, SYSDATE, 345); 1 row created SQL> SELECT * FROM accounts; CUST_NAME ACC_OPEN_ BALANCE
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P8 docx
... conditions occur, such as starting the database, or when a database error occurs. Java objects Oracle Database 11g includes Java objects such as Java classes, Java sources, and Java resources. Java stored ... database objects grouped together. For example, a schema can have tables, views, triggers, synonyms, and PL/SQL programs such as procedures. A schema is owned by a database user and has the same ... same name as the user. If the database user does not own any database objects, then no schema is associated with the user. A schema is a logical grouping of database objects. A database user can
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P9 ppt
... views, sequences, indexes, and synonyms These four types of objects with tables are the most commonly used schema objects in an Oracle Database A... used schema objects in an Oracle Database ... columns Oracle 11g allows you to create constraints on the views and restrict the operations on views In this chapter, I will discuss the uses of views, how they are created and... basic database ... AM Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Review Questions 333 Review Questions 1. The STATE table has the following constraints (the constraint status is
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P10 pptx
... made, the user establishes a session in the instance. After establishing a session, each user starts a server process on the host server itself It is this server process that is responsible for performing ... Database 11g Objects Every RDBMS supports a variety of database objects Oracle 11g supports the entire set of database objects required for a relational database, such as tables, views, constraints, ... The Oracle 11g architecture Server Tablespace 1 SGA Server Process 2 Background Processes PGA Instance Physical Database Structure Database Data Database Archive Log Files Password Files Parameter
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P13 ppt
... processes, and storage. A user process initiates a connection with the Oracle database and starts a server process. The server process is responsible for performing the tasks on the database. ... database. SQL is the language used to manage and administer Oracle databases. Several tools are available to administer an Oracle 11g database. The most com- mon ones used by DBAs are SQL*Plus and ... popular databases today are relational databases. Relational databases consist of data composed of a set of relational objects. Data is stored in tables as rows and columns. Oracle is a relational database.
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P14 pptx
... Oracle Using SQL*Plus You can also use the command-line facility SQL*Plus to start the Oracle Database You will need to connect to SQL*Plus as a user with SYSOPER or SYSDBA privileges Here is ... persist across database shutdowns, you can specify SCOPE=MEMORY, as in the fol-lowing example: imme-SQL>ALTERSYSTEMSETSGA_TARGET=500MSCOPE=BOTH; Systemaltered SQL> Trang 18You can use ... V$VERSION Shows which software version the database is using V$OPTION Displays which optional components are installed in the database V$SQL Displays information about the SQL statements that database
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P15 ppt
... not specify a block size for the tablespace, the database block size is assumed Multiple block sizes in the database are beneficial for large databases with OLTP and Decision Support System (DSS) ... block size that suits most of your tables as the standard block size In most databases, this is the only block size you will ever need Oracle gives you the option of having multiple block sizes, ... BIGFILE FLASHBACK_ON - - -SYSTEM NO YES UNDOTBS1 NO YESSYSAUX NO YESUSERS NO YESTEMP NO YESEXAMPLE NO YESDATA NO YESINDX NO YES See Chapter 15 for more information on flashback operations
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P16 pptx
... CUSTOMER_ADDRESSESSYS_C002794 C CUSTOMER_ADDRESSESSYS_C002795 C CUSTOMER_ADDRESSESPK_CUST_ADDRESSES P CUSTOMER_ADDRESSESFK_CUST_ADDRESSES R CUSTOMER_ADDRESSES PK_CUSTOMER_MASTERCK_ADD_TYPE2 C CUSTOMER_ADDRESSES ... and database security is an issue of major concern in many organizations as network systems continue to grow in number and complexity and as users gain increasing access to systems Sensitive business ... components of Oracle Net, and I’ll discuss the tools you have at your disposal to perform these tasks As the number of users connecting to Oracle Databases in the enterprise grows, the system requirements
Ngày tải lên: 14/12/2013, 15:15
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P3 ppt
... Multiple SQL and SQL*Plus commands can be stored in a file and can be executed as a unit Such files are called script files Data in the Oracle database is managed and accessed using SQL A SELECT statement ... COMMISSION_PCT - -Russell .4Rogers RaphaelyRajs SELECT last_name, commission_pctFROM employees WHERE last_name LIKE ‘R%’ ORDER BY commission_pct ASC NULLS FIRST, last_name DESC; Trang 12LAST_NAME ... examples demonstrate how to use NULLS FIRST in an ascending sort: SELECT last_name, commission_pctFROM employees WHERE last_name LIKE ‘R%’ ORDER BY commission_pct ASC, last_name DESC; LAST_NAME
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Oracle Database 11g P2 pptx
... page, specify passwords for accounts such as sys and system. 6. On the Security Settings page, choose the security settings for the new database (this is new in Oracle Database 11g). DBCA provides ... from Oracle Database 10g to Oracle Database 11g, you must copy three scripts (utlu11i.sql, utilu111s.sql, and utlu111x.sql) from the 11g database’s file system ($ORACLE_HOME/rdbms/admin/) to a staging ... DBMS_WORKLOAD_REPLAY: Support the new Database Replay feature, which we discuss later in this chapter Of course, as with all new database releases, several of the older Oracle-supplied packages
Ngày tải lên: 22/12/2013, 23:16
Tài liệu Oracle Database 11g PL/SQL Programming P2 ppt
... REGEXP_INSTR functions and introduces the REGEXP_COUNT function Appendix E discusses, reviews, and demonstrates regular expressions using the Oracle 11g Database regular expression functions SIMPLE_INTEGER ... the rest of the loop More on using this command is in Chapter Appendix J covers the MOD function Cross-Session PL/ SQL Function Result Cache The cross-session PL/ SQL function result cache is a mechanism ... enable it by using the following command: ALTER SESSION SET PLSCOPE_SETTINGS = 'IDENTIFIERS:ALL'; The PL/ Scope utility does not collect statistics until you enable it The statistics let you examine...
Ngày tải lên: 25/01/2014, 14:20
Tài liệu Oracle Database 11g PL/SQL Programming P1 docx
... to the Oracle 11g Database, Chapter 1: Oracle PL/ SQL Overview the database creates a new session In that session, you can run SQL or PL/ SQL statements from the SQL*Plus environment PL/ SQL program ... example, PL/ SQL 1.0 shipped with the Oracle Database PL/ SQL 2.x shipped with the Oracle 7.x Databases Beginning with Oracle 8, PL/ SQL versions correspond to the database release numbers, like PL/ SQL ... 1: PL/ SQL Overview explains the basis of PL/ SQL It also covers Oracle 10g Release features and Oracle 11g new features ■ Chapter 2: PL/ SQL Basics provides a quick tour of writing PL/ SQL It is...
Ngày tải lên: 25/01/2014, 14:20
Oracle Database 11g: A Beginner’s Guide doc
... the database moves to the next step where it is started At this point, the database is ready to use ■ Shutdown This is the act of stopping Oracle Database 11g When Oracle Database 11g is shut ... consistency as Oracle Database 11g runs Consistency defines the interrelatedness of the database components with one another A consistent instance must be established every time Oracle Database ... chapter, we discuss how Oracle Database 11g insists there are at least two online redo logs Suppose we call these groups A and B Oracle Database 11g uses these two groups in a cyclical fashion, moving...
Ngày tải lên: 22/03/2014, 10:20
Oracle Database 11g PL /SQL Programming doc
... to the Oracle 11g Database, Chapter 1: Oracle PL/ SQL Overview the database creates a new session In that session, you can run SQL or PL/ SQL statements from the SQL*Plus environment PL/ SQL program ... example, PL/ SQL 1.0 shipped with the Oracle Database PL/ SQL 2.x shipped with the Oracle 7.x Databases Beginning with Oracle 8, PL/ SQL versions correspond to the database release numbers, like PL/ SQL ... 1: PL/ SQL Overview explains the basis of PL/ SQL It also covers Oracle 10g Release features and Oracle 11g new features ■ Chapter 2: PL/ SQL Basics provides a quick tour of writing PL/ SQL It is...
Ngày tải lên: 08/08/2014, 20:21
OCA Oracle Database 11g SQL Fundamentals I Exam Guide P2
... business processes), systems analysts (who model the data), system designers (who decide how to implement the models), developers (you), database administrators, system administrators, and (most ... does text data (such as word processing documents) But the Spatial and Text database options can be used for these purposes There is also the possibility of using user-defined objects to store ... books-per-author table It will also become necessary to introduce some codes, such as ISBNs to identify books and social security numbers to identify authors This is a possible normalized structure:...
Ngày tải lên: 19/10/2013, 19:15
OCA Oracle Database 11g SQL Fundamentals I Exam Guide P1
... Technologies be established with HTTP The database sessions are client-server sessions consisting of a user process and a server process, as described in the previous section It is possible for an application ... an Oracle server process Throughout this book, two user processes will be used extensively: SQL*Plus and SQL Developer These are simple processes provided by Oracle for establishing sessions against ... diagrammatically A session is a user process in communication with a server process There will usually be one user process per user and one server process per user process The user and server processes that...
Ngày tải lên: 19/10/2013, 19:15
Oracle Database Administrator''''s Guide
... "Managing Oracle Database Processes" This chapter helps you to identify different Oracle Database processes, such as dedicated server processes and shared server processes Consult this chapter ... identifiers, as well as user-supplied database objects and structures, column names, packages and classes, usernames and roles, program units, and parameter values Enter sqlplus to open SQL*Plus UPPERCASE ... and SQL" augments tuning by "session and SQL" in the majority of systems where all sessions are anonymous and shared See "Defining Application Services for Oracle Database 10g" and Oracle Database...
Ngày tải lên: 22/10/2013, 15:15
OCP Oracle Database 11g New Features Exam Guide P1
... 185 Use Secure File LOBs to store documents with compression, encryption, deduplication, caching Creating SecureFiles 454 Use SQL and PL/ SQL APIs to access Securefile LOBs Oracle SecureFiles 450 ... reviews the new installation features of the Oracle server software for Oracle Database 11g Release (11.1) Although the installation process is essentially the same as in the previous release, ... is to upgrade your present database to the Oracle Database 11g release This chapter will describe changes in the manual upgrade method as well as in the Database Upgrade Assistant (DBUA) System...
Ngày tải lên: 23/10/2013, 17:15
Oracle Database 11g The Complete Reference P1
... triggers, telling the database what steps to take when different events occur within the database Triggers may occur during database events (such as database startup), changes to structures (such as ... Subpartitions Tablespaces: USER_TABLESPACES Space Quotas: USER_TS_QUOTAS Segments and Extents: USER_SEGMENTS and USER_EXTENTS Partitions and Subpartitions ... create structures such as tables and indexes to store rows and speed their retrieval You can create synonyms for the object names, view objects in different databases (across database links), and...
Ngày tải lên: 28/10/2013, 00:15