How can closed open cursor.........?

Hi All,
after closed all connection & resultSet, CallableStatement object and then set it to be as NULL in my application
but a lot of cursor still open. how can be solve this problem ?
Can anyone tell me....?
Pls reply........

Gangadhar Reddy wrote:
I used SYS REFCURSOR and was able to implement successfully.How many times did you run this successful implementation that does not use bind variables?
Because this is what will happen when it runs a lot.
http://download.oracle.com/docs/cd/E11882_01/server.112/e17766/e2100.htm#sthref1874
http://forums.oracle.com/forums/search.jspa?q=%2BORA-04031%20%2Bbind&objID=c84&dateRange=all&rankBy=10001&start=30
And you will have to regularly restart the server, or possibly slightly less invasive, flush the shared pool.
Flushing Shared Pool regularly
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1516005546092
>
Ok, this is an easy one to diagnose.
You are not using bind variables. This is terrible. Flushing the shared pool is a bad
solution -- you are literally killing the performance on your box by not using them.
If I was to write a book on how to build “non scalable applications in Oracle”, this
would be the first and last chapter. This is a major cause of performance issues and a
major inhibitor of scalability in Oracle. The way the Oracle shared pool (a very
important shared memory data structure) operates is predicated on developers using bind
variables. If you want to make Oracle run slowly, even grind to a total halt – just
refuse to use them.
>
But, please feel free to go ahead with this successful implementation.
I just hope anyone else who reads this doesn't make the same mistake.

