Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1115

Provide a SQL command to turn tracing on/off

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.1, 4.4.0
    • None

    Description

      Provide a SQL command that turns tracing on and off. For example, Oracle has this:

      ALTER SESSION SET sql_trace = true;
      ALTER SESSION SET sql_trace = false;
      

      We might consider allowing the sampling rate to be set as well.

      Attachments

        1. Screen Shot 2014-11-21 at 3.41.41 PM.png
          118 kB
          Jeffrey Zhong
        2. PHOENIX-1115.patch
          15 kB
          Rajeshbabu Chintaguntla
        3. PHOENIX-1115_v2.patch
          17 kB
          Rajeshbabu Chintaguntla
        4. tracing_in_different_rdbms.pdf
          43 kB
          Rajeshbabu Chintaguntla
        5. PHOENIX-1115_v3.patch
          23 kB
          Rajeshbabu Chintaguntla
        6. PHOENIX-1115_v4.patch
          20 kB
          Rajeshbabu Chintaguntla
        7. PHOENIX-1115_v5.patch
          21 kB
          Rajeshbabu Chintaguntla

        Activity

          People

            rajeshbabu Rajeshbabu Chintaguntla
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: