Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

List Control Loading online for 2000 Records

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    List Control Loading online for 2000 Records

    This is a survey on how many seconds it takes to load a 2,000 records in a list control , the List is paginated with 20
    and List Virtualization is Dynamic with a size of 20. On my end it takes 8 sec with 10MBPS internet. Is this acceptable?
    Thanks!

    #2
    Re: List Control Loading online for 2000 Records

    There are a lot more variables to consider here that you haven't mentioned. I just now created a list that pulls the top 2000 records from one of my tables (only four columns). The list is populated with all 2000 almost instantly in working preview. I didn't use paginated or virtualization in my test.

    What other controls are on this UX?

    How many columns? I've seen people setup a list with SELECT * FROM MYTABLE but only use a few columns in the layout. That will kill the loading speed.

    Are you able to post a sample?
    Mike Brown - Contact Me
    Programmatic Technologies, LLC
    Programmatic-Technologies.com
    Independent Developer & Consultant​​

    Comment


      #3
      Re: List Control Loading online for 2000 Records

      Originally posted by JetLi View Post
      This is a survey on how many seconds it takes to load a 2,000 records in a list control , the List is paginated with 20
      and List Virtualization is Dynamic with a size of 20. On my end it takes 8 sec with 10MBPS internet. Is this acceptable?
      Thanks!
      You should become familiar with Data Pagination and List Virualization.

      https://www.alphasoftware.com/docume...tion/index.xml

      https://www.alphasoftware.com/docume...tion/index.xml

      The way you've framed your question with regard to these 2 features of the List control makes no sense. And the settings you've chosen for each feature make no sense.

      The 2 features used together would be a very fine balance between Server callbacks and device rendering.

      Your 8 seconds cannot represent 2,000 records... that's impossible.

      Data Pagination is server-side. It's how many records are retrieved from the server... at a time.

      List Virtualization is client-side. It's how many rows are rendered into the DOM at one time.

      So... when the List is first displayed... and using your settings... you're retrieving 20 records... and showing 20 records. You will not have 2,000 records to work with until you physically page through your List, retrieving 20 records at a time from the server, until all 2,000 records have been retrieved.

      A better test for this is to set Data Pagination at 50 records and List Virtualization at 20 records. Here you'll get 50 records from the Server but only show 20 at a time. Using the default "Text" for each setting, after getting the first 50 records, you'll see "Next" after you've scrolled through 20 records... which means show the next 20 records. After you've paged through 50 records the List message with then be "More records..." which means that records need to be retrieved from the Server.

      With your settings you're retrieving 20 records at a time from the server... and showing 20 records at a time. Every time you want to page forward to show another 20 records... your List will have to first retrieve 20 records. I don't think you could have a worse combination of settings... or force the List to do harder work.
      Last edited by Davidk; 12-09-2017, 01:57 PM.

      Comment


        #4
        Re: List Control Loading online for 2000 Records

        In complete agreement - there's no way that should take 8 seconds - even with a callback of 20 records everytime you want to advance to the next set. Definitely, it is NOT the record retrieval unless your server is on dial-up. I would start looking at what is being rendered - along with the query itself as suggested by Mike don't call everything then just use 5 fields in the component. If this compenent uses a lot of panels, consider pre-rendering - that will speed up things for sure, then look at what is necessary for the record manipulation - cut the fat. If you do NOT need a container, get rid of it.
        NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

        Comment


          #5
          Re: List Control Loading online for 2000 Records

          I agree that 2000 records should not take so long. I have a list with 34,000 records using the suggestions above, it appears in about 2 seconds.
          Pat Bremkamp
          MindKicks Consulting

          Comment


            #6
            Re: List Control Loading online for 2000 Records

            Pat... do you have a List Control rendering 34,000 records? Or do you have a List that has access to a table which contains 34,000 records... and the List renders a small number of rows?

            Comment


              #7
              Re: List Control Loading online for 2000 Records

              That must be a small table...
              NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

              Comment


                #8
                Re: List Control Loading online for 2000 Records

                I have 9,430 records currently and the list loads in under 2 seconds. List is paginated for 50 records using autofetchmore. No List virtualization.
                Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

                Comment


                  #9
                  Re: List Control Loading online for 2000 Records

                  Stephen... that means you have 9,430 records in your table... and you're retrieving 50 records at a time... is that right?

                  So that's a List with 50 rows in 2 seconds... sounds right.

                  Comment


                    #10
                    Re: List Control Loading online for 2000 Records

                    Originally posted by Davidk View Post
                    Stephen... that means you have 9,430 records in your table... and you're retrieving 50 records at a time... is that right?

                    So that's a List with 50 rows in 2 seconds... sounds right.
                    David, yes that is exactly right!
                    Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

                    Comment


                      #11
                      Re: List Control Loading online for 2000 Records

                      The list is paginated to 150 records. In use it is usually filtered. And, I did all the normal things like making sure there is an index on the table and a select statement that pulls just the fields I need.
                      Pat Bremkamp
                      MindKicks Consulting

                      Comment


                        #12
                        Re: List Control Loading online for 2000 Records

                        So that's 150 retrieved records... and do you have virtualization turned on as well?

                        Is it 150 retrieved and rendered rows in 2 seconds? Or is it 150 retrieved records and n rendered rows in 2 seconds?

                        Comment

                        Working...
                        X