New sessions every time an sql statement is issued

Hi, I have a problem with using oraoledb (v 10.1.0) with VB6 accessing an Oracle database 9i (v 9.2.0.6). Every time an sql statement is issued in the client side, a new session is started in the server side (seen in Enterprise Manager). I don´'t know why. Is an oraoledb parameter or a database parameter? How can I avoid this? The big problem behind this behaviour is controling row locking. If I issue a "select field from table where conditions for update nowait(or wait n)", this creates a lock that belongs to a session. If a few sentences after I issue an "update the-same-table set the-same-field = value where the-same-condition" as this one creates a new session, an ORA-00054 is raised telling the row(s) is blocked.
any idea?
thanks

I'm a DBA and I encountered the same problem with a system developed for our company. We reported that to the company that developed the application and they sey then close the conections, but they remain in the database.
Could anyone find a solution for this? I believe is a problem in the VB code, but I do not know anything from VB.
thanks,
Lisandro

Similar Messages

  • MyiMac wont let me open DVD Player. It's brand new. Every time i put a dvd in it says 'dvd player quit unexpectidly'. what do i do?

    MyiMac wont let me open DVD Player. It's brand new. Every time i put a dvd in it says 'dvd player quit unexpectidly'. what do i do?

    Same here on a brand new 13" Macbook Pro (Mid 2012) running Mountain Lion. DVDs play fine using VLC media player but not the default player that comes with Mountain Lion. Will visit my Apple store next week.

  • HT1692 I use an iPhone 5, and want to sync my phone calendar and contacts with Outlook 7 calendar and contacts; twpo problems--I now get dozens of new calendars every time, and my calendar will not syncd at all.; meaning that date entries on Outlook do no

    I use an iPhone 5, and want to sync my phone calendar and contacts with Outlook 7 calendar and contacts; two problems--I now get dozens of new calendars every time, and my outlook calendar will not sync at all.; meaning that date entries on Outlook do not come across ot iPhone.

    It is unusual for the calendar to sync and not the contacts in Outlook. I've worked with Outlook for years. You didn't answer what computer OS you are using. If it is Windows, have you tried to reset the sync history in iTunes? Do that by opening iTunes, go to Edit>Preferences>Devices and click on reset sync history. If you have done this and it doesn't help, then we can try and run scanpst.exe on your Outlook file and see if there are any errors. Search your computer for that file, however it normally resides in one of the Microsoft Office folders in the folder Program files. After that, you can see if it will sync.

  • Is it possible to configure Firefox for Android so it doesn;t open a new tab every time a new url is sent to the browser?

    We are using a web based service to register people's mood when they touch an NFC card against the tablet. Every time someone taps their card against it, it open up a new tab, and they then register the mood they are in.
    We recently got to a situation where we had 150 tabs open which gives us concerns that at some point the tablet could just slow to a crawl or fall over.
    The tablet is unmanned and so closing the tabs after every entry manually is not an option either.
    Ideally we would like the browser not to open a new tab every time. Is this possible?
    Thanks a lot

    You should ask this on https://mail.mozilla.org/listinfo/mobile-firefox-dev instead of a end user forum. It may require building a custom APK of Firefox.

  • I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    I need to just double click on every folder and have it open in a new window every time, as before. Can I do that?

    Finder -> Preferences -> General -> uncheck "Open folders in tabs instead of new windows"

  • I have Mozilla Firefox installed, w/. my Home Page setup to be opened on It every time. I can open a new window on It too, but when I open a new tab, every time open this new tab w/. Untitled Page. I wanna It opening w/. my Home Page.

    I have Mozilla Firefox installed, w/. my Home Page setup to be opened on It every time. I can open a new window on It too, but when I open a new tab, every time open this new tab w/. Untitled Page. I wanna It opening w/. my Home Page.

    Firefox is coded to open new tabs in a blank page. That may change in Firefox 4. I don't know.
    In the meantime, there is an add-on called Tab Mix Plus that I think provides that option. https://addons.mozilla.org/en-US/firefox/addon/1122/

  • Safari keeps opening a new tab every time I click. How do I stop this? I am currently using OS X Yosemite 10.10.1

    Safari keeps opening a new tab every time I click. How do I stop this? I am currently using OS X Yosemite 10.10.1

    Can you please run EtreCheck:  https://discussions.apple.com/docs/DOC-6173
    and post the report here?

  • My macbookpro opens new tabs every time i click a link and opens to mackeeper

    my macbookpro opens new tabs every time I click any link and it opens to a page thats always something about speeding up my mac or cleaning my mac.. this is annoying and i just wanna see how can i stop this or if theres any program to clean my mac?

    Click here and follow the instructions, or if desired, run Adware Medic.
    (114741)

  • Time Consuming SQL Statements

    Hi All
    I am working on Performance Tuning on Oracle 10g/ Solaris environment.
    I am looking for a shell script that gives top 10 Time Consuming SQL Statements...... My client does not want me to use statspack or OEM for somereasons which i dont know.
    I am wondering if any of you might help me out ....
    Please post your script here ...........
    thanks in advance
    riah

    Hi,
    might be the script from Steve Adams site gives you some ideas
    -- Script:     expensive_sql.sql
    -- Purpose:     to find expensive sql that may need tuning
    -- Copyright:     (c) 2000 Ixora Pty Ltd
    -- Author:     Steve Adams
    @save_sqlplus_settings
    prompt This script shows SQL statement that account for more than
    prompt a certain percentage of disk reads.
    prompt
    @accept Percent "Threshold percentage of disk reads" 2.5
    column executes format 9999999
    break on load on executes
    select
    substr(
    to_char(
    100 * s.disk_reads / t.total_disk_reads,
    '99.00'
    2
    ) ||
    '%' load,
    s.executions executes,
    p.sql_text
    from
    ( select sum(disk_reads) total_disk_reads from sys.v_$sql ) t,
    sys.v_$sql s,
    sys.v_$sqltext p
    where
    (100 * s.disk_reads / t.total_disk_reads > &Percent)
    and s.disk_reads > 50 * s.executions and
    p.address = s.address
    order by
    1, s.address, p.piece
    undefine Percent
    @restore_sqlplus_settings
    Hope this helps,
    Andrey

  • Why does stuffit open and create a new folder every time I save a pages document?

    Why does stuffit open and create a new folder every time I save a pages document?

    Because you are saving it to the desktop, Pages documents are actually zipped files and Stuffit is set to uncompress desktop files.
    Either don't save to the desktop (bad practice) or check the preferences in Stuffit to see if you can turn off unstuff files on desktop.
    Peter

  • Why does Safari forget my Facebook password or end my Facebook session every time I sign in to Skype? And how do I make it stop?

    Why does Safari forget my Facebook password or end my Facebook session every time I sign in to Skype? And how do I make it stop?

    If you go into Facebook settings, in the app section under your account, and delete the skype from your facebook apps, it appears to fix this issue.

  • HT3819 I'd like to find out why I have to create a new password every time I update apps.

    I'd like to find out why I have to create a new password every time I update

    Exactly what message appears?

  • Aperture creates a new version every time i apply a new adjustment!!!

    1.5.6. is my aperture version. and recently it started to create a new version every time i apply a new adjustment. It's not the biggest bother for a couple of images, but for documenting a whole event with 300 images...well that might be a... mighty issue! How do I get this to stop? Any ideas?

    Preferences->General->Create new versions when making adjustments.
    Uncheck it

  • Firefox opens the old browsing window (previous session) every time i try and open a new window, how do I change this back?

    Every time I go to open a new window, the old one will come up instead. For a while it was working fine, then I kept needing the old window and would use the 'restore previous session' feature to access this. However, even after I didn't need it anymore (and without me selecting the feature, it would still open the previous session.

    Tools > Options > General > Startup: "When Firefox Starts": "Show my home page" "Show a blank page"
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js [2] and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • How do I make firefox restore previous session every time it crashes?

    I really like the "restore previous session" window that shows up sometimes when firefox crashes, being able to pick and choose which tabs and windows to reopen. My question is are there any add-ons or ways of making it so this happens every time I have to reopen firefox? Right now it only does it occasionally, other times it automatically reopens every tab loading them as I go which makes the process of finding which windows I want and getting back up to speed much lengthier. This is quite an annoyance because you'd think after force quiting firefox would default to this every time, but usually it reopens every tab and I have to try and purposely crash the browser hoping I'll get the "restore previous session" window. Any help with this would be greatly appreciated. Thanks.

    Yes, you can. Firefox will try to automatically restore once. If that fails, then it gives you the screen to choose. To prevent automatic restoration and always go straight to that windows/tabs list, change a setting here:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box in that tab, type or paste '''sessions''' and pause while the list is filtered
    (3) Double-click '''browser.sessionstore.max_resumed_crashes''' and change the 1 to a 0 (a zero) and OK that.
    (4) You can close this tab now.
    Hopefully you won't need to test it any time soon -- if you are crashing a lot, we should try to figure out how to stop that.

Maybe you are looking for