Jump to content

How to increase the data query speed


55143681

Recommended Posts

On 3/15/2019 at 8:24 AM, 55143681 said:

In my project,I use UniQuery to query a table,when I set UniDBGrid's rows to 100,sometime it works abnormal,it does not give me all the data fastly,how to finish that?

How many columns are in the grid?

Have you tried to get the execution time of a query outside of UniGUI?

Link to comment
Share on other sites

On 3/16/2019 at 11:06 PM, Sherzod said:

How many columns are in the grid?

Have you tried to get the execution time of a query outside of UniGUI?

about 20 columns,the speed is very fast,but the result is abnormal,sometimes return 50 and sometimes return 80 and sometimes run normally

Link to comment
Share on other sites

Speed of a query depends of a lot of things and I think the last one is UniGui.

Run and optimize the query first from the administration console of the db server,

Some DB engines load only a no of pages in memory and retrieve the rest only on demand.

Try to check the processor load with users on if you can.

That's only a few of the thing that can go wrong.

In my case with 60 users connected and on a table in excess of  100 milion records

an indexed search "paints"  a result set of 216 records in less than 3 sec. So figure.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...