Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 109419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:03:59+00:00 2026-05-11T02:03:59+00:00

We have a system with an Oracle backend to which we have access (though

  • 0

We have a system with an Oracle backend to which we have access (though possibly not administrative access) and a front end to which we do not have the source code. The database is quite large and not easily understood – we have no documentation. I’m also not particularly knowledgable about Oracle in general.

One aspect of the front end queries the database for a particular set of data and displays it. We have a need to determine what query is being made so that we can replicate and automate it without the front end (e.g. by generating a csv file periodically).

What methods would you use to determine the SQL required to retrieve this set of data?

Currently I’m leaning towards the use of an EeePC, Wireshark and a hub (installing Wireshark on the client machines may not be possible), but I’m curious to hear any other ideas and whether anyone can think of any pitfalls with this particular approach.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:04:00+00:00Added an answer on May 11, 2026 at 2:04 am

    Clearly there are many methods. The one that I find easiest is:

    (1) Connect to the database as SYS or SYSTEM

    (2) Query V$SESSION to identify the database session you are interested in. Record the SID and SERIAL# values.

    (3) Execute the following commands to activate tracing for the session:

    exec sys.dbms_system.set_bool_param_in_session( *sid*, *serial#*, 'timed_statistics', true ) exec sys.dbms_system.set_int_param_in_session( *sid*, *serial#*, 'max_dump_file_size', 2000000000 ) exec sys.dbms_system.set_ev( *sid*, *serial#*, 10046, 5, '' ) 

    (4) Perform some actions in the client app

    (5) Either terminate the database session (e.g. by closing the client) or deactivate tracing ( exec sys.dbms_system.set_ev( sid, serial#, 10046, 0, ” ) )

    (6) Locate the udump folder on the database server. There will be a trace file for the database session showing the statements executed and the bind values used in each execution.

    This method does not require any access to the client machine, which could be a benefit. It does require access to the database server, which may be problematic if you’re not the DBA and they don’t let you onto the machine. Also, identifying the proper session to trace can be difficult if you have many clients or if the client application opens more than one session.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 61k
  • Answers 61k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer It does work. You will have to set up the… May 11, 2026 at 9:54 am
  • added an answer In this article Five Steps to Managing Unstructured Data with… May 11, 2026 at 9:54 am
  • added an answer The closest you could do is something like: SELECT MY_TABLE.*,… May 11, 2026 at 9:54 am

Related Questions

We have a system with an Oracle backend to which we have access (though
We have a system that has a Mysql database with about 2Gigs of data.
We have set up a system where notifications get sent to a user with
We have a system where customers, mainly European enter texts (in UTF-8) that has
We have a deployment system at my office where we can automatically deploy a
We have a ftp system setup to monitor/download from remote ftp servers that are
The scenario: we have a web system that automatically generates office 2003 excel files
At my current job we have a CMS system that is .NET/SQL Server based.
As part of a system I am working on we have put a layer
The company I work for we have a CBT system we have developed. We

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.