Solved

clear shared pol

Posted on 2014-04-01
6
255 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

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.

Join & Write a Comment

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

743 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

10 Experts available now in Live!

Get 1:1 Help Now