Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Schedule a trace file in SQL Profiler

Schedule a trace file in SQL Profiler

Scheduled Pinned Locked Moved Database
databasedebuggingquestion
7 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VK19
    wrote on last edited by
    #1

    Hello All, I am trying to schedule to run a trace file, around 12:30am to 1:00am. Our client is sending us some data, that we need to analyze. With that said, i can see we can set an "Enable Trace stop time", on the file, but not able to find an option to set the begin time? Is there a way we can do this in the SQL Profiler? Thanks!

    Richard DeemingR J 2 Replies Last reply
    0
    • V VK19

      Hello All, I am trying to schedule to run a trace file, around 12:30am to 1:00am. Our client is sending us some data, that we need to analyze. With that said, i can see we can set an "Enable Trace stop time", on the file, but not able to find an option to set the begin time? Is there a way we can do this in the SQL Profiler? Thanks!

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Schedule Traces | Microsoft Docs[^] sp_trace_setstatus (Transact-SQL) | Microsoft Docs[^] How to create a SQL Server trace file, schedule it to run, and analyze the trace file results? | www.handsonsqlserver.com[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      • V VK19

        Hello All, I am trying to schedule to run a trace file, around 12:30am to 1:00am. Our client is sending us some data, that we need to analyze. With that said, i can see we can set an "Enable Trace stop time", on the file, but not able to find an option to set the begin time? Is there a way we can do this in the SQL Profiler? Thanks!

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        VK19 wrote:

        Our client is sending us some data, that we need to analyze.

        Why would you need to schedule this? Is the 'client' putting the data directly into the database?

        V 1 Reply Last reply
        0
        • J jschell

          VK19 wrote:

          Our client is sending us some data, that we need to analyze.

          Why would you need to schedule this? Is the 'client' putting the data directly into the database?

          V Offline
          V Offline
          VK19
          wrote on last edited by
          #4

          Client sends us the data between 12:30am and 1:00am EST.

          J 1 Reply Last reply
          0
          • V VK19

            Client sends us the data between 12:30am and 1:00am EST.

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            Not sure that answers the question. Is the client themselves directly putting data into your database? Or do they send you 'something" (file, stream, etc) which is then processed by your (company) code and that process itself puts the data in the database? Or could be that your code is pulling something from the client, processing it, and then putting it in the database.

            V 1 Reply Last reply
            0
            • J jschell

              Not sure that answers the question. Is the client themselves directly putting data into your database? Or do they send you 'something" (file, stream, etc) which is then processed by your (company) code and that process itself puts the data in the database? Or could be that your code is pulling something from the client, processing it, and then putting it in the database.

              V Offline
              V Offline
              VK19
              wrote on last edited by
              #6

              Sorry - the second option, wherein the client sends us a file, with test cases. Apparently one test case at a time. Our company then processes this test case and inserts into our database. thanks!!

              J 1 Reply Last reply
              0
              • V VK19

                Sorry - the second option, wherein the client sends us a file, with test cases. Apparently one test case at a time. Our company then processes this test case and inserts into our database. thanks!!

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #7

                So then you can do the following 1. Keep the file 2.During the day run the same process/processes on that in a development environment. 3.Profile the applications and turn on tracing every where you can. 4. Analyze the results. 5. Update as needed based on 4 including the possibility of modify the process/processes to provide addition trace data so you can further refine and define future problems.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups