SQL Server AlwaysOn and availability groups : session timeout parameter
Have you ever faced to timeout issues with SQL Server availability groups? If you take a look at the timeout parameters for an availability group, you will find a plenty of configuration settings....
View ArticleExecution Plan with ASH
Here is a query I use when I’m on a system that has Diagnostic Pack (ASH) but no tuning Pack (SQL Monitor). It displays the execution plan with dbms_xplan.display_cursor and adds the % of ASH samples...
View ArticleOFE – Optimizer Features Enable
Do you know the optimizer_features_enable parameter? What do you think about it? Good or bad to user it? If I tell you to set optimizer_features_enable parameter=11.2.0.4 when you upgrade to 12c, do...
View ArticleUsing the official PostgreSQL yum repositories
Usually I advice to build PostgreSQL from source as it gives the most flexibility. Another option is to use the official yum repositories. There is one repository for each supported release of...
View ArticleAvoiding access to the public schema in PostgreSQL
In PostgreSQL every database contains the public schema by default. Every user that gets created and can login is able to create objects there. Here is a little demo: I’ll create a new user named u1...
View Articleawrrpt and spreport in multitenant
Yesterday I was giving my ‘Interpreting AWR Reports’ Prezi at Oracle Midlands. There is a point where I explain that I always check the ‘Captured SQL account for …% of Total DB Time (s)’ in order to...
View ArticleThe Postgres Plus® Cloud Database
In the last posts (1, 2, 3, 4, 5) I looked at PostgreSQL in Amazon RDS. Another option you have if you want to go to the cloud is to use the The Postgres Plus® Cloud Database offered by EnterpriseDB. I...
View ArticleInstalling EDB Postgres Advanced Server 9.5
Some days ago EnterpriseDB released EDB Postgres Advanced Server 9.5. As usual this release contains all new features that have been introduced with PostgreSQL 9.5 plus the additions that are...
View ArticleWindows failover cluster 2016 : new site awareness feature
After my first two blogs about cloud witness and domain-less dependencies features shipped with Windows Server 2016, it’s time to talk about another pretty cool feature of the WSFC : site awareness...
View ArticleDBI Tail v1.2 now released !
Dear IT colleagues, We regularly have to read log file contents either to understand software functioning or for debugging purpose. Most of the time we access same log files located in same servers. It...
View ArticleIntroduction to MongoDB
MongoDB is an open source NoSQL database management system oriented document. MongoDB allows manipulating structured and un-structured data. MongoDB is schema-less and used to store large volume of...
View ArticleEDB Postgres Advanced Server 9.5 new features – Profiles
The just released version of EDB Postgres Advanced Server 9.5 introduces profiles very much the same as in Oracle. Lets have a look at it. As in Oracle there is a default profile:...
View ArticleAbout OCR backup
Last day Franck and me were discussing about OCR backup Let’s take a 2 nodes RAC. We can see that OCR backup is automatically done by oracle in only one node on local (with a certain frequency every...
View ArticleSQL Plan Directives strike again
12c SQL Plan Directives, a side effect, a bad application design, a bug… and the occasion to show how to quickly troubleshoot. An application has long response time since 12c migration. No blind...
View ArticleSQL Server Tips: Find sql logins when “windows authentication only” is enabled
A customer asks me to find all sql logins enabled on servers where windows authentication only is enabled. The goal is to clean sql logins on all servers through the CMS (central management server). In...
View ArticleEnable 10046 Tracing for a specific SQL
Available methods to enable 10046 trace are described in My Oracle Support Note 376442.1. You can enable 10046-tracing – on session level (alter session) – for other sessions (e.g. with oradebug, the...
View ArticleSQL Server AlwaysOn : the registry is also important for availability groups
A couple of months ago, we experienced with my colleague Nathan Courtine a weird issue at one of our customers. This issue concerned an AlwaysOn availability group and more precisely to the WSFC...
View ArticleThe dbi services PostgreSQL reference architecture (1) – The commercial approach
When it comes to designing a PostgreSQL architecture that fits your requirements there are a couple of things to think about: Do you need a HA setup? How shall backups and restores being done and how...
View ArticleThe dbi services PostgreSQL reference architecture (2) – The community approach
In the last post I looked at how dbi services designs a PostgreSQL architecture based on the products of EnterpriseDB. In this post I’ll look at the same questions but using pure community tools. If...
View ArticleDynamic filters and “kitchen sink” queries dilemma
Dealing with dynamic filters is a common scenario with management software or ERP. Indeed, users should like to have the flexibility to filter and sort their business data as they want in order to be...
View Article