Loading...

Speed Up your EZWriter Data Source (v19)

Comments

2 comments

  • Justin Rentmeester

    Since EZWriter is only reading data out of USI, use "With (NoLock)" in the FROM statement and on each of the JOINS. This tells EZWriter that since we are not writing to the table there is no reason for the database to put a lock on those records. Example:

    FROM EV200_EVENT_MASTER WITH (NOLOCK)

         INNER JOIN EV130_STATUS_MASTER WITH (NOLOCK) ON

         EV200_EVT_STATUS = EV130_STATUS_CODE

    This has helped some of my reports going from timing out to displaying right away.

     

  • Stephan Froden

    Thanks Justin, that is indeed a great tip.  If you have any further tips, please do not hesitate to include them in the comments.

Please sign in to leave a comment.