Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    12

    Unanswered: dba interview question

    hello,

    if a developer is executing a query and complains to a dba that its slow, where exactly does the dba checks and what can the dba do to help the user?

    thanks in advance

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    ask for an EXPLAIN_PLAN for the "slow" query
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    May 2003
    Posts
    369

    V$session

    Also may help to look at what sessions are running and detect the associated query with a particular user and session. Query the V$SESSION tables.

    HTP

    Scott

  4. #4
    Join Date
    Jul 2003
    Posts
    2,296
    bah! the developer deleted the view! It's obvious! They do those kinds
    of crazy things to drive us DBAs bonkers! Then the developer tried to
    recreate the index, but forgot to analyze the table! THEN, they created
    their own deadlock by trying to update two tables from two different
    sessions simultaneously!

    crazy developers ...
    - The_Duck
    you can lead someone to something but they will never learn anything ...

  5. #5
    Join Date
    Jan 2004
    Posts
    12
    Thanks everybody for the answers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •