Autonomous Data Warehouse Cloud Hands-On Lab : My Thoughts

I signed up to a hands-on lab for the Autonomous Data Warehouse Cloud Service. These are the notes I took during the lab. They are a little scrappy, but I think you will get the idea…

I had some prior information due to the briefings I attended before OpenWorld, but everything I’ve mentioned here has been said publicly in OpenWorld sessions and is part of the hands-on lab.

Lab Outline

During the hands-on lab we did the following.

  • Connected to the service from SQL Developer.
  • Created new schemas and connections to the service.
  • Created tables and constraints with RELY DISABLE NOVALIDATE.
  • Loaded data into the tables from an object store.
  • Created external tables to files in an object store.
  • Connected to a sample schema and ran some queries before and after online scaling the service.

Introduction

  • The Oracle Public Cloud interface and provisioning looks similar to the current DBaaS offering, but a little more simplified. There are fewer options to fill in.
  • The minimum storage is one 1TB with increments of 1TB. The storage scales on demand, so no dramas about starting small and increasing as you go. The storage is paid for on a monthly basis.
  • CPU is paid for on an hourly basis. You can scale down to 0 and stop paying for the compute if you have downtime (weekends?), but you continue to pay for storage.
  • You have an admin user, similar to system, but you don’t have SYS and SYSTEM access. No conventional OS access either. It’s similar to RDS for Oracle in that sense.
  • Provisioning time for a new instance is about 10-20 seconds.
  • Once you have the system provisioned there is pretty much no additional configuration you can do.
  • Access requires a wallet, similar to the Exadata Express Cloud Service, so you need to download the connection details from the Client Access tab. You get a zip with the relevant connection details.
  • If you manually create users, you need to grant them a role called DWROLE. That is the only role needed to connect and manage objects in the schema.

Object Creation

  • Tables are created with no constraints (except NOT NULL) and no additional features like partitions etc.
  • Primary keys, unique keys and FKs are defined with RELY DISABLE NOVALIDATE, so the optimizer has the necessary metadata, but no physcial structures like indexes are created.

Loading Data

Privileged operations are done used the DBMS_CLOUD package. Some of the things we did during the hands-on lab include.

  • DBMS_CLOUD.CREATE_CREDENTIAL – Creates a credential object to authenticate to the object store (Oracle or AWS S3). The credential is created once, and is used by default for all operations from then on. The object store is used as a source for data loads and external tables. On initial release the number of formats are limited, but it will eventually include additional source formats over time.
  • DBMS_CLOUD.COPY_DATA – Copies data from the object store into a table. This is full load operation. There are a number of options including table_name, file_uri_list, format. The format defines how the file should be loaded.
  • DBMS_CLOUD.CREATE_EXTERNAL_TABLE – Create an external table pointing to the files in the object store, rather than loading them into the database.

The USER_LOAD_OPERATIONS view displays information about load operations.

As with the existing database cloud services, if you need to transfer a large amount of data it can be done by shipping it to Oracle for them to seed it. I can’t remember the name of the specific service, but suffice to say you will not have to SCP your petabyte warehouse files to the service. 🙂

Scaling and Performance

  • The service is essentially scaled by resetting the CPU_COUNT for the instance in the cloud screens or via a REST API, so it is using a variation on instance caging to control CPU. CPU is charged by the hour. You can scale down to 0 when you don’t need resource, but you will still be paying for storage.
  • In the initial release the SGA and PGA sizes are tied to the CPU count, so adding an extra CPU increases the SGA and PGA allocated. Future releases may make these independent, but for now this is the way it works.
  • Parallel Statement Queuing is enabled, and the cloud interface allows you to monitor the statement queue. The queue is understandably affected by CPU count.
  • The Query Result Cache is enabled, so for small result sets a second run of the statement is super fast. 🙂
  • You are responsible for the schema design and the SQL you write against it, but you will not be creating indexes and partitioning strategies to address performance issues. The service is responsible for tuning the workload, not you.

