Infrastructure at your Service

Category Archives: Database Administration & Monitoring

Stéphane Haby

Row Level Security (RLS) is also coming to MS SQL Server

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

Why “also” in my title? On 29 August, my colleague Daniel Westermann wrote an article about Row Level Security in the next version of PostgreSQL. Row Level Security called also RLS is a new feature in SQL Server 2016 and of course in SQL Azure. This new security in SQL Server returns only rows that the user has permission to access. The best way to understand is with a little sample and I use Daniel’s…

 
Read More
Stéphane Savorgnano

SQL Server 2016: Transaction Performance Analysis Overview & In-Memory OLTP Migration Checklists

By | Database Administration & Monitoring | No Comments

To be able to define which Tables or Stored Procedures will us the best performance gain after migration to In-Memory OLTP, SQL Server 2014 provided a tool called AMR (Analysis Migration and Reporting). This tool was really interesting but we should have, before to use it, to create a Management Data Warehouse and so on… (I wrote a blog here for this configuration and an article on SQL Magazine here) With SQL Server 2016, actually…

 
Read More
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

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

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

By | Database Administration & Monitoring, Oracle | 23 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