• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/109

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

109 Cards in this Set

  • Front
  • Back

a set of files on disk

a database

A database exists until its files are

deleted deliberately.

How do you access the database?

Through the (oracle) instance.



What is an instance

a set of processes and memory structures.

Where does the instance exist?

on the CPU(s) and in the memory of the server node, and this existence is temporary.

T/F An instance can be started and stopped

True.

What manages all access to the database?

the instance

T/F In the Oracle environment any user can have direct contact with the database.

False. This is impossible.

An oracle instance + an Oracle database=

an oracle server

In a two-tier, client-server model what do the client tier and server tier do?

The client tier generates the SQL commands, and the server tier executes them. (LAN between the two sides)

The client tier consists of what two components?

the users and the user processes.



The server tier consists of what three components?

The server processes that execute the SQL, the instance, and the database itself.

T/F Each user interacts with a user process.

True

T/F Each user process interacts with a server process.

True



The server processes interact with the instance, and the instance interacts with the ______.

Database



What is a session?

A user process in communication with a server process. There will usually be one process per user and one server process per user process.

The user and server processes that make up sessions are launched on demand by _____ and terminated when no longer required; this is the log-on and log-off cycle.

users

The instance processes and memory structures are launched by the ________ and persist until the administrator deliberately terminates them; this is the database start-up and shut-down cycle.

database administrator

What user processes are used extensively in Oracle?

SQL*Plus and SQL Developer. These are simple processes provided by Oracle for establishing sessions against an Oracle server and issuing ad hoc SQL.

All communication with an oracle server follows what model?

client-server

What is the simplest form of the database server?

One instance connected to one database. (in a more complex environment one database can be opened by many instances. RAC)

What are the benefits of RAC?

scalability, performance and zero down time.

What does an application server do?

replaces the client-side software traditionally installed on end-user terminals; it runs applications centrally, presenting them to users in windows displayed locally in web browsers.

T/F The Oracle Application Server is a platform for developing, deploying and managing web applications.

True

What is a web application?

A web application can be defined as any application with which users communicate with HTTP.



Web applications usually run in at least three tiers. They are..

1. a database tier that manages access to the data.


2. the client tier (often implemented as a web browser) handles the local window management for communications with the users.


3. an application tier in the middle executes the program logic that generates the user interface and the SQL calls to the database.

In the three-tier environment, there are two types of sessions. What are they?

1. end-user sessions: from the client tier to the middle tier


2. database sessions: from the middle tier to the data tier.

The end-user sessions with be established with ____.

HTTP

The database sessions are made up of what?

client-server sessions consisting of a user process and a server process.

What is connection pooling?

With connection pooling, the application server establishes a relatively small number of persistent database sessions and makes them available on demand (queuing requests it necessary) to a relatively large number of end-user sessions against the application server.

Oracle Enterprise Manager comes in what three forms?

Database Express


Fusion Middleware Control


Cloud Control

What is Oracle Enterprise Manager Database Express?

It is a graphical tool for managing one database, which may be a RAC clustered database. It consists of a Java process running on the database server machine. Administrators connect to Database Express from a browser, and Database Express then connects to the database server.

What is Oracle Enterprise Manager Fusion Middleware Control?

It is a graphical tool for managing a Fusion Middleware deployment. These deployments typically include Oracle WebLogic Server, an industry-leading application server which provides the container Java virtual machines (JVMs) that host Oracle or custom Java applications.

What is Oracle Enterprise Manager Cloud Control?

It globalizes the management environment. It can also manage the nodes, or machines, on which the servers run, as well as (through plug-ins) a wide range of third party products.

Critical to the concept of cloud computing is ____ ___.

service virtualization

What does service virtualization mean?

At all levels there is a layer of abstraction between what is requested and what is provided. End users ask for an application service and let the cloud work out which clustered J2EE application server can best provide it.

Within the database it is possible to user what three languages?

1. SQL


2. PL/SQL


3. Java

What is SQL used for?

data access, but it cannot be used for developing complete applications. It has no real facilities for developing user interfaces, and it also lacks the procedural structures needed for manipulating rows individually.

What is PL/SQL?

PL/SQL is a third-generation language (3GL) proprietary to Oracle.




It has the usual procedural constructs (such as if-then-else and looping) and facilities for user interface design.