Thoughts

  • The hands-on lab was obviously quite limited in terms of the scope, so I can’t give a comprehensive review, but from what I have seen so far it appears Oracle have delivered what they said they would. A fully managed service that removes the need for operational DBAs as creation, backups, patching and upgrades are not your business.
  • It’s hard to know at this point how well the automated tuning works. As more people try it out with different workloads we will get a proper feel for what it can and can’t do. What we do know is you will not be adding indexes or partitioning stuff, so at least that aspect of tuning is out of your control.
  • I don’t know if everyone got to see this, but Hermann scaled my service and it just worked, completely online.
  • It’s fun to theorise how they have achieved some of the aspects of service using the existing features.
  • I’ll be interested to get my hands on it once it goes live.
  • I’ve mentioned a few times in other posts, this is the first generation of this service. We don’t know how it will evolve over the coming months.
  • Remember, if you don’t like the lack of control you can alway pick DBaaS, Exadata Cloud Service or run on-prem. These will not have the option of being autonomous though.
  • Overall my feeling is I like it. I know this might sound odd coming from a DBA, but I like the hands-off nature of it.

Thanks to Yasin Baskan and Hermann Baer for putting on the session. Hermann, please don’t tell anyone you had to help me connect to the database when my brain rebooted and I wasn’t even capable of doing something as simple as that. It will remain our secret right?

Cheers

Tim…

Oracle OpenWorld 2017 : Day 2 (Tuesday)

I started the day by catching up with the blog and answering some more questions about the Autonomous Database stuff. In most cases my answers were, let’s see what gets released. 🙂

Once I had caught up I made a very brief trip to the gym to do a bit of weights and some stretching, then I cleaned up and headed down to the conference.

I did a tour of the developer lounge and demo grounds in Moscone West again, then bumped into Alex Nuijten. We got talking and I went with him to see Colm Divilly speaking about ORDS. I had my two cameras on the chair beside me during the session. When I got up to leave I left them there and we went out to get some food. Once we had eaten I noticed my cameras were missing, so we walked back to the room and some nice person had spotted them and handed them in. It’s not a proper OpenWorld unless I’ve temporarily misplaced my camera or laptop. 🙂

From there I did a tour of the Moscone South exhibition hall, then went back across to the developer lounge in Moscone West. I ended up talking to a bunch of people on a variety of subjects including community programs, APEX, ORDS, SQL Developer and Docker, to name but a few. I was also introduced to Blue Bottle Coffee, which was nice, but not life-changing as I was lead to believe. 🙂

I briefly saw the wife, who stayed long enough to show me a JavaScript app she had written, before going to meet more important people and no doubt tell them she’s not technical. It’s all getting very suspicious…

Eventually I headed back to the hotel, dumped my stuff and headed out to grab some food. On the way I bumped into Oren Nakdimon and I introduced him to the delights of Chipotle. We must have spent somewhere between 60-90 minutes geeking out about all the stuff we had seen so far. We were the last people to leave the place as they were closing, which was kind-of funny.

From there it was back to hotel to play catch-up and prepare for the following day!

Cheers

Tim…

PS. Don’t forget my session on Wednesday.

Make the RDBMS Relevant Again with RESTful Web Services and JSON
Wednesday, Oct 04, 4:30 p.m. – 5:15 p.m. | Moscone West – Room 2002

Oracle OpenWorld 2017 : Day 1 (Monday)

I managed to accidentally (on purpose) sleep through the bay swim. What a shame as I so wanted to swim in cold water and see Bjoern in a knitted jockstrap… Not!

The first action for the day was to watch Larry’s keynote on YouTube. It’s important to know what has been said officially, so I don’t go saying something I shouldn’t and get “disappeared” for breaking the NDA. 🙂 Once that was done I wrote, what seems to have been a controversial blog post. I’m rather disappointed at the reaction to the Autonomous Database. As I expected, very few people seem to have actually listened to what was said in the keynote and I suspect many didn’t even read the entirety of my blog post. Instead, they saw “Autonomous Database” and launched into “it’ll never work” mode. It’s like people want it to fail and want to keep doing the same old boring crap for the rest of their lives. I am hopeful this suite of services will be the start of something interesting, but time will tell. Fingers crossed!

My first stop at the conference was the Oracle Developer Lounge in Moscone West. I had a quick look around at what was going on there, including robot Tai Chi.

From there is was a quick scan of the Demo Grounds to decide what I am going to spend time on tomorrow. I said hello to a few of the Oracle staff I know, and of course told the people on the performance tuning stand they were no longer needed. I’m guessing by the end of OOW17 they will have heard that about 50,000 times… 🙂

I spent quite a bit of time talking to Jeff Smith about an assortment of things related to SQL Developer and ORDS. Then I had a chat with John Brock (JB) about Oracle JET. I’m not a proper JavaScript developer (yet), but I wanted to say thanks for the really good session he did for us at the ACE Director briefing. The demo grounds are a great place to get more information about technologies you know, but also a great place to get context about technologies you don’t know. You just have to admit you’re a noob and ask for the basics. 🙂

