Infrastructure at your Service

Category Archives: Database Administration & Monitoring

David Barbarin

SQL Server 2016 : availability groups with no domain dependencies

By | Database Administration & Monitoring | No Comments

Are you aware about the new features of the next Windows version? Currently we’re in TP3 and during my investigation, I was very happy to see the new features for Windows clustering (cf. this blog post from Microsoft). By reading this article we can see: Workgroup Clusters: Clusters with nodes which are member servers / workgroup (not domain joined) If you remember, Microsoft had introduced Active Directory-Detached Cluster feature with Windows 2012 but the dependency…

 
Read More
Daniel Westermann

SEVERE:OUI-10020:The target area /u01/app/oracle/oraInventory/ is being used as a source by another session

By | Database Administration & Monitoring | No Comments

What to do if you get the above error when you try to install Oracle SE2 (did not test if the same issue is there with EE, but probably it is) in silent mode?: ./runInstaller oracle.install.option=INSTALL_DB_SWONLY \ ORACLE_BASE=/u01/app/oracle/ \ ORACLE_HOME=/u01/app/oracle/product/12.1.0/db_2_4/ \ UNIX_GROUP_NAME=oinstall \ oracle.install.db.DBA_GROUP=dba \ oracle.install.db.OPER_GROUP=dba \ oracle.install.db.BACKUPDBA_GROUP=dba \ oracle.install.db.DGDBA_GROUP=dba \ oracle.install.db.KMDBA_GROUP=dba \ FROM_LOCATION=../stage/products.xml \ INVENTORY_LOCATION=/u01/app/oracle/oraInventory/ \ SELECTED_LANGUAGES=en \ oracle.install.db.InstallEdition=SE2 \ DECLINE_SECURITY_UPDATES=true -silent -ignoreSysPrereqs -ignorePrereq -waitForCompletion You already checked my oracle support and verified that…

 
Read More
Franck Pachot

Do you use SQL Plan Baselines?

By | Database Administration & Monitoring, Oracle | No Comments

I can hear a lot of complaints about the instability coming from the adaptive features introduced into the optimizer logic at each releases. Giving more intelligence to the optimizer is very good to improve the response time for generated queries, BI, ad-hoc reporting. But when you have an OLTP that works for years with its static set of queries, then you don’t appreciate the plan instability coming from (in reverse chronological order and not exhaustive):…

 
Read More
David Barbarin

SQL Server AlwaysOn : readable secondary replicas and index rebuild online vs offline

By | Database Administration & Monitoring | 2 Comments

A couple of weeks ago, I was involved in a discussion on the French forum developpez.com about SQL Server AlwaysOn and availability groups, index strategies and the impact on the readable secondary replicas. During this discussion, one of the forum member stated that rebuilding an index online had less impact than rebuilding an index offline on a readable secondary replica but I disagree with this affirmative. Is it really true? Let’s verify in this blog…

 
Read More
Franck Pachot

You are in Standard Edition One? Don’t worry.

By | Database Administration & Monitoring, Oracle | 21 Comments

You want the amazing features of Oracle SQL and PL/SQL with minimal cost. Your database is too large for Oracle XE edition, but not big enough to require the cost of Enterprise Edition. You accept to do things manually, have maintenance windows. You are ok with a RTO of 5 minutes (time to switchover with Dbvisit standby), RPO of 10 minutes (archive_lag_target=600). Your servers have no more than 2 sockets. So you opted for Standard…

 
Read More
David Barbarin

SQL Server 2016 : availability groups and the new ssis_monitor role for SSIDBB catalog

By | Database Administration & Monitoring | No Comments

During my investigation about the new AlwaysOn features, I wrote a blog post about the new SSISDB support for AlwaysOn. You can find it here: > SQL Server 2016 : availability groups and the new SSISDB support Just as a reminder, for those who have dealt with the SSISDB catalog in the previous version, some extra works were mandatory to be “AlwaysOn” compliant. Fortunately, the new version of SSIDB catalog will make easier the DBA…

 
Read More
Jérôme Witt

Install Oracle instant client and perl DBD::Oracle @ Mac OS X Yosemite

By | Database Administration & Monitoring | No Comments

Recently, I tried to install and connect to Oracle databases directly from my new Mac Book using perl  (Yes, perl is still one of the most friendly programming language for DBAs). What first seemed to be easy was in reality quite difficult and long. Alone, the huge quantity of  hits on the WorldWideWeb was impressive. However none of the hits were providing the entire solution. Follows, all the steps to prepare and install the Oracle…

 
Read More
David Barbarin

SQL Server AlwaysOn: number of databases and the hadr worker pool

By | Database Administration & Monitoring | No Comments

Often, when I’m in charge to implement an SQL Server AlwaysOn infrastructure with availability groups, customers ask me if it exists some best practices and recommendations about the maximum number of databases in an availability group planning. In fact, we have to keep in mind the relation between databases and the SQL Server worker pool in this architecture. Remember that the SQL Server AlwaysOn and availability group feature is an extension of the SQL Server…

 
Read More
Stéphane Savorgnano

SQL Server 2016: Upgrade Advisor

By | Database Administration & Monitoring, Technology Survey | No Comments

During the read of a blog of my colleague Nathan Courtine about Stretch database, I installed the version of SQL Server 2016 Upgrade Advisor and Oh surprise! it looks really NEW! “A new generation of advisor tool for SQL Server” aka Microsoft. To download and install it, click here. This new version has a dual role: Check the compatibility of old versions of SQL Server compared to SQL Server 2016 Help adoption of new SQL…

 
Read More