In PL/SQL code, one can embed calls to SQL. Thus, a PL/SQL application might use SQL to retrieve one or more rows from the database, then perform various actions based on their content, and then issue more SQL to write rows back to the database.

T/F Any Java programmer should be able to write code that will work with an Oracle database.

True.

The relational paradigm models data as ...

two dimensional tables.

A table consists of..

a number of rows, each consisting of a set of columns.

T/F Within a table, all the rows have the same column structure, though it is possible that in some rows some columns may have nothing in them.

True

A table may also be referred to as what?

A relation or an entity

A row may also be referred to as what?

records or tuples

A column may also be referred to as what?

an attribute or field.

What is the cardinality of typles?

the number of rows in a table.

The process of modeling data into relational tables is known as what?

normalization

In most cases, data stored in a relational database and accessed with SQL should be normalized to the _____ form.

third

The first normal is to

remove the repeating groups

What is second normal form?

Removes columns from the table that are not dependent on the primary key.

What is the third normal form?

removes all columns that are interdependent

What is a primary key?

The unique identifier of a row in a table, either one column or a concatenation of several columns (known as a composite key)

Is it possible to define tables without a primary key?

Yes, though it is usually not a good idea.

What is a foreign key?

It is a column (or a concatenation of several columns) that can be used to identify a related row in another table. A foreign key in one table will match a primary key in another table.

List the Data Manipulation Language (DML) commands.

1. Select


2. Insert


3. Update


4. Delete


5. Merge



List the Data Definition Language (DDL) commands.

1. Create


2. Alter


3. Drop


4. Rename


5. Truncate


6. Comment

List the Data Control Language (DCL) commands.

1. Grant


2. Revoke

List the Transaction Control Language (TCL) commands.

1. Commit


2. Rollback


3. Savepoint



What are the two most basic tools user to connect to an Oracle database?

SQLPlus and SQL Developer

_____ is a client-server tool for connecting to a database and issuing ad hoc SQL commands. It can also be used for creating PL/SQL code and has facilities for formatting results.

SQL*Plus

In terms of architecture, SQL*Plus is a user process written in ___.

C

SQL*Plus establishes a session against an instance and a database over the ___ ___ ___.

Oracle Net protocol

The ORACLE_HOME variable points to the Oracle Home. What is an Oracle Home?

It is the software installation: the set of files and directories containing the executable code and some of the configuration files.

The PATH must include the ___ directory in the Oracle Home.

bin

The LD_LIBRARY_PATH should include the ___ directory in the Oracle Home, but in practice you may get away without setting this.

lib

What command can you use to check that ORACLE_HOME, PATH, and LD_LIBRARY_PATH variables have been set up correctly?

~]$ echo $ORACLE_HOME


~]$ echo $PATH


~]$ echo $LD_LIBRARY_PATH

What is the format of the login string for SQL*Plus?

Database username followed by a forward slash character as a delimiter, then a password followed by an @ symbol as a delimiter, and finally an Oracle Net connect identifier.




system/oracle@orc1




Username: system


Password: oracle


Database: orc1

______ does not have any way of storing database connection details. Each time a user wishes to connect to a database, the user must tell _____ who they are and where the database is.

SQL*Plus, SQL*Plus

_________ is a tool for connecting to an Oracle database and issuing ad hoc SQL commands. It can also manage PL/SQL objects.

SQL Developer

SQL Developer is written in ____ and requires a ______ ____ ___ (JRE) to run.

Java, Java Runtime Environment

In Oracle parlance, a database user is a person who can do what?

log on to database

What is a database schema?

All the objects in the database owned by one user.

T/F Users and Schemas can be used interchangeably as there is a one-to-one relationship between the two.

True.

A ______ is initially created empty, when a user is created with the ____ ___ command.

schema, create user

_____ are used for storing objects. These may be data objects such as tables or programmatic objects such as PL/SQL stored procedures.

Schemas

T/F It is impossible for a data object to exist independently of a schema.

True. All tables must have an owner. The owner is the user in whose schema the table resides.

What is the unique identifier for a table or any other schema object?

The username, followed by the object name.

_____ is not an application development language, but is invoked by such languages when they need to access data.

SQL

The Oracle ____ ____ provide a platform for developing and deploying such applications.

server technologies.

