DBA Blogs

Creating a PDB in a desired location in 12.2

Hemant K Chitale - Wed, 2017-11-15 08:53
A video on creating a Pluggable Database in a desired location, using the command-line.
.
.
.

Categories: DBA Blogs

Import connections

Tom Kyte - Tue, 2017-11-14 21:26
Need way to import *new* connections to SQL Developer without manual typing. Is it possible to import them from a spreadsheet or csv?
Categories: DBA Blogs

Snapshot database

Tom Kyte - Tue, 2017-11-14 21:26
Dear Team, I have active data guard whose flash retention policy is 1 hour and undo retention is 900. want to convert standby database to snapshot database for few days, please let me know its possible or not. is above mention parameter is depe...
Categories: DBA Blogs

Alert log monitoring script

Tom Kyte - Tue, 2017-11-14 21:26
Hi, Could you please anyone help me on the script for Alert log monitoring for every one 1 hour need to fetch the errors and send it mail. Thanks
Categories: DBA Blogs

Disabling DBMS_SCHEDULER jobs on import

Tom Kyte - Tue, 2017-11-14 21:26
We refresh our test and development environments from production weekly. Is there a way to automatically disable DBMS_SCHEDULER jobs on import? I have a "reset" script that I run after the refresh, but "overdue" jobs seem to run immediately after imp...
Categories: DBA Blogs

Arizona Oracle User Group meeting Thursday

Bobby Durrett's DBA Blog - Tue, 2017-11-14 13:25

The Arizona Oracle User Group (AZORA) is meeting this Thursday, November 16th, 2017 from 12:30 to 3:30 pm Arizona time.

Here is the link to the Meetup:

#meetup_oembed .mu_clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }* html #meetup_oembed .mu_clearfix, *:first-child+html #meetup_oembed .mu_clearfix { zoom: 1; }#meetup_oembed { background:#eee;border:1px solid #ccc;padding:10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; }#meetup_oembed h3 { font-weight:normal; margin:0 0 10px; padding:0; line-height:26px; font-family:Georgia,Palatino,serif; font-size:24px }#meetup_oembed p { margin: 0 0 10px; padding:0; line-height:16px; }#meetup_oembed img { border:none; margin:0; padding:0; }#meetup_oembed a, #meetup_oembed a:visited, #meetup_oembed a:link { color: #1B76B3; text-decoration: none; cursor: hand; cursor: pointer; }#meetup_oembed a:hover { color: #1B76B3; text-decoration: underline; }#meetup_oembed a.mu_button { font-size:14px; -moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:2px solid #A7241D;color:white!important;text-decoration:none;background-color: #CA3E47; background-image: -moz-linear-gradient(top, #ca3e47, #a8252e); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #a8252e), color-stop(1, #ca3e47));disvplay:inline-block;padding:5px 10px; }#meetup_oembed a.mu_button:hover { color: #fff!important; text-decoration: none; }#meetup_oembed .photo { width:50px; height:50px; overflow:hidden;background:#ccc;float:left;margin:0 5px 0 0;text-align:center;padding:1px; }#meetup_oembed .photo img { height:50px }#meetup_oembed .number { font-size:18px; }#meetup_oembed .thing { text-transform: uppercase; color: #555; }
AZ-ORA November Meetup – Dan Morgan live!

Thursday, Nov 16, 2017, 12:30 PM

Republic Services – 2nd Floor Conference Rooms
14400 N 87th St (AZ101 & Raintree) Scottsdale, AZ

13 AZORAS Attending

It’s time to learn more about Oracle and Oracle products! Dan Morgan from Forsythe Meta 7 will be speaking at our November 16 Arizona Oracle User Group (AZ-ORA) meeting on two topics: “Channeling Oracle OpenWorld 2017” for DBAs and SQL & PL/SQL Developers and “Security for Oracle DBAs and Developers” – more details to come…When: Thursday Novembe…

Check out this Meetup →

Here is a link to the user group site with more information:

AZORA Meeting Nov 16, 2017

I’m looking forward to it. I hope to see you there!

Bobby

Categories: DBA Blogs

Admin vs Design

Tom Kyte - Tue, 2017-11-14 03:06
First of all why people or do not understand or u people force . DBA primary role and still they r rude ( back up , recovery ,upgrade, monitoring ) a system. It is the most crucial part as Data Loss , recovery can not not be priced. It is a 24*7...
Categories: DBA Blogs

Object info w.r.t redo

Tom Kyte - Tue, 2017-11-14 03:06
Dear Sir, How can I found which object generate more redo in database. Thanks Pradeep
Categories: DBA Blogs

DBMS facilities

Tom Kyte - Tue, 2017-11-14 03:06
I am not able to understand this question. What are they asking in the question? Thank You!: "Starting at the client invocation describe the mechanics of the DBMS through a SQL SELECT all the way through the response to the client. Name all faci...
Categories: DBA Blogs

difference between sql tuning advisor and sql access advisor

