voile/Voile.Storage.Oracle
2026-01-20 16:59:40 +01:00
..

Voile Oracle Driver

This program is intended to use Oracle.ManagedDataAccess to connect Voile to a Oracle AI Database 26ai database.

Getting started

  1. Install the database or get a container going. A guide to create the contianer is provided below:
  2. Create a CDB or PDB for Voile. In this example, we're using Oracle's Free Version, so this has already been done for us.
  3. Use any Oracle administration tool to connect to your CDB or PDB using the "sys as sysdba" user.
  4. Using the sys as sysdba user, create a user for Voile:
create user voile identified by "12345" default tablespace USERS temporary tablespace TEMP
/
  1. Give the new Voile user Grants:
GRANT CONNECT, CREATE TABLE, CREATE VIEW, CREATE SEQUENCE, CREATE PROCEDURE, CREATE TRIGGER TO VOILE;
  1. Give the user space:
ALTER USER voile QUOTA UNLIMITED ON USERS;
  1. You're done - happy DXing!

Creating the container

  1. First create a directory to store the ORADATA.

mkdir /data/oracle

  1. Give proper permissions to the folder:

chown -Rv 54321:54321 /data/oracle

  1. Start the Oracle container:

docker run -d --add-host=oracle:127.0.0.1 --memory=2G --name oracle --hostname oracle -p 1521:1521 -v /data/oracle:/opt/oracle/oradata -e ORACLE_PWD=12345 container-registry.oracle.com/database/free:latest