I grabbed some food, then went up to the Grand Hyatt to spend the afternoon at the Oracle Applications User Experience (#OAUX) Exchange. I had already seen some of this stuff the previous week at the #OAUX Strategy Day, but it gave me more opportunities to ask questions and get some more context. It’s a difficult job, but they are gradually converting me away from the command line. You can see my shock and awe at what they are doing here on this tweet from an interactive desktop. 🙂

Towards the end of the #OAUX Exchange I met up with the wife and she persuaded me to get in on a photo. Little did I know we would use these pedicabs to go down the hill, through rush hour traffic. If you saw me, I was laughing on the outside, but crying on the inside. Knowing how Debra is in a regular taxi, I’m amazed she agreed to do this.

We popped into the UKOUG meet-up in the darkest bar I’ve ever been in. You needed the flashlight on your mobile phone to see where you were going. We were only there for a few minutes before Debra had to go to some meet-up for important people, and I went back to my room to crash.

Once in my room I had to deal with the fallout from the blog post earlier in the day. I think I need to start a counselling service.

More of the same tomorrow. My feet are killing me. I really should lose some weight.

Cheers

Tim…

PS. Don’t forget my session on Wednesday.

Make the RDBMS Relevant Again with RESTful Web Services and JSON
Wednesday, Oct 04, 4:30 p.m. – 5:15 p.m. | Moscone West – Room 2002

Oracle OpenWorld 2017 : User Group Sunday

The day started with a run walk across the Golden Gate Bridge. We gathered in the hotel lobby, and since I am now a performing monkey I had to do the splits for Jeff Smith, then we got a taxi across to the visitors center at the city side of the bridge.

Some folks stayed behind to wait for the other runners to get there. A group of us just walked across and back.

The view was terrible. 🙂

Then it was back to the hotel to get ready for the day to begin.

The registration queues were really long, but they moved quickly. I didn’t have time to pick up the additional materials because I had to get to the first official events for me at OOW17, which were the multi-presenter EOUC events.

I was present at both, but I had my 6 minute slot in the second session. The attendance was low this year, especially for the second session. I think database people left after the first session, which was a pity as the Dev Champions spoke about things database people need to know too. The internal layout of the Marriot Hotel didn’t help. Things were so much more obvious in Moscone. I found the sessions enjoyable. I really like this format.

After those sessions were complete I met up with Gilbert Standen to talk about his Oracle on Linux Containers project Orabuntu-LXC, which will support Docker in the future.

From there is was back to the queues to pick up the rest of my registration items, then back to the hotel. In the evening we went down to the pier for the Oracle ACE dinner. After a quick photo call it was food, drinks and socialising for the rest of the evening.

Cheers

Tim…

Oracle OpenWorld 2017 : Day Off

The Saturday before OpenWorld is a day off and for me it has typically become a day in bed. A few days into the trip the lack of sleep has begun to take its toll and three days of concentration at the OAUX, Dev Champion and ACE Director briefings means you feel like you need a break and the conference hasn’t even started yet… 🙂

This year there was a slight change to the plan, as a “mystery event” had been planned for the Dev Champions. Earlier in the day I had bumped into Bjoern and Connor and said I had a daydream it was a boat trip on the bay. Guess what we did?

I am available to read palms and tea lives at a very reasonable rate!

We were bussed down to the pier, got on a boat and went around the bay with some food and drinks. It was a really nice experience. Amongst other things we got to see some kite surfers doing some crazy speeds, lifted about 50cm off the water on those blades/foils.

On the way back we sat down on the upper deck and had a meeting about the program, which gave us some more opportunities to ask questions and give feedback.

From there it was a bus back to the hotel, a quick chat to a few people, then back to bed. I realise some people will think it’s super boring to be sleeping so much, but OpenWorld is a marathon, especially for those of us that are doing the meetings the week before it also. It’s effectively a 8-9 day conference, so it’s really easy to burn out if you don’t take care of yourself.

Tomorrow is User Group Sunday!

Cheers

Tim…

Oracle OpenWorld 2017 : Oracle ACE Director Briefing

Can you guess how I slept last night? 🙂

I met up with a bunch of people in the hotel lobby and walked over to Oracle HQ for the Oracle ACE Director Product Briefing. Due to the changes to the travel funding this was a smaller event this year, with around 40-50 people.

Once again the majority of the content was under NDA, so I can’t say anything specific, but the recent announcement by Larry Ellison and the press Wall Street Journal (WSJ) ads mean you probably know what took a substantial amount of time. I can’t remember the last time we had so much database content in the ACE Director Briefing. The skew meant there were slim pickings for those that weren’t database people and hadn’t made the previous days sessions.

I’m going to repeat what I said yesterday, which is very self-indulgent of me, but try to remember the following over the next few days.

  • Judge the announcements on the detail, not the headlines. The headline is the Tinder photo, not the person you will end up sitting across the table from.
  • There is some interesting stuff that is possibly not what you were expecting. I like vanilla icecream, but if I’m expecting to taste chocolate and I get vanilla it’s going to make me pull a face. Once I reset my expectation, vanilla is nice.
  • Just because a feature/product/service isn’t a good fit for me, it doesn’t mean there isn’t a bunch of people out there who will want it. Despite what I believe, I am not the center of the universe. Neither are you!

Once all the sessions were over we had some nibbles, drinks and conversation until it was time to get on the bus to take us from Redwood Shores to San Francisco. Once I had dumped my stuff in the hotel I popped out with Bjoern to get some food and supplies, then it was back to my room and bed.

Tomorrow is a day off, before the madness starts. There is a Developer Champion mystery event in the afternoon, so that will be interesting…

Cheers

Tim…

Oracle OpenWorld 2017 : Developer Champion Product Briefing

Another night of broken sleep and another early start. 🙂 I walked across to Oracle HQ with Bjoern Rost, where we grabbed some food, said some hellos and started the day.

This is the first Developer Champion Product Briefing, and there were some faces that were new to me. There were about 20 Developer Champions, made up of some Oracle ACEs, some Java Champions and some others. There was also a bunch Oracle staff, so most of the day the room had about 30 people in it.

It’s good to have a mixed crowd in the room. It’s far too easy to stick within your little echo chamber and have a very blinkered view of the world. Seeing the way others reacted to the content from the day was very interesting.

We were under NDA, so I’m not going to risk saying something I shouldn’t and getting into trouble. The vast majority of the information was stuff that you will hear next week, so you’re not missing out, there’s just a time lag. 🙂 I like to think much of the value was in our feedback, but that’s probably me just being overly self-important.

As far as next week is concerned I would suggest:

  • Judge the announcements on the detail, not the headlines. The headline is the Tinder photo, not the person you will end up sitting across the table from.
  • There is some interesting stuff that is possibly not what you were expecting. I like vanilla icecream, but if I’m expecting to taste chocolate and I get vanilla it’s going to make me pull a face. Once I reset my expectation, vanilla is nice.
  • Just because a feature/product/service isn’t a good fit for me, it doesn’t mean there isn’t a bunch of people out there who will want it. Despite what I believe, I am not the center of the universe.

Doing 10 hours of geek is pretty tough, especially when you have very little expertise in some of the areas.

We went straight from the briefing to get some food and before I knew it, it was bed time. What a tough day!

Big thanks to the Developer Champion Program for inviting me and putting on this event. Thanks to the speakers for making time for us at the busiest time of the year! A special fanboy thanks goes out to Wim Coekaerts for coming back to us. I’ll get to stalk him again tomorrow.

Tomorrow is the ACE Director briefing, which has a large percentage of database stuff in it, so I will be on more familiar territory, and get more detail about what I heard today. 🙂

Cheers

Tim…

Oracle OpenWorld 2017 : Oracle Applications User Experience (#OAUX) Strategy Day

As is always the case during the first few days in the US, sleep was broken. I woke up at 01:30 and dozed my way through to the next morning. I met up with the wife and a few folks and walked across to Oracle HQ for the Oracle Applications User Experience (#OAUX) Strategy Day.

The agenda for the day was as follows:

  • Check-in, breakfast, and opening remarks : Misha Vaughan, Vikki Lira
  • Oracle Applications Cloud top-level UX messages and Q&A for FY ’18 : Jeremy Ashley
  • OAUX Cloud Rapid Development Kits (RDKs) : Karen Scipi, Lancy Silveira
  • OAUX Innovation : Jake Kuramoto, Andrew Gilmour
  • Wrap-up and closing remarks : Misha, Vikki

There was a group of us in the room, with 4 others connected over Zoom and permanently visible on the big screen.

I wrote a lot of notes throughout the sessions, but rather than sharing them I’ll direct you to the OAUX Blog and Usable Apps site, where you can get most of the information first hand. You can also check out Lucas Jellemas’s post about the day, that includes a summary of the areas that were covered, along with some photos.

This year the event was compressed into half a day, which I guess made things much simpler for those attending over the web. I think it worked well and still allowed us to get an idea of the current goals and emphasis of the UX team, whilst giving us an opportunity to feed back about both our pain points and successes. As someone who self-identifies as a command line junky, I find this stuff really interesting and oddly relatable to what I do. It’s always good spending time with the UX team because they are a fun group of people. I plan on spending some time at the OAUX Exchange next week, which I would urge others to come along to if they are attending OOW17. Last year it was a great way to spend a few hours! If you are interested you can register here.

Once the OAUX sessions were wrapped up, the wife and I went across to another building at Oracle HQ to visit my dad. As usual he spent most of his time telling me how amazing I was, how I had totally eclipsed his achievements in every way possible and how I had married beneath myself. It was all really embarrassing, but all completely true…

Just as dad was ready to depart, who should walk in to get a coffee but my sister-in-law Maria. We sat gossiping for a while about all sorts of stuff and laughing far too loud in what was otherwise a quite coffee shop. 🙂

Once the family reunions were done Debra and I walked back to the hotel where we bumped into Bjoern Rost. We had a quick chat, then it was back to my room to dump my stuff before heading out for dinner with the UX team and the other attendees from today’s sessions.

It was a really great day. Lots of information and lots of cool people! Big thanks to the UX team for inviting me again this year. I really appreciate it!

Cheers

Tim…

Oracle OpenWorld 2017 : The Journey Begins

The day started quite reasonably with a 06:30 taxi to the airport for a 09:00 flight to San Francisco via Newark.

Birmingham airport was very busy, but I had bought the Premier Access for $89, so I walked up the priority lane, past the massive crowds and did security really quickly. It’s like the really cheap version of business class. 🙂

The flight to Newark as delayed by about 15 minutes,  but apart from that it was fairly straight forward, talking a little over 7 hours of air time.

Using Newark as the first port of entry to the USA can be a bad idea if you have a connecting flight. You have to go through all the usual airport security to “leave” the airport, then recheck your bags for your domestic flight. The reason I bought the Premier Access was to speed up this section of the journey, but it turns out is doesn’t really help. Since we were 15 minutes late and I originally had a 2 hour layover, which was really 1:45 when you consider boarding close times, I resigned myself to missing the next flight. Somehow the stars aligned and I made it as boarding was beginning. Amazing!

The flight from Newark to San Francisco was hard. The flight itself was fine but the tiredness really started to sink in. The last hour was torture. I must have gone to the toilet about 10 times to move my legs. I knew I was just over-tired, but I started feel a little frantic. We eventually landed, and not having to go through US security was great.

The next challenge was trying not to have a fight with the hotel about the hotel shuttle. I was tired and they were very unhelpful. Rather than escalate the argument and get deported, I gave up and got a taxi for $44…

I got to the hotel, dumped my stuff, scrubbed myself clean and went out for some food with Lucas Jellema. From there it was back to bed for an early night. I slept from 21:30 to 01:30 local time, then dozed my way through to the next day.

Tomorrow is the Oracle Applications User Experience (#OAUX) strategy day…

Cheers

Tim…

OGh Tech Experience 2017 : The Journey Home

I woke up really early so I decided to head straight for the airport. It was a 20 minute bus ride to the station, then a train to the airport, or so I thought. It turned out there wasn’t a straight through train, so I had to go via Utrecht. Once at Utrecht I got on a train the the airport, but it stopped early due to work on the lines, so I had to change to a third train for the last bit of the journey. I was now really glad I had set off early. 🙂

Even with the unplanned changes to the journey, I still arrived a couple of hours early for my flight. The airport bag-check area was chaos. I had done an online check-in, and I didn’t need to check bags, but it took quite a bit of time to negotiate the hordes. Once past the bag-check, it was a smooth run through security, although I did get the most thorough search I’ve ever experienced. I think I may be married now, or pregnant!

My gate was really close, so I didn’t have much to do other than wait a couple of hours, listening to the conveyor saying, “Mind your step!”, every couple of seconds.

The flight home took a little over an hour. No dramas. From there is was a taxi home and the OGh Tech Experience 2017 was done!

As I said in the last post, I’m sorry to everyone for not being more involved in the event. It was out of my hands! Thanks to everyone at OGh for inviting me. This trip was self-funded, but I would still like to thank the Oracle ACE Program for continuing to let me fly the flag. Thanks to the attendees that supported the event and thanks to all the speakers for doing what you do! I hope to see you all soon, but in better health next time! 🙂

Here are the posts I put out during this trip.

Cheers

Tim…