How to move tables, indexes and partitions to a different tablespace in Oracle

How to move tables, indexes and partitions to a different tablespace in Oracle

I had a case where I needed to move objects to a new tablespace, quite a few objects. As there was a lot of objects (tables, indexes and partitions) I decided to automate the code creation from the database metadata. Moving Objects To A New Tablespace The first thing to understand is how to move…

Read More Read More

Presentation; Unleash your Inner Rockstar!

Presentation; Unleash your Inner Rockstar!

Most of us love a good ted talk! We sit in awe not just at the idea, but how the idea is packaged and presented. Not every presentation has to echo Steve Jobs unveiling the iPhone, or Bill Gates showing the path to a better world through health initiatives. Sometimes people just want the facts…

Read More Read More

Storytelling & Encouraging Change

Storytelling & Encouraging Change

When working with teams and stakeholders, communicating a vision is paramount to success. Working in technology it’s easy to focus on the technological advantages and forget to include everyone on the journey. A key to getting wider business support on projects requires engagement with stakeholders, business managers and end users of the planned solutions. It’s…

Read More Read More

Visual Studio & diff Tools

Visual Studio & diff Tools

A diff tool (software to compare the difference between two text files) is a valuable asset to those of us who spend more than a healthy portion of the day looking at text files. Mostly this is to understand, what is different between the original and new version of some code. Here I’m looking at…

Read More Read More

RLIKE in hive: Filtering with regular expressions

RLIKE in hive: Filtering with regular expressions

As I previously did a blog post on Querying SQL Server with something LIKE a regular expression (Using simple regular expressions in a LIKE statement), I thought I would use that as a segue into Apache Hive and HiveQL. Because Hive and therefore HiveQL is built using Java, it has the full power of Java regular…

Read More Read More

Dates In Hive

Dates In Hive

After previously spending a lot of time looking at dates in SQL Server and oracle, I wanted to do the same justice to Hive.

Getting LEFT & RIGHT in hive

Getting LEFT & RIGHT in hive

Hive doesn’t have the functions LEFT() and RIGHT() as used in other RDBMS/SQL platforms. Here I demonstrate using hive functions for parsing text values which can emulate LEFT and RIGHT.

Video: View running processes and their children

Video: View running processes and their children

I’ve created a tool/library function using bash for monitoring parallel processes managed by shell scripts in a linux environment. In the video I cover how to download the library to your environment, and demonstrate using it to build trees of processes (and their child processes) which aide in monitoring what is happening on a server at a point in time.