Infrastructure at your Service

All Posts By

Pierre Sicot

Pierre Sicot

ORA-01000 and agent13c

By | Database Administration & Monitoring, Oracle | No Comments

Recently I received errors messages from OEM13c saying too many cursors were opened in a database: instance_throughput:ORA-01000: maximum open cursors exceeded My database had currently this open_cursors value: SQL> show parameter open_cursors NAME TYPE VALUE ———————————— ———– —————————— open_cursors integer 300 I decided to increase its value to 800: SQL> alter system set open_cursors=800; System altered. But a few minutes later I received again the same message. I decided to have a more precise look…

Read More
Pierre Sicot

Discover target database 18c with EM12c

By | Database Administration & Monitoring | No Comments

Working on Enterprise Manager 12.1.0.4 version at a client’s site, we would like to know if oracle database target in 18c version could be discovered and monitored, even if Enterprise Manager 12.1.0.4 does not support Oracle 18c database targets. Installing the agent 12c on the target host did not cause any problem, the oracle database 18c discovery ran successfully, but the database was seen as down in the Enterprise Manager 12.1.0.4 console. We tried several…

Read More
Pierre Sicot

Foglight

By | Database Administration & Monitoring | No Comments

As many Oracle Database Administrators, I am a regular user of Oracle Enterprise Manager in order to monitor or administer my client’s databases. I am lucky because most of them have the diagnostic pack and the tuning pack :=). But we always have to be curious and discover new products. As described by my colleague Nicolas Penot, I installed Foglight: https://blog.dbi-services.com/foglight-monitoring-solution-for-databases-part-01/ https://blog.dbi-services.com/foglight-monitoring-solution-for-databases-part-02/ The installation was successful and very quick to realize, remember when you have…

Read More
Pierre Sicot

OEM 13c Repository view gc$metric_values_daily

By | Database Administration & Monitoring | No Comments

Oracle OEM 13c offers the possibility to generate reports about Oracle Database Tablespace Monthly Space Usage. The displayed information is quite useful and display a lot of information:     The report displays the details for each month and for each tablespace, but the GUI is sometimes painful: you have a nice report but many tablespaces and many numbers :=( At a client’s site, I had the following behavior: a production database had its data…

Read More
Pierre Sicot

Schema only account with Oracle 18.3

By | Database Administration & Monitoring | No Comments

With Oracle 18.3, we have the possibility to create schemas without a password. Effectively in a perfect world, we should not be able to connect to application schemas. For security reasons it is a good thing that nobody can connect directly to the application schema. A good way is to use proxy connections, in fact connect as app_user but using the psi_user password for example: Let’s create a user named app_user: SQL> connect [email protected] as…

Read More
Pierre Sicot

PDB Snapshot Carousel Oracle 18.3

By | Database Administration & Monitoring | One Comment

A new feature with Oracle 18c is the PDB snapshot carousel. As indicated by its name a PDB snapshot is a copy of a PDB at a specific point in time. You have the possibility to create up to eight snapshots, when you reach the maximum number of snapshots, the last snapshot is over written. The snapshot carousel is obviously the name of all your PDB snapshots. We have the possibility to create automatic snapshots…

Read More
Pierre Sicot

PDB lockdown with Oracle 18.3.0.0

By | Uncategorized | No Comments

The PDB lockdown feature offers you the possibility to restrict operations and functionality available from within a PDB, and might be very useful from a security perspective. Some new features have been added to the 18.3.0.0 Oracle version: You have the possibility to create PDB lockdown profiles in the application root like in the CDB root. This facilitates to have a more precise control access to the applications associated with the application container. You can…

Read More
Pierre Sicot

RMAN PITR recover table Oracle 12c

By | Database Administration & Monitoring | No Comments

At one client’s site, I had to restore a table someone had partially deleted one week before. Before Oracle 12c, we had to duplicate the target database to another server, and then to export and import data to the target database. But depending on the database size, it could cost a lot of time, and as nobody knew when the delete action happened, it was more practical to use the rman recover table command in…

Read More
Pierre Sicot

Upgrade EM 13.2 to EM 13.3

By | Database Administration & Monitoring | 3 Comments

As the last Enterprise Manager Cloud Control 13.3 is out since a few days, I decided to test the upgrade procedure from the Enterprise Manager Cloud Control 13.2 You have to follow some pre-requisites: First you copy the emkey : [email protected]:/home/oracle/ [oms13c] emctl config emkey -copy_to_repos_from_file -repos_conndesc ‘”(DESCRIPTION=(ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=em13c)(PORT=1521)))(CONNECT_DATA= (SERVICE_NAME=EMREP13C)))”‘ -repos_user sysman -repos_pwd manager1 -emkey_file /home/oracle/oms13c/sysman/config/emkey.ora Oracle Enterprise Manager Cloud Control 13c Release 2 Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved. Enter Admin…

Read More
Pierre Sicot

Licensable targets and Management Packs with EM13c

By | Database Administration & Monitoring | No Comments

When you add a new target in Enterprise Manager 13c , the management packs are enabled by default. This could be a problem in case of a LMS control, and to avoid any problem, you have to  manually disable those management packs. If like me you recently have moved your database infrastructure to a new one and have to add one hundred targets, you will have to click some hundredth of times on the management…

Read More