The combination of the Oracle server technologies and SQL result in an environment conforming to the relational database paradigm that is an enabling technology for ___ ___.

Grid computing

______ is a command-line utility installed into the Oracle Home.

SQL*Plus

___ ____ is a graphical tool installed into its own directory.

SQL Developer

T/F SQL Developer relies on an LDAP directory for name resolution.

False. LDAP is only one of several techniques for name resolution.

How can you move a schema from one user to another?

You cannot move a schema from one user to another. A schema and user are inseparable.

Oracle Database 12c has evolved from a RDBMS


to an ________ RDBMS supporting the organziation of virtually any type of information with no practical limit on the volume of data that may be stored.

Object

The _______ is the repository for data and the engine that manages access to it.

database

What does the Oracle WebLogic Server do?

It runs software that generates the web user interfaces that submit calls for data retrieval and modification to the database for execution.



What is a comprehensive administration tool for monitoring, managing, and tuning the Oracle processes and also (through plug-ins) third-party products.

Oracle Enterprise Manager



What is the cloud?

The cloud is an approach to the delivery of IT services that maximizes the cost efficiency of the whole environment by delivering computing power from a pool of available resources to wherever it is needed, on demand.

The user process can be any client-side software that is capable of connecting to an ___ ___ ___.

Oracle server process




Ex of user processes: SQL*Plus and SQL Developer

T/F Applications running in the Oracle WebLogic Server environment can't connect to any database for which there are Java-compliant drivers.

False. The can connect to any db for which there are Java-compliant drivers. It is not necessary to use an Oracle db.

The simplest processing model of web applications is three-tier. What are the tiers?

1. A Client Tier (manages user interface)


2. A Middle Tier (generates the interface and issues SQL statements to the data tier)


3. A Data Tier (manages the data itself)



What are examples of the three tiers in the Oracle environment?

Client tier = browser


Middle tier = Oracle Weblogic Server running software (probably written in Java


Data Tier = an Oracle server (instance + database)

T/F The cloud is not exclusive to Oracle. At the physical level, some Operating Systems and hardware vendors are providing cloud-like capabilities.

True. These include the ability to partition servers into virtual machines and dynamically add or remove CPU(s) and RAM from the virtual machines according to demand.

T/F It should be possible to design a cloud environment with no single point of failure, thus achieving the goal of 100 percent uptime that is being demanded by many users.

True.

A ____ ____ is conceived when high-level constructs called entities, comprising various attributes and their relationships, are typically represented together in a diagram.

Logical Model

Attributes that uniquely identify an instance of an entity are designated as ____ ____ and are sometimes denoted by "#*".

primary keys

The logical model is then turned into a relational model by translating the entities into _____, commonly referred to as tables.

relations




The idea here is that sets of instances of the entities are collectively modeled as a table. The attributes are turned into table columns.

Each instance of an entity is reflect as a ___ or row of data, each having values for its different attributes or columns.

tuple



The number of "___ ___ ___ ___" is the "cardinality of the tuples."

rows in the table

Usually the attributes that are unique for each row are called unique keys, and typically a unique key, is chosen to be a _____ key.

primary

T/F Multiples row can share the same primary key value.

False

T/F SELECT is a DML statement. In practice, no one includes it when they refer to DML--they talk about it as though it were a language in its own right.

True

____ is a set-oriented language capable of nothing other than data access. For application development, one will therefore need a procedural language that can invoke SQL calls.

SQL

ORA-12154: TNS: could not resolve the connect identifier specified




What does this error mean?

This error is because the connect identifier given cannot be resolved into database connection details by the TNS layer of Oracle NET.

ORA-12541: TNS: no listener




What does this error mean?

This indicates that the connect identifier has resolved correctly into the address of a database listener, but that the listener is not actually running.

ORA-12514: TNS: listener does not currently know of service requested in connect descriptor.




What does this error indicate?

This error is generated by the database listener. SQL*Plus has found the listener with no problems, but the listener cannot make the onward connection to the database service. The most likely reason for this is that the database instance has not been started, so the user should ask the database administrator to start it and then try again.

ORA-01017: invalid username/password




What does this error indicate?

To receive this message, the user must have contacted the database. The user has got through all the possible network problems, the database instance is running, and the database itself has been opened by the instance. The user just has the password or username wrong.