Similar Messages

  • My iPad Closed  - Please How can I open it

    Please : My iPad Closed  - How can I open it
    My iPad 2 (Wi-Fi Rev.A) Black  serial number : DM*******FHW
    MY Name : Sahar  O.
    My ID : *****
    When I Sign in to iCloud account there are two Device's For me (iPhone 4s & iPad 2 (Wi-Fi Rev.A) Black
    But you can not activate my device !!
    You can be seen Pictures  from the following link
    http://www.upgulf.com/up-jpg/5na78461.jpg
    http://www.upgulf.com/up-jpg/wud78461.jpg
    http://www.upgulf.com/up-jpg/dz378461.jpg
    Please .. Please .. Please  Help me how I can open My iPad 2
    <Personal Information Edited By Host>

    Hi ..
    Better to not share the serial number and email address on a public forum. I've asked the moderators to edit that for you.
    Try a reset.
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.

  • How can I open tabs on one computer from another computer

    I used to be able to open a tab from my home computer while using my computer at work. Now, I don't seem to be able to do it. I have a sync account set up. How can I open a tab from one computer at a different computer?

    First, be sure you're Syncing correctly:
    https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync?esab=a&s=Sync&r=4&as=s
    As far as I know, Last Session is synced, too, so you can use
    History -> Restore Previous Session
    or
    History -> Recently Closed Tabs

  • How can i open the archived pst file in my Mac Air

    How can i open the Archived outlook pst file in my Mac air, i want to access my old outlook mails.

    System.setProperty("java.security.policy", "system.policy");Is this a new feature in JDK1.4? I don't see it in
    the documentation for JDK1.3.1 that I'm currently
    using.Look more closely. There is indeed a setProperty(String, String) in
    http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html
    "Since 1.2"
    - Marcus

  • How can I create cursors within the cursor?

    How can I create cursors within the cursor?
    Table1 2001 - 2007 data
    Account_no
    Account_eff_dt
    No_account_holder
    Num
    Seq_Num
    Value1
    Value2
    Table2_Historical (doesn't have Num as a field) 1990 - 2000 data
    Account_no
    Account_eff_dt
    No_account_holder
    Seq_Num
    Value1
    Value2
    Table3_06
    Account_no
    Account_eff_dt
    No_account_holder
    Num
    My result table should be:
    Table_result_06
    Account_no
    Account_eff_dt
    No_account_holder
    Num
    Value1_min (the minimum value for the minimum of record_sequence)
    Value2_max (the maximum value for the maximum of record_sequence)
    I have to get data from Table1 and Table2_Historical. If one account was open in 1998 and is still effective, the minimum value of that account is in the Table2_Historical.
    Let's say I open a cursor:
    cursor_first is
    select * from table3_06;
    open csr_first
    loop
    fetch cursor_first into
    v_Account_no
    v_Account_eff_dt
    v_No_account_holder
    v_Num
    EXIT WHEN csr_first%NOTFOUND;
    How can I open a second cursor from here that will get the Seq_Num from Table1
    csr_second
    select Seq_Num from Table1 where
    v_Account_no = Account_no
    v_Account_eff_dt <= Account_eff_dt
    v_No_account_holder=No_account_holder
    v_Num = Num
    How does it works???
    Thanks a lot

    Thanks so much for replying back. Here is what I am trying to do.
    I have to create a table for each year 2002, 2003, 2004, 2005, 2006 that has all the account numbers that are active each year plus some other characteristics.
    Let’s say I will create Table_result_06. This table will have the following fields. The account number, account effective date, Number of the account holder and the field Num (The primary key is a combination of all 4 fields), the beginning look of value 1 in 2006, the last look of value 1 in 2006.
    Table_result_06
    Account_no key
    Account_eff_dt key
    No_account_holder key
    Num key
    Value1_min (the minimum value for the minimum of record_sequence)
    Value2_max (the maximum value for the maximum of record_sequence)
    All the active account numbers with the Account_eff_dt, No_account_holder and Num are in the Table3. As such I can build a query that connects Table3 with table Table1 on all 4 fileds, Account_no, Account_eff_dt, No_account_holder, Num and find the Value1_min for the min of req_sequence in 2006 and Value1_max for the max of req_sequence in 2006. Here my problem starts.
    Table 1 doesn’t have a new entry if nothing has changed in the account. So if this account was open in 1993 and nothing has changed I don’t have an entry in 2006 but this doesn’t mean that this account doesn’t exist in 2006. So to find the minimum value I have to go back in 1993 and find the max and min for that year and that will be max and min in 2006 as well.
    As such I have to go to Table_2 historical and search for min and max. But this table doesn’t have the field NUM and if I match only on the Account_no, Account_eff_dt and No_account_holder I don’t get a unique record.
    So how can I connect all three tables, Table 1 for max and min, if it doesn’t find anything will go to table 2 find the two values and populate Table_result_06.
    Thanks so much again for your hep,

  • How can I open my old Apple Works 6 documents now that I have OS X 10.7.2 and iWork 4.1 (pages '09)

    I have a lot of Apple Works 6 documents that I can not open now that I Have OS X 10.7.2 and iWork 4.1 (Pages'09).  How can I open and convert those documents.  I really need those documents.

    Pages '09 (4.1) should have no problem opening your AW6 word processing documents.
    You can open an AW6 wp file in Pages by -
    • Do a Get Info on the AW6 file, then choose Pages from the Open With pulldown menu. Close the Get Info window, then double-click the AW6 file. If you want to do this to all of them, befoe closing the Get Info window click the "Change all" button just under the previous pulldown menu.
    • Start up Pages, use the Open item in the File menu to navigate to and open the AW6 file.
    • Drop the AW6 file onto the icon for Pages.

  • Pages demo expired, how can i open or convert what i made in pages?

    i have searched the forums! no luck with this one....
    I have a bunch of pages documents that i created with the demo. I don't like pages. How can i open these pages documents with pages? is there a way to convert them? open with some other application?
    This is kink of a rude effect from using a demo, there should be a way to open without pages.

    I want to open these documents into something to rescue the content, no care for formatting. NOT an unusual request to be able to open a document of any kind with a text editor! But Apple apparently has everyone convinced that i should not be able to port or open with another application! This is more like a Microsoft tactic then one i would see from Apple.
    The reason for a limited-time trial is check out the new to-die-for features, not to have ones work, thoughts, etc locked into something i have to pay for to rescue. (30 days is a joke, should be 90)
    Your not considering the reason for my question, I do not want to use PAGES!
    There should be a waring when closing or opening Pages during demo mode, that stats that when this demo expires, I will not be able to access my work. I do not remember seeing anything like this, i may be incorrect...
    This question remains unanswered.

  • How can i open the plugins from the channel strip. I can't open it

    How can i open the plugins from the channel strip. I can't open it. Here's the vid detailing it www.youtube.com/watch?v=NkR04dHjUiI
    www.youtube.com/watch?v=GW9AwMITcoM
    Thanks for your help.

    From the online Help menu search on     Opening Plug
    Chose the help that starts with:   Opening, Closing, Resizing
    Read it.

  • How can I open Adobe Bridge CS6 in high resolution on my MacBook Pro Retina display?

    How can I open Adobe Bridge CS6 in high resolution on my MacBook Pro Retina display? When I click Get Info, the "Open in Low Resolution" box is marked and locked. How can I unmark this box? I currently run 10.9.1. I can open Adobe Photoshop CS6 in high resolution without any problem. Any advice would be much appreciated. Thanks.

    There is no such thing. In CS6 only PS itself is Retina compatible. You would have to use CC for full Retina support.
    Mylenium

  • How can i open file from adobe reader..i already have adobe read

    how can i open file from adobe reader..i already have adobe reader installed and cannot open a
    file and i cannot convert my file into pdf..

    Is the file really a PDF? Where is it? Have you tried opening it from within Reader?

  • HT202879 how can I open a Word document in Pages 09?

    How can I open a Word document using Pages 09 please? I am trying to open Word documents from a CD using both trying to open in Pages, nd dragging and dropping into the Pages icon in the dock. It tells me, every time, thast the document cannot be opened.

    What happens if you open it in TextEdit or LibreOffice [free]?
    Does it open where you got it from?
    Peter

  • How can I open a second window in iTunes?

    When I see some albums in the the iTunes Store I want to check whether I have some of the songs already. The Search function in the Store only refers to the store and not to my Library. So how can I open a second window in iTunes (one with the Store and one with my Library) to make it easier to compare?
    Thanks

    My understanding it that was removed from iTunes recently (I still run iTunes 7.5 from 2007), so no, not unless you downgrade iTunes (which is not easy).  You can send feedback to Apple about reinstating it but I have yet to see Apple reinstate something that appeared to have been deliberately removed from its software, despite vociferous complaints on this forum.
    http://www.apple.com/feedback/itunesapp.html

  • How can I open a cc2014 file in my cs6 version of Indesign ?

    How can I open a cc2014 file in my cs6 version of Indesign ?
    I have several files that has been saved in a cc2014 version and I can't open them in my CS6 version of Indesign.
    I don t have access to anyone who have the cc 2014 version to convert the file.
    How can I do it from my cs6 version?
    THANKS!

    You can't do it from CS6.
    You have to export to IDML from InDesign CC2014 (or whatever the version it was created in) and then open the IDML in the earlier versoin of InDesign.
    All explained in the FAQ on the main forum page.

  • How can I open a project made in 2000 on Final Cut Pro to migrate it to a new version?

    how can I open a project made in late 2000 on Final Cut Pro to migrate it to a new version to finish editing it? files, timeline and unfinished edit are all stored on hard drive since early 2001, with all the original miniDV tapes still in hand

    Do you still have legacy FCP? If you not you need to find someone who will open the project in FCP6.0.6 or later. Export an XML file of the project. Use 7toX to convert it to an XML format that works with FCPX. Import the converted XML file to FCP.

  • How can I open a PDF into an iBooks folder other than PDF folder?

    How can I open a PDF directly into a folder in iBooks other than the PDF folder?  I have different folders made and am currently having to open into the PDF folder and then move to the correct folder. Can I open directly into the needed folder? 

    No, I don't think so. The pdf isn't capable of knowing which folder you would like it to open in – all it knows is that it is a pdf. It's up to you to put it in the appropariate folder.

Maybe you are looking for

  • Uncaught exception when I update window

    Hi All, I want to show a progress bar while executing script. and i am using the following code for that: var win = new Window("palette", "SnpCreateProgressBar", [150, 150, 600, 260]); win.pnl = win.add("panel", [10, 10, 440, 100], "Script Progress")

  • How to include multiple tabs in my show form

    Hi As per my requirement I want to include multiple tabs in my show form using xmlform builder , different tabs are required to display the news under different categories which will help the user to choose the required tab. Thanks in advance.

  • Ipod ejects while syncing with ITunes

    Every time I plug in my IPod to my computer it says it's syncing and I can see it coping files over but after a while my open screen changes from "Do Not Disconnect" to the Regular IPod Main Menu screen and then eventually it goes into sleep mode and

  • Terminology: SOA Suite

    Gurus, I have very stupid and base level questions.. But it's been itching my mind for quite sometime now. Kindly help me get rid of the confusion: 1) When I say SOA Suite means it's a group of technologies: 1) BPEL (BPEL PM, JDev, BPEL Console ) 2)

  • 4 D-lights on all the time, Brand new CPU & MOBO today!!!!!

    Hi all newbie here, i have been lurking here for a while, which helped me make my mind up what board to get. I just didnt think i would be posting this soon   I hope somebody here can help me, im well pissed off!! I have just built my system after bu