Tom Kyte - Tue, 2017-11-14 03:06
After reading both "Sql Tuning advisor" and "sql access advisor" , getting little confused on -- what is exact difference behind these advisors -- which situation one can use one advisor over another Please provide your guidance. thx A...
Categories: DBA Blogs

Table with date column datatype (Storing datetime) causing issue in fetching result and when use with to_date and to_char causing performance issue.

Tom Kyte - Tue, 2017-11-14 03:06
Hello Tom, Good Morning. This is my first time posting question, I always got helped for my most of problems from your post. Need your help in understanding what will be good way with respect of performance. I have one table with date dat...
Categories: DBA Blogs

Partner Webcast – Setting up API strategy with Oracle API Platform Cloud Service

APIs are at the center of the digital economy as they provide the software plumbing between ever more distributed modes of digital interaction.  Several business models are associated with...

We share our skills to maximize your revenue!
Categories: DBA Blogs

Expdp exclude table/exclude schema

Learn oracle 12c database management - Mon, 2017-11-13 10:56

expdp export exclude syntax:Here is a simple example on how to use exclude in your export cmds.

----------------------------------------------
Exclude Tables
----------------------------------------------

Using parfile:

First create a parfile with details.
$ vi impdp_full.par

--add the details to parfile
directory=DPUMP logfile=SCOTT_EXP.log dumpfile=SCOTT_%U.dmp parallel=4  EXCLUDE=TABLE:"IN ('TABLE1','TABLE2','TABLE3')

Then execute using parfile:
expdp SCOTT/XXXXXX parfile=impdp_full.par

on cmdline:
expdp SCOTT/XXXXX directory=DPUMP dumpfile=SCOTT_%U.dmp logfile=SCOTT.log schemas=SCOTT  parallel=6 EXCLUDE=TABLE:\"IN (\'TABLE1\', \'TABLE2\')\"
  ----------------------------------------------
Exclude Schemas
----------------------------------------------

First create a parfile with details.

$ vi expdp_full.par
--add the details to parfile
directory=DPUMP FULL=Y dumpfile=FULLDB_%U.dmp logfile=FULL.log   parallel=6 EXCLUDE=SCHEMA:"IN ('SCHEMA1','SCHEMA2','SCHEMA3')

Then execute using parfile:
expdp SYSTEM/XXXXXX parfile=expdp_full.par

on cmdline:
expdp SYSTEM/XXXXX directory=DPUMP dumpfile=FULLDB_%U.dmp logfile=FULL.log FULL=Y  parallel=6 EXCLUDE=TABLE:\"IN (\'SCHEMA1\', \'SCHEMA2\')\"
Categories: DBA Blogs

is alter table drop constraint drop index syntactically valid?

Tom Kyte - Mon, 2017-11-13 08:46
Hi Tom, I'm dropping unique constraint from a table and need to drop the unique index too. Yes there's lot written about this topic and what is not clear to me seems to be just documentation issue: I found advices to use syntax <code>alter tabl...
Categories: DBA Blogs

oracle external table issue

Tom Kyte - Mon, 2017-11-13 08:46
Hi team, I have a txt file which has data delimited by "TAB SPACE" and i am trying to load the data using the oet table.Here is the script below which i used to load the data . Unfortunately the data is not loading . Can any one say how to load th...
Categories: DBA Blogs

Persuade customer to use SQLT

Tom Kyte - Mon, 2017-11-13 08:46
Hi Tom, While doing sql query tuning I came across SQLT Tool and I found it very useful. But there's one problem. Our clients (esp. client's DBAs) are not ready to allow me to use it on their production environment. I told them that it won't have ...
Categories: DBA Blogs

Last login

Tom Kyte - Mon, 2017-11-13 08:46
We are running versions 11.2.0.4 12.1 12.2. I am looking for a generic solution to capture last login date. I think the best solution would be an initial load and then maintain the information via an after logon trigger, which will contain a merg...
Categories: DBA Blogs

INACTIVE session is blocking active session

Tom Kyte - Mon, 2017-11-13 08:46
DBA is throwing information as follows 06112017:11:00:09 WELOPP@n1pv97/46581 (Session=('300,19867')Status=INACTIVE sqlid=>) blocking WELOPP@n1pv97/45876 (Session=('1803,10683') Status=ACTIVE sqlid=fp5x2quh0zpqk) f...
Categories: DBA Blogs

For Joins in Query Performance optimization

Tom Kyte - Sun, 2017-11-12 14:26
I have a query with 4 For loops puting data into temp table an then that temp table TEMPTBL_NUMBER_SEARCH is called to execute the operations in a select clause. So the problem with the 4 for loop is making it slow to 15-20 mins. Its all indside a pr...
Categories: DBA Blogs

export issue

Tom Kyte - Sun, 2017-11-12 14:26
Hi team, We are taking daily export of schema with expdp But for a few days we are continuously getting error saying - snapshot too Old. Table is a partitioned table weekly base. And the script which we are using for expdp is - expdp us...
Categories: DBA Blogs

Pages

Subscribe to Oracle FAQ aggregator - DBA Blogs