Quantcast
Channel: BizTalk Server General Forum
Viewing all articles
Browse latest Browse all 872

LongReferenceData column's data type(NTEXT) of Table Bam_ActivityName_ActiveRelationship in BAMPrimaryImportDB performing very poorly

$
0
0

Hi All ,

I observed at customer place most of the tracking data has been inserted into the Bam_ActivityName_ActiveRelationship for tracking purpose and from there query is being build to execute the various type of reports and SSIS packages are running for other  different tasks.

I observed  SSIS packages and other query which are performed on these tables are  performing very poorly and this become a critical issue there

After analysis I realized LongReferenceData haveNTEXT data type and which is the root cause behind it.

I ran one simple query against it to retrieve only single row in my local VM and it took around 4.5 minute to execute the query however when I changed NTEXT as VARCAR(MAX) , same query has been executed in the 18 sec only.

I notice   NTEXT  data type for column LongReferenceData is automaticity getting created ,

My question is ,

  1. Is any way where these particular data type can be managed  prior to deploy the activity and it will be created as VARCHAR(MAX) to improve the performance.
  2. How same can be changed in production where already data are existing and there are lot activity have been already created

Thanks

KK


Viewing all articles
Browse latest Browse all 872

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>