Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to have trigger and pagination at same time to refresh data from Dataminer?

232 views27th January 2025#automationscript GQI LCA
2
Apurva Tandon [DevOps Advocate]1.61K 24th January 2025 0 Comments

We have a monitoring app, which needs to have almost real-time updates if any parameter value is changed

1) We have used pagination to iterate on services and on elements to get data but I feel the LCA still waits until it has all data, rather it should get a set of page data and return to LCA without waiting for all (It should be like facebook lazy load).

2) If we use trigger I suspect it will whole GQI script again and then pagination thing will hamper.

3) How to handle multiple users at same time so that dataminer doesnt go slow to retrieve the information.

Ronald Gerard [SLC] [DevOps Advocate] Answered question 27th January 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Ronald Gerard [SLC] [DevOps Advocate]1.73K Posted 27th January 2025 0 Comments

Hi Apurva,

To answer your points:

  1. Depending on the visualization, the LCA framework determines how much rows it needs. For a table component, the number of rows will be limited and lazy loaded as you describe, but there is always a minimum initial load.
    For example, if the LCA needs at least 100 rows it will fetch the next page of the query until it has at least that much rows.
    So if you have an ad hoc data source that returns 200 rows per page, the GetNextPage method would be called once for the initial load. If the ad hoc data source returns 10 rows per page, the GetNextPage method will be called 10 times.
    You can verify the behavior by adding some logging in the data source. Let us know if the observed behavior differs.
  2. Yes, if your retrigger e.g. a table using a trigger component, the query will be executed from scratch again, independent of how many pages were previously loaded.
  3. This is a very general question without a clear definitive answer that works for all queries and data source. But I can give some tips:
    • Measure timings to discover where performance bottlenecks occur
    • Cache data whenever possible
    • Perform expensive computations/aggregations asynchronously (either using code triggered by the ad hoc data source in GQI or an external script/process)
      For example, in combination with cached data, if a query is executed you can immediately return the cached data while also triggering a background task that updates the cache if its older than 30s or so.
Ronald Gerard [SLC] [DevOps Advocate] Answered question 27th January 2025
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs