Java Service Wrapper 3.5.24 for Windows x64
Tanuki released the latest Wrapper version 3.5.24. I hereby provide the Java Service Wrapper for Windows x64.
As always, I don’t guarantee anything, so please note:
Read the rest of this entryTanuki released the latest Wrapper version 3.5.24. I hereby provide the Java Service Wrapper for Windows x64.
As always, I don’t guarantee anything, so please note:
Read the rest of this entryAs you might know, I am primarily an Oracle guy. This means that for all my backup needs, I am using Oracle Recovery Manager (RMAN). I recently had the task to implement MySQL Enterprise Backup for a MySQL database (mysql-advanced-5.6.15-linux-glibc2.5-x86_64). My most important resource for this task was the MySQL Enterprise Backup User’s Guide.
Read the rest of this entryWhen managing a large database environment with Oracle Enterprise Manager Cloud Control 12c, it sometimes happens that a database or another target gets stuck in the status “Pending”. This often happens after a database was restarted (for cold backups for example). So in this article I want to show how to get the target working again.
Read the rest of this entrySomething that always comes up when discussing Oracle versions is that I am not always sure which number is the Major Database Release and which is the Database Maintenance Release. In the Oracle documentation, the numbers are clearly described:
Oracle Release Number Format
12.1.0.1.0
┬ ┬ ┬ ┬ ┬
│ │ │ │ └───── Platform-Specific Release Number
│ │ │ └────────── Component-Specific Release Number
│ │ └─────────────── Fusion Middleware Release Number
│ └──────────────────── Database Maintenance Release Number
└───────────────────────── Major Database Release Number
Whereas the different numbers mean the following:
Major Database Release Number
The first numeral is the most general identifier. It represents a major new version of the software that contains significant new functionality.Database Maintenance Release Number
The second numeral represents a maintenance release level. Some new features may also be included.Fusion Middleware Release Number
The third numeral reflects the release level of Oracle Fusion Middleware.Component-Specific Release Number
The fourth numeral identifies a release level specific to a component. Different components can have different numbers in this position depending upon, for example, component patch sets or interim releases.Platform-Specific Release Number
The fifth numeral identifies a platform-specific release. Usually this is a patch set. When different platforms require the equivalent patch set, this numeral will be the same across the affected platforms.
Before starting, here is the deal: While “ALTER USER simon PASSWORD EXPIRE
” exists, the “PASSWORD UNEXPIRE
” statement does not exist in Oracle, see the ALTER USER statement in the language reference. Now, there is a good reason that command does not exist.
A blog reader asked me if I had plans to release a new 64bit-community wrapper… Indeed I have plans to do so, just did not have time so far to compile a new package. So here it goes:
As always, I don’t guarantee anything, so please note:
Read the rest of this entryOne problem that occasionally pops up is that a DBA needs to recreate a user with a password that he does not know. This happened to me when I had to create a schema with the same password on a development database. After I set an initial password for the developer, he exclaimed that he wanted the same password that he had for the schema X, but he did not want to tell me the password (don’t ask here, that’s a completely other story).
One way to do this is to use ALTER USER ... IDENTIFIED BY VALUES
. Using the excellent article on the ALTER USER commands from Laurent Schneider, we can generate a dynamic SQL query to set a password without knowing the password itself!
Here is the query to read the password from sys.user$
from Laurents article:
So recently I stumbled across a programming quiz to which I later returned because it somehow fascinated me.
Finding the first available number (or the smallest missing number) in a list is a common problem in Computer Science (for example for Defragmenting or generating keys) and describes the search for the smallest natural number, which is not part of a set X of natural numbers. X is a set of distinct natural numbers (and being a set, is not ordered).
We are now looking for a function with linear worst-case time complexity O(n).
We define X as a set of distinct natural numbers:
X = {23,9,12,0,11,1,13,7,21,14,5,4,17,19,3,6,2}
So in this set, we find that the number 8 is the first available number (smallest missing number). So running the algorithm over the above set should return 8.
After fiddling with the NMAKE file and a nudge from a nice commenter, I hereby provide the latest version of the Tanuki Service Wrapper for Windows x64.
As always, I don’t guarantee anything, so please note:
Read the rest of this entryOne thing that you don’t want to see while performing an update of a database with the OPatch utility is a SEGFAULT. In my scenario, I simply wanted to list all the installed patches for an ORACLE_HOME and therefore issued opatch lsinventory
:
$ cd $ORACLE_HOME/OPatch
$ ./opatch lsinventory
Oracle Interim Patch Installer version 11.1.0.10.1
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Unhandled exception
Type=Segmentation error vmState=0x00060000
[..]
Read the rest of this entry My name is Simon Krenger, I am a Technical Account Manager (TAM) at Red Hat. I advise our customers in using Kubernetes, Containers, Linux and Open Source.