Uncategorized

Oracle and XMLB

There are times when you might need to transform the content of a table, into XML output.  There are many ways to do this, using tools such as ODI and OWB.  However there are some in-built functions within the Oracle RDBMS which allow you to generate complex XML documents, within SQL. Known as XMLDB this means…

Uncategorized

Redshift Data warehouse – a DIY approach to loading your source data

We recently engaged Sirocco Systems to design and implement a cloud based data warehouse solution, using the AWS platform for infrastructure and database services. The initial aim was twofold: first to reduce the operational costs of running and maintaining bare metal infrastructure in-house, and second to find a database platform that would be cost and…

Uncategorized

Split Files

Often useful to have the ability to split a csv/large text file into chunks. Found this useful during a recent project, where we needed to pass in a value i.e. number of lines per file, and split into many files. This kind of script can be used by external programs i.e. ODI/OWB as a post…

Uncategorized

Oracle 12c DB Console

When using 12c database, you may have internal container databases. In order to manage them i.e. tablespaces etc, you need to configure each container database’s em console.  You can do this via logging into the container database as sysdba i.e. sqlplus sys/password@instance as sysdba Then issue :- exec dbms_xdb_config.sethttpsport(5501); This will configure the container database…