Subscribe to Posts by Email

Subscriber Count

    701

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

Oracle 18c Database – Docker available

Hello

We have official docker files available to build the Oracle 18c Database in docker. Please go to this link.

https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/dockerfiles

To build this

  1. Install docker in your windows and switch to Linux
  2. Download the 18c database zip file to the docker directory and copy to c:\users\docker\18.3.0\dockerfiles\
  3. Download the docker files from GitHub (above link) , just copy the 18.3.0 folder into c:\users\docker\

Build the image process

Open command prompt

cd c:/users/docker/18.3.0/

Here the oracle/database:18.3.0-ee is image name and

docker build --force-rm=true --no-cache=true -f Dockerfile.ee -t oracle/database:18.3.0-ee .

You can see the steps involved in the window (click on image for best viewing)

Finally, you will get this

Let's check the docker image built listed

Run the docker and start the database

docker run --name orcl18c -p 1521:1521 -p 5500:5500 -e ORACLE_SID=ORCLC18C -e ORACLE_PDB=PDB18C -e ORACLE_PWD=admin123 -e ORACLE_CHARACTERSET=AL32UTF8 oracle/database:18.3.0-ee

As you see, 18.3.0-ee image built now get into the container and check database

The Oracle 18c database is up and running and you can build as many as containers you want.

-Thanks

Suresh

Oracle 18c Released and available for download

Oracle 18c database Officially released for on premise customers. Not sure why 18.3 🙂

Oracle Database Auditing in Apex Application

Hello All,

Few years back, I have been asked to deliver a dashboard which provide audit information of databases.

We don't have OEM or any other tools and that time we migrated to Cloud with standard edition only and we do not have control of database, except enable audit and review on our own.

Secondly I want to have a simple application without much hassle. So I choose Apex for rapid development of interface and some queries , that's it all done and application is ready.

The application will need this, download application file f014

  1. Install apex in any of the database and choose what method you want to access (PLSQL gateway, ORDS, REST services)
  2. Install attached application in your apex application builder, Run the application.
  3. Create a database link to the target databases or you can have that in the interface of the application
  4. View your audit records

That's it, here are the snippets and here is the application file, Below I show how to import that application too

Select the database link and table you want to, I choosed dba_common_audit_trail since if you have XML/DB/OS set for audit trail this view get populated.

The home screen contains the day wise audit records and the graphs

Download Application file from  f104 and import in your application builder

When you click on day wise record it navigates to Audit Summary Reports

Where in Audit summary report you can see multi dimensional summary by OWNER, OS HOST, RETURN CODE, OBJECT, if you click on any record type you take to next screen

In this following screen you see each record of that record type with day wise, you can apply lot of filters as well.

Lastly, you can create database links from Application itself

Finally, you can see the alerts like Login Fail Attempts and Invalid Passwords attempts.

If you are interested and having difficulties in deploying this application, shoot me an email will assist you.

-Thanks

Suresh

 

Oracle Hands on Lab for Database Upgrades Practice

Follow this link for Oracle Hands on Lab to practice certain tasks like upgrades and patching etc which is quicker and nicer.

http://www.oracle.com/technetwork/community/developer-vm/vts-hol-2415742.html

The lab instructions contains the following activities : Source Oracle

 The public image for 18c is not available until 18c official release. and it contains 18c instead of 12.2.0.1

Thanks

Suresh

 

18c Database : Desupport of UTL_FILE_DIR Parameter

Starting 18c, UTL_FILE_DIR Parameter is no longer supported and errors out if called. Instead we have to directly call the file object using utl_file. This is due to increase the security of the database, since UTL_FILE will use the DIRECTORY object as location where in the UTL_FILE_DIR is the direct path to the OS directory where you have no control on privilege.

This has been notified in 12c release that UTL_FILE_DIR will be removed and 18c is not going to support.

What it has for you?

  • All of your scripts where referred to UTL_FILE_DIR may need revisit
  • Application jobs using UTL_FILE_DIR referring may need revisit
  • Add this one as your one of pre upgrade check list

Ref: Oracle 18c New Features.

-Thanks

Suresh

 

APACOUC – Webinar Tour 2018 – Registrations Open

The 2018 APAC Webinar Tour will be running from July 16 until September 7th with the participation of over 20 International Speakers that will be presenting over 50 interesting presentations, making it the largest webinar series ever made in the Oracle world!  The registrations are open now.

[embedyt] https://www.youtube.com/watch?v=htew3BToP10[/embedyt]

First wave of Agenda is here:-

http://www.apacouc.org/2017-webinar-tour.html

I am speaking about Oracle 18c New Features List and registration link is here

https://events.genndi.com/register/818182175026319207/2e96be318e

Stay tuned for second and third wave.

-Thanks

Suresh

AIOUG – ODevC Yatra – July 2018 – I am Speaking

Hello All,

Now I am speaking in four cities and here is the agenda and registration links.

Event Title Date Timing Place Session Details & Registration Link
Performance Tuning Tech Day Oracle SQL Plan Stability & Flexibility Features 23-Jun-18 13:45 to 14:45 Hyderabad https://www.meraevents.com/event/aioug-hyderabad-oracle-db-performance-tuning-tech-day
OdevC Yatra - 2018 Docker : Oracle Container Registry 11-Jul-18 11:00 to 12:00 Hyderabad http://odevcyatra.in/hyderabad/
OdevC Yatra - 2018 Oracle SQL Plan Stability & Flexibility Features 13-Jul-18 11.00 to 12.00 Pune http://odevcyatra.in/pune/
OdevC Yatra - 2018 Oracle SQL Plan Stability & Flexibility Features 14-Jul-18 14:00 to 15:00 Mumbai http://odevcyatra.in/mumbai
OdevC Yatra - 2018 Oracle SQL Plan Stability & Flexibility Features 15-Jul-18 13:00 to 14:00 Gurgaon http://odevcyatra.in/gurugram/

-Thanks

Suresh

AIOUG – Hyderabad – Performance Tuning Tech day – 23rd June

Hello All

AIOUG - Hyderabad Chapter announced Performance Tuning Tech Day on 23-June in Hyderabad and I am speaking on SQL Plan Stability & Flexibility Features.

Here is registration Link :- https://www.meraevents.com/event/aioug-hyderabad-oracle-db-performance-tuning-tech-day

And Agenda is as follows, Don't miss it as the topics covered by speakers will be helpful.

 

 

AIOUG – ODevC Yatra – 11th July – Hyderabad – I am speaking

Hello,

I am speaking at ODevC Yatra about Docker : Oracle Container Registry. This tour spans 7 major cities for 9 days with great speakers around the world.

 

Dates & Registration Link for all Cities:- http://odevcyatra.in/register/

Don't miss it and register here (early bird offer until 17-Jun-2018) :-  http://odevcyatra.in/hyderabad-registration/

Sessions Agenda in Hyderabad :- http://odevcyatra.in/hyderabad/

See you there !!!

-Thanks

Suresh

18c Database : SQLPLUS New Options

The following three options introduced in 18c are very useful for DBA's.

I am sure how many of you find hard to limit the rows in Oracle and also finding sql_id for the statement executed. Now that has been solved.

SET FEEDBACK ON SQL_ID

You can find the sql_id for the executed statement in the sqlplus without querying v$sql or dbms_xplan.display_cursor. Here is how

SET ROWLIMIT n

Limit the Number of rows in the sql prompt, without using rownum

SET LINESIZE WINDOW

Setting Columns to adjust to the windows is no more required, you can use WINDOW option

-Thanks

Suresh