Subido por elcaso34

README

Anuncio
README
This file provides instructions for installing and viewing the World Sample dataset in FMW MapViewer.
Contents of the world_sample.zip File:
=====================================
1. README 2. world_sample.dmp: expdp dumpfile containing the sample data
3. load_sample_data.sql: a script to load the data into the target database
4. cln_sample_data.sql: a script to remove the data from the database
Coverage of the World Sample Dataset:
====================================
Prerequisites:
=============
* Oracle Database 11gR2 or higher (SE, EE or XE)
* SYSTEM user password for the database
Installing the World Sample Dataset:
===================================
1. Create a work directory on your machine. Change directory to your work directory and download the world_sample.zip file into it. Unzip the world_sample.zip file:
C:\> mkdir world_sample
C:\> cd world_sample
C:\world_sample> unzip world_sample.zip
2. In your work directory, open a Sqlplus session and connect as the SYSTEM user. Create a user for the World Sample data (if you have not previously done so):
C:\world_sample> sqlplus SYSTEM/password_for_system
Iinstalling the World Sample data
A. Create A tablespace called USERS if it is no there already:
B. Create the world_sample user:
CREATE USER world_sample
IDENTIFIED BY world_sample
DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE temp
QUOTA UNLIMITED ON USERS;
GRANT CONNECT, RESOURCE, CREATE TABLE, DBA TO world_sample;
3. This step loads the World Sample data into the specified user, and creates the metadata required to view the sample data as a Map in MapViewer. This step assumes that you are already connected as the user created in
the steps above and that you are in your work directory.
To begin, run the load_sample_data.sql script in your Sqlplus session. Exit the Sqlplus session after the script has successfully concluded:
SQL> @load_sample_data.sql
...
SQL> exit;
Uninstalling the World Sample Dataset:
=====================================
1. This step drops all the tables and metadata created for the World Sample dataset. It does not drop the World Sample user. From your work directory, open a Sqlplus session and connect as the user under whose schema the World Sample data was loaded. Run the script cln_sample_data.sql to remove the data.
Run these scripts directly if you have just created a new world_sample
user. Otherwise, modify the scripts as requried so that you don't
lose any existing metadata or data.
C:\world_sample> sqlplus world_sample/world_sample
SQL> @cln_sample_data.sql
2. To drop the World Sample user from the database, connect to the database as a privileged user and issue the DROP USER command.
Descargar