Feeds

Oracle: That BUG in our In-Memory Option will be fixed in October

Don't worry, though ... it's probably (mostly) harmless

Choosing a cloud hosting partner with confidence

After much back-and-forth on blogs, Twitter, and online forums, Oracle has admitted that there is a bug that can cause its new in-memory database option to be reported as being in use when it's not, although the actual risk it poses remains unclear.

As reported by The Register last week, database pro Kevin Closson was the first to notice that executing a simple set of PL/SQL commands can seemingly activate Oracle 12c's In-Memory feature, even when that shouldn't be possible.

On Wednesday, Oracle product manager Maria Colgan acknowledged that Closson's results could be reproduced, that he had in fact located a bug, and that it will be patched soon. But what does that really mean for customers?

Here's a recap of the issue, as briefly as we can put it. With the Oracle 12.1.0.2 patch release installed, the database's INMEMORY_QUERY configuration option is enabled by default, just as all new features since Oracle 11g have been enabled by default. But the INMEMORY_SIZE parameter is set to zero, meaning no space has been allocated to store the new in-memory tables.

According to Oracle, when it's configured like that, the In-Memory Option is considered disabled, because it's not actually usable. The in-memory tables can't actually be created because there's nowhere to put them. What's more, changing the INMEMORY_SIZE parameter to anything other than zero requires restarting the database instance, making it extremely unlikely that a DBA could enable the feature accidentally.

But that's not what Closson found. In his tests, all he needed to do was create a new table specifying the INMEMORY property and his database reported that the In-Memory Option had been enabled and was in use, even though INMEMORY_SIZE was still set to the default of zero.

Screenshot showing Oracle 12c's In-Memory database feature being activated

Closson enabled the In-Memory Option with a couple of simple SQL queries ... or did he? (click to enlarge)

What's more, Closson observed that merely setting INMEMORY_SIZE to some amount of memory isn't enough to make the In-Memory feature report as being in use. You have to assign the INMEMORY property to a table – and doing so apparently marks the feature as "in use" regardless of the value of INMEMORY_SIZE.

That's bad, Closson figures, because the In-Memory option isn't free; far from it. And at a reported $23,000 per Sparc CPU, "enabling" it by accident could be a serious blunder.

Closson's series of blog posts on the subject sparked a veritable firestorm of online comment over the next few days, with Oracle mostly denying his allegations. But when another Oracle user managed to reproduce Closson's results, this time with an ALTER TABLE command, Colgan finally admitted that the observed behavior wasn't correct.

"Recording that the In-Memory option is in use in this case is a bug and we will fix it in the first patchset update coming in October," Colgan wrote in a comment to her own blog on Wednesday.

Note, however, that she didn't say that there was a bug that allowed the In-Memory feature to be activated by mistake. She simply said that when a DBA performs Closson's series of steps, for the database to record that the In-Memory feature is in use is considered a bug.

That means the In-Memory Option isn't really in use, even when you repeat Closson's procedure. And whether Oracle would really try to charge a customer for the In-Memory Option based on that erroneous reporting is anybody's guess. Oracle wouldn't respond to El Reg's request for clarification on the matter.

If you have an Oracle support contract, however, you can track the progress of the patch in the company's bug database, where it is filed as Bug #19308780. And expect that fix to arrive in October. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
Chrome 38's new HTML tag support makes fatties FIT and SKINNIER
First browser to protect networks' bandwith using official spec
Admins! Never mind POODLE, there're NEW OpenSSL bugs to splat
Four new patches for open-source crypto libraries
Torvalds CONFESSES: 'I'm pretty good at alienating devs'
Admits to 'a metric ****load' of mistakes during work with Linux collaborators
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.