Infrastructure at your Service

David Barbarin

Index seek operator and residual IO

By | Database Administration & Monitoring | No Comments
 

 This blog post draws on the previous article about index seek and gotchas. I encountered another interesting case but it is not so much because of the nature of the problem I decided to write this article but rather the different ways that exist to troubleshoot it. Firstly, let’s set the scene: A simple update query and its corresponding execution plan that tend to say the plan is efficient  in terms of performance declare @P0…

Read More
Morgan Patou

Windows Server – Service not starting with ‘Error 1067: The process terminated unexpectedly’

By | Application integration & Middleware, Entreprise content management | No Comments
 

 Some time ago, we were installing a Migration Center (from fmeAG) on a Windows Server and at the end of the installation, the service named Migration Center Job Server is configured and finally started. Unfortunately this didn’t go well and the start command wasn’t working at all. We were using a dedicated technical account (AD account) to do the installation and to run this service. This is the error we got:   The error code…

Read More
Morgan Patou

Documentum – DA 7.3 showing java.lang.NullPointerException on every actions

By | Application integration & Middleware, Entreprise content management | No Comments
 

 Last year, we started to upgrade some Documentum Administrator from 7.2 to 7.3 and directly after, we started to see some NullPointerException on the log files. We are using DA 7.3 on some recent WebLogic Servers versions (12.1.3, 12.2.1.2). We usually deploy DA as a WAR file (so not exploded) with just the dfc.properties, keystores and logs outside of it. This is the kind of errors we started to see as soon as it was…

Read More
Morgan Patou

WebLogic – SSO/Atn/Atz – Infinite loop

By | Application integration & Middleware, Entreprise content management | No Comments
 

 This blog will be the last of my series around the WebLogic SSO (how to enable logs, 403 N°1, 403 N°2) which I started some weeks ago. Several months ago on a newly built High Availability Environment (2 WebLogic Servers behind a Load Balancer), an application team was deploying their D2 Client as always. After the deployment, it appeared to the tester that the Single Sign-On was not working when using the SSO URL through…

Read More
Franck Pachot

Server process name in Postgres and Oracle

By | Oracle, Postgres | No Comments
 

 Every database analysis should start with system load analysis. If the host is in CPU starvation, then looking at other statistics can be pointless. With ‘top’ on Linux, or equivalent such as process explorer on Windows, you see the process (and threads). If the name of the process is meaningful, you already have a clue about the active sessions. Postgres goes further by showing the operation (which SQL command), the state (running or waiting), and…

Read More
Franck Pachot

12cR2 PDB archive

By | Oracle | No Comments
 

 In 12.1 we had the possibility to unplug a PDB by closing it and generating a .xml file that describes the PDB metadata required to plug the datafiles into another CDB. In 12.2 we got an additional possibility to have this .xml file zipped together with the datafiles, for an easy transport. But that was not working for ASM files. The latest Release Update, Oct 17 includes the patch that fixes this issue and is…

Read More
Franck Pachot

JAN18: Database 11gR2 PSU, 12cR1 ProactiveBP, 12cR2 RU

By | Oracle | No Comments
 

 If you want to apply the latest patches (and you should), you can go to the My Oracle Support Recommended Patch Advisor. But sometimes it is not up-todate. For example, for 12.1.0.2 only the PSU is displayed and not the Proactive Bundle Patch, which is highly recommended. And across releases, the names have changed and can be misleading: PSU for 11.2.0.4 (no Proactive Bundle Patch except for Engineered Systems). 12.1.0.2 can have SPU, PSU, or…

Read More
Franck Pachot

Multitenant, PDB, ‘save state’, services and standby databases

By | Oracle | No Comments
 

 Creating – and using – your own services has always been the recommendation. You can connect to a database without a service name, though the instance SID, but this is not what you should do. Each database registers its db_unique_name as a service, and you can use it to connect, but it is always better to create your own application service(s). In multitenant, each PDB registers its name as a service, but the recommendation is…

Read More
David Barbarin

Introducing SQL Server on Docker Swarm orchestration

By | Database Administration & Monitoring | No Comments
 

 SQL Server 2017 is available on multiple platforms: Windows, Linux and Docker. The latter provides containerization features with no lengthy setup and special prerequisites before running your SQL Server databases which are probably the key success of adoption for developers. It was my case as developer for our DMK management kit which provide to our customers a SQL Server database maintenance solution on all editions from SQL Server 2005 to SQL Server 2017 (including Linux)….

Read More
Thomas Rein

Migrate Windows VM with more than 4 Disks from VMware to OVM

By | Database Administration & Monitoring, Oracle | No Comments
 

 Suppose you got an OVA image created on VMware and the VM contains more than 4 Disks and you have to migrate this machine from VMware to OVM. As first step you import the OVA into the OVM in the usual way: You see the that the appliance was imported successfully, we have 5 disks: Now you create your VM from the imported appliance: So far so good, lets have a look on our newly created VM:…

Read More
Franck Pachot

Result Cache: when *not* to use it

By | Oracle | One Comment
 

 I encountered recently a case where result cache was incorrectly used, leading to high contention when the application encountered a peak of load. It was not a surprise when I’ve seen that the function was called with an ‘ID’ as argument, which may have thousands of values in this system. I mentioned to the software vendor that the result cache must be used only for frequently calling the function with same arguments, not for random…

Read More
Franck Pachot

Testing Oracle SQL online

By | Oracle | One Comment
 

 Want to test some DDL, a query, check an execution plan? You need only a browser. And you can copy-paste, or simply link, your test-case in a forum, a tweet, an e-mail, a tweet. Here is a small list (expecting to grow from your comments) of free online services which can run with an Oracle Database: SQL Fiddle, Rextester, db<>fiddle and Oracle Live SQL

Read More