Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8402151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:58:36+00:00 2026-06-09T21:58:36+00:00

StreamInsight TumblingWindow will it fire off if there’s no event? All examples I have

  • 0

StreamInsight TumblingWindow will it fire off if there’s no event?

All examples I have seen like the one here, always have an event inside each window: http://sqlblog.com/blogs/stream_insight/archive/2010/12/15/windows-in-streaminsight-hopping-vs-snapshot.aspx

But the question is when there is no event in a particular window, will it fire off?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:58:38+00:00Added an answer on June 9, 2026 at 9:58 pm

    If no event fires inside the window then StreamInsight has no idea the window has passed. StreamInsight has no internal “time” so without something “ticking” it would never know a window has passed or not

    You could build an observable collection that fires every 1 hour and create 10 minute hopping windows. You will not see 6 results.

    void Main(){
    
    var startTime = DateTime.UtcNow;
    
    //Create an arbitrary number of events.
    var source = Application.DefineEnumerable(() => Enumerable.Range(0, 60).Select(i => PointEvent.CreateInsert(startTime.AddHours(i * 1 ), (double)1)));
    var input = source.ToStreamable(AdvanceTimeSettings.StrictlyIncreasingStartTime);
    
    //Create a tumbling window that is 10 seconds wide
    var query = from i in input.TumblingWindow(TimeSpan.FromSeconds(10))
        select i.Count();
    
    query.Dump();
    

    }

    Snapshot windows are slightly different in that they fire because of events rather than fixed time windows.

    Does that help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Microsoft's Complex Event Processing (CEP) offering StreamInsight was released in tandem with SQL Server
Can any one help me out in implementing streamInsight application using IObservable/IObserver Model. Im
Streaminsight was released as part of SQL Server R2, kind of a strange departure
In setting up a simple streaminsight app, I am running into the issue where
I'm developing an algorithmic trading application using complex event processing and I'm looking into
Are there any CEP Engine/Platforms that works friendly with .Net (ie, it has .Net
Is anyone currently using StreamInsight (other than just demoing)? If so, how is it
What does PI in OSIsoft's 'PI System' stand for? I can't tell if it
I've been struggling to try and get Data Services to work with the new
I am creating a message-based architecture that currently uses polling clients to retrieve messages.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.