cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

SQL for mashups - optimalisation

ZbigniewK
9-Granite

SQL for mashups - optimalisation

I have project where I need to take a lot of labels for mashup from SQL.

First, there are configuration mashups to create questions and their config.

Then, there is mashup where customer chooses their setting, and radio buttons with questions depending on his are presented.
I use for this radio buttons, and connect labels with reading text from SQL querry. Unfortunatelly, it means ca hundred SQL calls to read every data for every label. It takes time, >20 secs. 
And I'm looking for something more optimised, where I would call ONE SQL querry to read data, then split data from it to every label. Thought about storing whole SQL querry in some infotable inside properties of Thing, then services could read this data - but if two users will be working simultaneously, it can happen there will happen that infotable will be set with data for user A, then for user B, then both will use data of user B - so user A will have wrong datas.

0 REPLIES 0
Top Tags