• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Lot of open Oracle statements

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am accessing the Oracle procedure, dynamic sqls to fetch the data from the Oracle 8i database using JDBC for showing the data on the webpage.
From my Oracle Admin, I came to know that the following SQL is causing the problem. If any one has any idea for solving this proble it will be really helpful to me.
SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WHERE PARAMETER ='NLS_DATE_FORMAT'
Thanks & Regards,
Siva Ram
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Um, you didn't state what the problem is, just the query. What does the DBA says is the problem with the query. Is it taking a long time? Does it take up too much IO and slowing your production database down?
What does your DBA suggest, I don't think he would just say this is bad and not give you any suggestions.
Maybe you just keep the connection open and that is what he is complaining about. When you are down reading the data and don't need it anymore make sure you null out the ResultSets and Connections when they are no longer needed.
Mark
reply
    Bookmark Topic Watch Topic
  • New Topic