Solved

clear shared pol

Posted on 2014-04-01
6
260 Views
Last Modified: 2014-04-06
If we are inserting and it slow...
how can we clear the shared pool
0
Comment
Question by:tonydba
6 Comments
 
LVL 16

Accepted Solution

by:
Wasim Akram Shaik earned 500 total points
ID: 39970453
basically insert must be slow because of other reasons(check out indexes, and tablespace fragmentation etc,)

if you intend to do so..

use the below command

alter system flush shared_pool;

but be sure as you may lose transaction data at that particular instant

read this for more information
http://www.dba-oracle.com/tp_Oracle_shared_pool_routine_flush.htm
0
 
LVL 23

Expert Comment

by:David
ID: 39970458
A very typical reason for slow performance during insert is lock contention.  Is that likely?
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39970622
I agree that flushing the shared pool will not help with performance.

>>but be sure as you may lose transaction data at that particular instant

I have to disagree with this statement.  If you have supporting documentation I would like to read it.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 15

Expert Comment

by:Devinder Singh Virdi
ID: 39970827
Please check event in v$session to see if session is waiting on which wait event or generate ASH report for that session. This will help you to narrow down the root cause.
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 39971234
Agreed Steve.. Shared pool will not cause a transaction loss, however you will definitely loose the cached sql plans of sql statements..
0
 

Author Closing Comment

by:tonydba
ID: 39981697
yes got it
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now