Invoke a Tableau dataset refresh from a SQL Agent Job

  • Hello, we have a nightly SQL Agent Job that refreshes our database on SQL Server 2016 Server. We also have a tablue timer that begins refreshing a Tableau dataset but when the Tableau starts its dataset refresh before our SQL Agent job completes it slows down our nightly SQL Agent job. Is there a way to start the tableau refresh from the SQL Agent job?

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • I know almost nothing of Tableau, so just a couple of thought-provoking ideas.

    1. Couldn't you have the Tableau Timer check to see if an "ItsDone.txt" file contains a certain file that the SQL Server Restore job pushes out somewhere?  Or, may have Tableau read similar from a table that the SQL Server Restore job creates?
    2. Does Tableau have a CLI that the SQL Server Job could fire off a command on?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • You should be able to build a .bat file based on the following help page:

    https://help.tableau.com/current/online/en-us/to_refresh_extract_commandline.htm

  • This was removed by the editor as SPAM

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply