14.01.2015 Views

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Administrator<br />

During the installation the installer executes a sql<br />

script, and copies files to the server.<br />

• In Windows installations the installer must run<br />

on the server.<br />

• In Unix installations, the server must run ftp<br />

service. If the server does not run an ftp<br />

service, or using it is not allowed for security<br />

reasons, the Unix system access must be left<br />

empty. In this case the files to be copied to the<br />

${ORACLE_HOME}/lib are copied to the<br />

users temporary directory, usually<br />

Documents and settings\user_name\Local<br />

Settings\Temp<br />

and it is the DBA’s responsibility to copy them to<br />

the target directory. See “Oracle Cartridge<br />

Dependencies by Operating System” on page 263<br />

for more information.<br />

Un-installation<br />

To uninstall the Oracle Cartridge, please do the<br />

following:<br />

1. Remove the following file:<br />

• On Windows: CsCartridge.dll from<br />

${ORACLE_HOME}/bin<br />

• On UNIX: CsCartridge.so from<br />

${ORACLE_HOME}/lib<br />

2. Execute the DROP USER CsCartridge<br />

command while connected to Oracle as a<br />

system administrator.<br />

Re-installation<br />

Re-installing the Oracle Cartridge can be<br />

accomplished by following the same steps as<br />

“Installation” on page 187<br />

It must be noted, that the indexes created with the<br />

optional PARAMETERS clause will be re-created.<br />

That is, as soon as the re-installation is finished,<br />

those indexes are immediately ready for use. The<br />

remaining indexes need to be manually created by<br />

executing DROP INDEX and CREATE<br />

INDEX statements.<br />

Only users with CREATE TABLE and CREATE<br />

ANY INDEXTYPE privileges can index tables<br />

with the cartridge.<br />

Security<br />

The CsCartridge.sql script creates a new user with<br />

the name of CsCartridge and password also set to<br />

CsCartridge. The following system privileges are<br />

granted to CsCartridge:<br />

• GRANT CREATE SESSION TO<br />

CsCartridge<br />

• CREATE TABLE<br />

• CREATE LIBRARY<br />

• CREATE PROCEDURE<br />

• CREATE OPERATOR<br />

• CREATE INDEXTYPE<br />

• CREATE TYPE<br />

• SELECT ANY TABLE<br />

• UNLIMITED TABLESPACE.<br />

The CsCartridge user in turn grants EXECUTE<br />

privileges to PUBLIC on all the function, operators,<br />

and types designed to be accessible from external<br />

accounts. It also grants all privileges on tables it<br />

creates in its schema to the response of a user<br />

request to index a table.<br />

DDL Considerations<br />

DDL (Data Definition Language) statements<br />

include statements used to create and manipulate<br />

data. Examples include (but are not limited to)<br />

CREATE, and DROP.<br />

Chemical structures must be stored in either BLOB<br />

(binary large object) or CLOB (character large<br />

object) data type fields.<br />

188•CS Oracle Cartridge<br />

<strong>CambridgeSoft</strong><br />

Security

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!