We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    chatgpt image jul 21, 2026, 04 34 30 pm
    4 Core Benefits of Predictive Maintenance after Vibration Analysis
    10 Min Read
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results -- AI-generated illustration
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results
    11 Min Read
    chatgpt image jul 13, 2026, 04 23 45 pm
    How Data Analytics Helps Companies Improve User Engagement
    19 Min Read
    chatgpt image jul 13, 2026, 03 59 46 pm
    How Data Analytics Improves Multi-Location Search Strategies
    10 Min Read
    cybersecurity efforts
    How Behavioral Analytics and AI Are Redefining Cybersecurity for Boca Raton Businesses
    14 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: The problem with the RDBMS (Part 3) – Let’s Get Real
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Mining > The problem with the RDBMS (Part 3) – Let’s Get Real
Business IntelligenceData Mining

The problem with the RDBMS (Part 3) – Let’s Get Real

TonyBain
TonyBain
11 Min Read
The problem with the RDBMS (Part 3) – Let's Get Real
Illustration generated with Qwen Image.
SHARE

Image by ToniVC via Flickr

Contents
  • The Problem with the RDBMS
  • Real time & Efficiency
  • So What to Do?
  • Introduction
  • The Problem with the Relational Database (Part 1 ) –The Deployment Model
  • The Problem with the Relational Database (Part 2) – Predictability
  • The two primary trends in data management that have been happening for as long as I can remember are:

    1. The expectations of the volume of data we are can produce and consume is growing rapidly
    2. The expected delay between data production and consumption are decreasing rapidly

    We have seen ‘typical’ data volumes of databases grow from MB through GB to a point currently where TB databases are common, and PB databases are the “big guys”.   But at the same time we have seen the expectations around the timeliness of response from these databases also change.  What used to be a monthly report became a weekly, then a daily and finally it is not uncommon to have near real-time expectations for databases in terms of data retrieval and analysis.  We have been on a continual path towards the point where data is consumed at the same moment in which it is created, either in raw form or in an aggregated or otherwise processed state. 

    At the other end of the application stack, our ability to move more data around faster has led to new styles of applications that provide users near immediate access to data as it is created.  Popular consumer web examples of such applications include Facebook, Twitter, Friend Feed etc.

    More Read

    For E.piphany (Infor), It’s Back to the Future
    For E.piphany (Infor), It’s Back to the Future
    Why Business Intelligence and Design Theory Must Merge
    Understanding the Tremendous Benefits of IoT for Small Businesses
    Harvard Gets Access to Twitter Data Stream to Predict Foodborne Illness Outbreaks
    How Savvy Marketers Transform “Big Consumer Data” into Customer Wins

    But at the moment these applications aren’t real time, they are near real time.  This means there is a delay of some form between data creation and consumption.  These delays may be very short or several minutes depending on the particular application and its current workload.  These delays may seem irrelevant for the above mentioned apps, but the difference between “near real-time” and “real-time” can have a significant impact on the application functionality.  I am sure we have all been frustrated when checking in at the airport and choosing a seat, only to get the “sorry that seat is no longer available” once you click the ok button for your selection for example.

    The Problem with the RDBMS

    The problem with the traditional RDBMS is that it is not a real time system.  It is poll based.  This means a query is constructed, submitted and the results are returned to the application.  This itself may happen very quickly, maybe only a few ms to execute and receive a resultset.  However the problem is of course, the data is only “valid” for the exact moment when the query was executed.  From that moment onwards the data becomes stale and numerous changes could be happening on the data within the RDBMS while the extracted resultset is processed.

    NOTE: Yes I am aware that the disconnected approach is modern and a server side cursor approach used to be common.  We moved away from server side results processing for scalability purposes, but regardless even with server side resultset processing you weren’t automatically updated with the data changed.

    Using my example above, while I am deciding if I want a window or an isle or if it is better to have a middle seat at the front of the plane or an isle at the back, the underlying data set could be receiving numerous updates.  When I finally make my selection the dataset could be completely invalid requiring me to start the whole process again.

    While this is a very simplistic example, the issue here is the trend towards real-time in the user experience layer is not supported by the current interfacing mechanisms to a RDBMS.  While we are seeing AJAX etc being used to provide an interface which can update data in real time, underneath likely that data is still being collected from polled queries running intermittently.

    Real time & Efficiency

    One solution to this problem may be simply to run our polling cycles are such a high rate that the difference between real-time and near real-time becomes indistinguishable.  This is possible but of course, it comes at a high cost in terms of impact on scalability.

    Let me use a fictitious example to highlight this.  Imagine a Twitter like messaging system.  This system is to provide a real time like experience to their users so they set a 2 second polling cycle for all client update queries.

    For the purpose of this example, let us assume that we have 1 million users.  Those 1 million users have a different usage profiles, for this example let us assume that:

    • 50% of users get 1 message a day
    • 20% of users get 10 messages a day
    • 15% of users get 30 messages a day
    • 10% of users get 200 messages a day
    • 4% of users get 1000 messages a day
    • 1% of users get 5000 messages a day

    Ok, a couple more assumptions:

    • To poll and retrieve an empty poll requires 5 “resources” (CPU, DISK, NETWORK)
    • To poll and retrieve a message empty poll requires 50 “resources” (CPU, DISK, NETWORK)

    Now let’s compare a system which polls the database every 2 seconds with an alternative system in which messages are pushed from the database on creation to the client on creation.

    % User BaseReplies per dayPoll ResourcesPush ResourcesPush % of Poll
    501108025000000250000000.0%
    2010433000000001000000000.2%
    1530326250000002250000000.7%
    102002260000000010000000004.4%
    4100010640000000200000000018.8%
    150004660000000250000000053.6%
    100 22185000000058500000002.6%

    With the above distributions we would see that a 2 second poll time would have a resource requirement equal to 38x a push based database.  This huge overhead is obviously going to be a major overhead and a significant limitation to the upper level of scalability possible.

    So What to Do?

    I will really address the resolution path for the limitations of the RDBMS when I complete this series in my summing up post.  However specific to this issue, there are a couple of things happening which you should be aware of.

    Firstly, traditional RDBMS vendors are trying to shoehorn some form of push based results notifications into existing database platforms.  For example, SQL Server 2005 and above has query notifications and Oracle & MySQL has something similar (please post in the comments).  Current implementations are rudimentary and not suitable for large scale deployment (meant more as a global cache “refresh” event than a user specific resultset update).

    Also to watch, there are a couple of startups which have identified the real-time trend that is happening in Silicon Valley, and have also identified that existing RDBMS’s aren’t going to be able to fulfill this trend in current form.  They are focusing on re-architecting the RDBMS to be push rather than pull based.  GroovyCorp with their SQL Switch product is an organization that I have been speaking to recently.  Groovy is the furthest down this particular road that I am aware of, with a real-time push based RDBMS being launched next month.
     

    Related articles by Zemanta
    • The New FriendFeed: Real-Time, Direct Messages, Better Filters (readwriteweb.com)
    • The race to real-time search (technologyquestions.com)
    • Facebook: We’re Doing It Live, Sort Of (techcrunch.com)

    Link to original post 

    Share This Article
    Facebook Pinterest LinkedIn
    Share

    Follow us on Facebook

    Latest News

    Illustration of mobile analytics dashboards with ad performance charts connected to backend databases
    11 Best Sisense Alternatives for Embedded Analytics
    Business Intelligence Exclusive
    Analyst points at colorful circular data dashboard on screen - information technology business metrics
    How Fragmented Workplace Tech Undermines Reliable Business Metrics and Reporting
    Cloud Computing Exclusive Infographic IT
    Using Multi-Source Data and Analytics to Detect Operational Drift Across Franchise Networks -- AI-generated illustration
    Using Multi-Source Data and Analytics to Detect Operational Drift Across Franchise Networks
    Exclusive Infographic
    Beyond The First Impression: The Long-Lasting Impact Of Sensory Marketing -- AI-generated illustration
    Beyond The First Impression: The Long-Lasting Impact Of Sensory Marketing
    Infographic Marketing

    Stay Connected

    1.2KFollowersLike
    33.7KFollowersFollow
    222FollowersPin

    You Might also Like

    When Performance Metrics Attack: Complete, Agile BI Requires Going Beyond Just the Numbers
    AnalyticsBusiness IntelligenceData WarehousingKnowledge ManagementSentiment AnalyticsSocial Media AnalyticsText AnalyticsUnstructured Data

    When Performance Metrics Attack: Complete, Agile BI Requires Going Beyond Just the Numbers

    10 Min Read
    Big Data Enabled CRM - Is It The Future Of CRM Software?
    Software

    Big Data Enabled CRM – Is It The Future Of CRM Software?

    7 Min Read
    Listening In: Big Ideas About Big Data
    AnalyticsBest PracticesCommentaryData MiningData WarehousingPolicy and GovernancePredictive Analytics

    Listening In: Big Ideas About Big Data

    4 Min Read
    Why Context Matters - Forget Real-Time, Achieve Right-Time
    AnalyticsBest PracticesBig DataBusiness IntelligenceBusiness RulesCulture/LeadershipData MiningSentiment AnalyticsSocial DataSocial Media AnalyticsText AnalyticsUnstructured DataWeb Analytics

    Why Context Matters – Forget Real-Time, Achieve Right-Time

    9 Min Read

    SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

    5 Great Tips for Using Data Analytics for Website UX
    5 Great Tips for Using Data Analytics for Website UX
    Big Data
    Artificial Intelligence for eCommerce: A Closer Look
    Artificial Intelligence for eCommerce: A Closer Look
    Artificial Intelligence

    Quick Link

    • About
    • Contact
    • Privacy
    Follow US
    © 2008-26 SmartData Collective. All Rights Reserved.
    Welcome Back!

    Sign in to your account

    Username or Email Address
    Password

    Lost your password?