This was first published on https://blog.dbi-services.com/ibm-bluemix-database-cloud-service-my-first-trial (2015-10-31)
Republishing here for new followers. The content is related to the the versions available at the publication date
Remember my first try of Oracle cloud when Larry Ellison announced the Cloud in june? This week at OOW15 Larry Ellison announced that IBM is not a competitor anymore for them, then I checked IBM Cloud: IBM Bluemix offers IaaS, PaaS and SaaS. As I did in my first trial for Oracle, I’m testing the simplest DB2 ‘SQL Database service’.
.@larryellison #oow15 kickoff keynote. We no longer pay attention to #SAP or #IBM – they are nowhere in the #cloud pic.twitter.com/zE4U0iCAvU
— Oracle Database (@OracleDatabase) October 26, 2015
IBM nowhere in the cloud? Well… not totally true… Let me Google for you. Big Blue is in the cloud at Bluemix: https://console.ng.bluemix.net/
And when you click on the first button, you can register for a free 30 days trial.
I’ve created a ‘trial’ space where I choose ‘USE SERVICES & APIs’
then have a look at all the SaaS services related to database – very large offer:
Here is what is available with the free version:
If you want to see the full catalog, it’s quite impressive: https://console.eu-gb.bluemix.net/catalog/
So my SQL Database service is immediately there:
And I launch it. I’ve 3 options:
Let’s load data from a .csv file. I’ve exported EMP and DEPT from Oracle sample schema SCOTT, using SQL Developer – all default options – and import it with all default options.
It reads the file and display its content. Don’t worry about the quotes, they are display there but are properly managed when importing
Here is the load result:
I did the same with EMP.
I want to directly run a query and the first idea is to join EMP and DEPT.
What? Syntax error? That the simplest query I can do with two tables!
Don’t tell me that I can’t use ANSI joins. I were doing ANSI joins in DB2 long before there were supported on Oracle. Actually I learned ANSI join syntax when working on the first versions of DB2 on Unix. Let’s look at the documentation:
Ok, ANSI joins are supported but not the USING clause. I’ve two problems with that:
Ok, let’s rewrite it:
I skipped the ‘work with tables’ because you can’t do a lot with it: “you can view details, browse data, and export data”
But you’re not limited to that. You can connect with DB2 DBA Studio. Look at the ‘Setup’ menu do download it and get connection information:
From there you can do everything: backup/recovery, administration, tuning, development, etc. as with any other DB2 database.
This is only a simple test, so only two conclusions here: