What if I’m a developer or QA person using a copy of production database to do my work. What if my copy of production is now out of date and I want to refresh my data with the data as it is on production.
Below is a video of how to refresh a virtual database to the freshest data from the source database:
This example uses the free version of Delphix called “Delphix Express” and “Landshark” demo environment consisting of two VMs a source VM with a source database and a target VM with no database originally where we provision a virtual database.
Delphix has a developer self service interface called “Jetstream.” I like to call it the “DevOps Jetpack” for developers.
Jetstream is available both in the Delphix enterprise engine and also in the free Delphix Express engine.
Here is a video on how to setup Jetstream for two users, a developer (Joe Dev) and a QA analyst (Jane QA). In a blog post to follow this one, we will see how Joe Dev and Jane QA can work together thanks to Jetstream which allows them to share versions of data (similar to how people can share versions of code with source control).
I had an interesting question from a previous work colleague. She had a need to perform a query on attribute pairs. For the sake of discussion, we’ll assume that pairs are a shopping centre name, and a checkout aisle in that shopping centre.
So for example, on screen, a user may say:
Show me the sales coming through the following checkout aisles:
Perth,17 Wembley,32 Floreat,11
She had the beginnings of a package to solve the problem, but got stuck at when it come to referencing the two sets of attributes
Today a question came in, and Swapnasis provided a nice simple test case, which makes my job so much easier. Here’s a snippet from it
SQL> create table TTT( 2 testid integer not null, 3 value integer not null, 4 time timestamp not null, 5 unique(testid, time) 6 ); Table created.
See line 5 ?
I’ve been working with Oracle for (well…I’d rather not say ) but lets just says “a number of years” dating back to version 6 of the database. But in all of that time, I never knew that you could just write “unique”. I have always done “constraint MY_CONSTRAINT unique (col1, col2)”.
What kinds of things keep a IT ops person up at night?
What kinds of things make IT Ops people have to work over the weekends?
What keeps me up:
These things are stressful.
One the most stressful things is recovering from corruption. Usually when there is a corruption, some important data and/or system is not accessible and won’t be until I recover the data. Now data recovery is not something I typically do everyday, so when I have to so it under pressure and using backups that probably haven’t even been tested for viability, then it’s a hugely stressful situation.
OpenWorld is just around the corner, and I’m thrilled to be there again this year – it’s my first year as an Oracle employee, so it will be interesting to compare and contrast with previous years as an Ace Director. I’ve got three conference sessions – I hope you can be there, and please feel free to come up and say “Hi”.
Click here if you’re using Schedule Builder, or just make a note of the details below
I like it when stuff just “works”.
I’ve been using Virtual Box 4 for a long time now, and since my needs are relatively simple (ie, run a VM!) then I’ve not had any great cause to move to version 5. But today I had a spare few minutes and thought “Well, its probably time”.
So the steps I followed were:
And .. well, all my stuff (aka all my existing VM’s) worked just fine. In fact, the only “error” I got was when I tried to start up too many of them at once and VirtualBox helpfully told me that I was either kidding myself or needed a better laptop.
This is how upgrades should be. Simple and pain free. Love it.
Downloads are here https://www.virtualbox.org/wiki/Downloads
In this blog will look at an example of virtualizing your first database and not only the database but virtualizing the application as well.
What does virtualizing mean? Like in the world of virtual machines where we make multiple virtual machines on one set of hardware, in the world of virtual data we make many read/write copies of data with one actual physical copy of the data. We do that by sharing unmodified data and storing each version of a data block that gets modified and keeping that modified version of the block only visible to the clone that made the modification.
Here is the demo video:
There’s an interesting “debate” going on under AskTom at the moment. It’s hardly cause for major concern, but anyone is welcome to add their thoughts as comments to this blog post. (Naturally, if your comments agree with my opinion, then that’s great. If your comments don’t agree, then I’ll post them and ignore them – ah the joys of being a blog owner)
So here’s the issue. When we are posting code to the AskTom page as a solution to a question, we could post it as a mix of script and output, for example: