Infrastructure at your Service

Oracle Archives - Page 37 of 40 - Blog dbi services

Oracle Team

How to measure Exadata SmartScan efficiency

By | Database management, Oracle | No Comments

By Franck Pachot . A thread on OTN Forum about Exadata came to the following question: “But how can I monitor if it is effectively used or not?”. This is a common question. There are 3 exclusive features coming with Exadata, and instance statistics can show their usage. Even better: two of them can even be checked on your current (non-Exadata) system. And that is good to foresee how Exadata can improve your workload. Let’s find…

Read More
Pierre Sicot

Oracle OEM Cloud Control 12.1.0.4 – agent upgrade & patch

By | Database management | No Comments

The new Oracle OEM Cloud Control 12.1.0.4 release migration makes it necessary for the DBA to migrate the old agent version to 12.1.0.4. If your infrastructure has a huge number of agents and if you want to apply the agent patches to the upgraded agents, this might be a very time-consuming job. However, there is a way to realize the operation in just one shot. In my example, we have an agent in version 12.1.0.3:…

Read More
Pierre Sicot

Oracle OEM Cloud Control 12.1.0.4 – the new features

By | Database management | No Comments

This document describes the main new features of Cloud Control 12.1.0.4. A lot of new features are coming with the 12.1.0.4 version I will describe the most important ones, but you can also refer to this Oracle documen: http://docs.oracle.com/cd/E24628_01/doc.121/e25353/whats_new.htm#CEGFFGBI New management services repository page There is a new management services repository page providing details about the management repository: In the Setup Menu—> Manager Cloud Control, select health overview: You have access to a new performance…

Read More
Oracle Team

Thinking about downgrading from Oracle Enterprise to Standard Edition?

By | Database management, Oracle | No Comments

By Franck Pachot . You are using an Oracle Enterprise Edition and thinking about downgrading to the Standard Edition? In this case, you must be sure that your applications are compatible. It’s not something easy to check. Here are a few ideas. Why? Why do you want to downgrade to the Standard Edition? For licensing costs, of course. Today, it is difficult to find a server with only a few cores. And Oracle Enterprise Edition…

Read More
Oracle Team

Oracle: How to move OMF datafiles in 11g and 12c

By | Database management, Oracle | One Comment

By Franck Pachot . With OMF datafiles, you don’t manage the datafile names. But how do you set the destination when you want to move them to another mount point? Let’s see how easy (and online) it works in 12c. And how to do it with minimal downtime in 11g. Testcase Let’s create a tablespace with two datafiles. It’s OMF and goes into /u01: SQL> alter system set db_create_file_dest=’/u01/app/oracle/oradata’ scope=memory; System altered. SQL> show parameter…

Read More
Oracle Team

Resize your Oracle datafiles down to the minimum without ORA-03297

By | Database management, Oracle | 34 Comments

By Franck Pachot . Your datafiles have grown in the past but now you want to reclaim as much space as possible, because you are short on filesystem space, or you want to move some files without moving empty blocks, or your backup size is too large. ALTER DATABASE DATAFILE … RESIZE can reclaim the space at the end of the datafile, down to the latest allocated extent. But if you try to get lower,…

Read More
Oracle Team

What’s the consequence of NOLOGGING loads?

By | Database management, Oracle | No Comments

By Franck Pachot . When you load data in direct-path and have the NOLOGGING attribute set, you minimize redo generation, but you take the risk, in case of media recovery, to loose the data in the blocks that you’ve loaded. So you probably run a backup as soon as the load is done. But what happens if you have a crash, with media failure, before the backup is finish? I encountered recently the situation but…

Read More
Oracle Team

Oracle 12.1.0.2.1 Set to Join Conversion

By | Database management, Oracle | No Comments

By Franck Pachot . Recently, I described the Partial Join Evaluation transformation that appeared last year in Oracle 12c. I did it as an introduction for another transformation that appeared long time ago in 10.1.0.3 but was not used by default. And even in the latest Oracle 12c patchset 1 (aka 12.1.0.2.0) it is still not enabled. But it’s there and you can use it if you set optimizer_features_enabled to 12.1.0.2.1 (that’s not a typo!)….

Read More
Oracle Team

Oracle 12.1.0.2: Wait event histograms in μs

By | Database Administration & Monitoring, Oracle | 2 Comments

By Franck Pachot . When an Oracle Database spends a high percentage of its DB time in User I/O, I usually check the wait event histograms in order to see if the storage system is working well. But today, with storage going to SSD, most I/O are less than 1 milliseconds and we have no details about those wait times. Here is what is exposed by V$WAIT_EVENT_HISTOGRAM:   select event,wait_time_milli,wait_count from v$event_histogram where event like…

Read More
Oracle Team

PDB media failure may cause the whole CDB to crash

By | Database management, Oracle | 3 Comments

By Franck Pachot . Do you remember last year, when 12c arrived with multitenant, David Hueber warned us about the fact that a single PDB can, under certain conditions, generate a complete system downtime? We are beta testers and opened a SR for that. Now one year later the first patchset is out and obviously I checked if the issue was fixed. It’s a patchset afterall, which is expected to fix issues before than bringing…

Read More