Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Oracle Streams
Chapter 4 - Capture and Propagate Configuration

Creating the Streams Administrator

PROMPT (1) ** Creating tablespace strm_tbs
CREATE TABLESPACE strm_tbs DATAFILE
'/app/oracle/DNYTST10/data/strmtbs_01.dbf' SIZE 500M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 4M
/

PROMPT (2) ** Creating  User strmadm
CREATE USER strmadm IDENTIFIED BY strmadm
DEFAULT TABLESPACE strm_tbs QUOTA UNLIMITED ON strm_tbs
/


PROMPT 3) ** Grant the privilege
GRANT CONNECT, RESOURCE, DBA TO strmadm
/

PROMPT 4) ** Use the AUTH package function to grant privilege
BEGIN
DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(
grantee                          => 'strmadm',
grant_privileges => true);
END;
/

SPOOL OFF

With the above code, the STRMADM user has been created. By using the dbms_streams_auth.grant_admin_privilege procedure, in a single operation, all of the necessary privileges were granted to the STRMADM user.


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2011 by Burleson Enterprises. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks