Show the Top 10 events from latest AWR snapshot
Want to display a specific section from the latest AWR report? I'll share the script I use to get something like that: SQL> @ LASTAWRSEC.sql 'Top 10 Foreground Events by Total Wait Time' ''...
View ArticlePostgreSQL portable?
Initially I was looking for a free PostgreSQL cloud database which I can use from any workstation and any OS in case I'll need to do some tests or demos and do not have a PostgreSQL database available....
View ArticleA free PostgreSQL cloud database?
Recently I was looking for a free PostgreSQL cloud database service for testing. Why? Because I'd like to use such a cloud instance for testing no matter on which workstation or OS I am currently on....
View ArticleSQL Interpolation with psql
The PostgreSQL psql utility provides some really nice features. One of these features is SQL interpolation which allows us to do interesting things, e.g. reading files and analyze the results directly...
View ArticleWhat is more efficient: arrays or single column values?
In PostgreSQL ( as well as in other rdbms ) you can define columns as arrays. What I wondered is: What is more efficient when it comes to space: Creating several columns or just creating once column as...
View ArticleWhat is more efficient: arrays or single columns values? - oracle
In the last post on this topic it turned out that using an array as a column type needs more space than using a column per value in PostgreSQL. Now I'll do the same test case in Oracle.
View ArticleSQL Server 2014: Analysis, Migrate and Report (AMR) - a powerful In-Memory...
An important new functionality of Microsoft SQL Server 2014 is the In-Memory OLTP engine, which enable you to load Tables and also Stored Procedures In-Memory for a very fast response time. The goal is...
View ArticleODA workshop at Arrow ECS
On the 16th and 17th of June David Hueber, Georges Grey and myself had the chance to attend the ODA hands on workshop at Arrow ECS. Lead Trainer Ruggero Citton (Oracle ODA Product Development) did the...
View ArticleSQL Server 2016 : availability groups and load balancing features
Let’s continue with this third post about SQL Server AlwaysOn and availability groups. Others studies are available here: New database issue level detection for automatic failover Potential features in...
View ArticleDo the block size matter?
The default block size is 8k in Oracle. This is the most common. Sometimes, people create the database with 16k block size for datawarehouses. You can also find some 32k block size, but less common...
View ArticleWhen a function returns a collection: can you directly reference the index of...
As I am still interested in PLSQL I browsed the documentation some days ago and learned something new which is about functions returning collections. Here is a simple test case:
View ArticleSQL Server 2016 : availability groups and the new clustered columnstore index...
This blog post is focused on the new supportability of clustered columnstore index on the high- availability read-only replicas. Others studies are available here: New database issue level detection...
View ArticleBuffer pool advisory in AWR
In Oracle memory advisors: how relevant ? I said that advisors are calculating their recommendations from statistics cumulated since the begining of the instance, even in AWR which is supposed to cover...
View ArticleSQL Server 2016 : availability groups and the new SSISDB support
This blog post is focused on the new supportability of SSIDB catalog on AlwaysOn architecture. Others studies are available here: New database issue level detection for automatic failover Potential...
View Article2 ways to move archivelogs - both need RMAN
The database must know where are the files. If you move them from the OS, the database will not be aware of it. But there is a database tool to copy or move files and update the database repository...
View ArticleSQL Server 2016 CTP2: Stretch database feature - Part 2
In my previous blog SQL Server 2016 CTP2: Stretch database feature - Part 1, I explained how to prepare your instance and your database to enable the Stretch feature for your table. Now I present you...
View ArticleSharePoint 2013 - Office 365 & Power BI
Quick reminder of what is SharePoint 2013 and Office 365 SharePoint 2013 SharePoint 2013 is a collaborative platform that allows organizations to increase the efficiency of their business processes....
View Articleanother way to list invalid objects
How often did I type a query like this to list the invalid objects in a database? select count(*) from dba_objects where status 'VALID'; -- and user in/not in Today I learned another way to do the same.
View ArticleRAC buffer states: XCUR, SCUR, PI, CI
In RAC, blocks are copied across instances by the Global Cache Service. In single instance, we have only two status: CR for consistent read clones where undo is applied, and CUR for the current version...
View Article