What happens to the report if the underlying stored procedure to execute the report take atleast 3 hrs to run

Hi,
I have a report which is calling a stored procedure..
Stored procedure exceutes 4-5 stored procedure and then returns the count each procedure it ran using union all statement... The stored procedure takes around 3-4 hrs to run because it is looking at quarterly data and YTD data.
So once the report is kicked off and the procedure behind it runs and runs how will communicate to the report to show the final data... the final data will just be 5 rows with counts.
I think we are running into a issue where the stored procedure runs and runs and then the report goes into la la land and has no clue what to do...
Can you please shed some light on this..
Thanks
Karen

Hi Karen,
When we render a report, the report would process the following procedures:
Open connections to data source and reading data rows from data extensions for all datasets, means retrieve data. Then process the engine requests, including the tablix, grouping, sorting, filtering, aggregations and subreport processing, means process report.
Finally, render the report, including the pagination modules and on-demand expression evaluations.
So the report rending has to wait until the stored procedure is executed. To improve the performance, we can consider the three aspects:
Improve the performance of the stored procedures. Such as index and join. For better support, I suggest you can post a new thread about this issue in Transact-SQL forum at:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=transactsql. It is appropriate and more experts will assist you.
Simplify the report. For example, avoid including a reference to [&TotalPages] or any complex expressions in the page header and page footer. For more details, please see the following document:
http://technet.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
Using cashing if you have a long-running query that cannot be tuned further. For more details, please refer to the following article:
http://msdn.microsoft.com/en-us/library/ms159241(v=sql.110).aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • What happens to the while loop iteration counter if it runs unchecked?

    I want to use the iteration counter to initialise a value on the first loop of a while statement. ie i = 0, x = 100. Fine. The application I am building will be left to run for weeks or months on end without stopping (hopefully :¬)). What happens to the iteration counter in this situation? Does it reset to 0 or what? I don't want it reinitialising any values while the loop is running other than when it starts.
    I set up a while loop to try to figure out what happens and the iteration counter stops at 2147483648 which is 2^31 - 1.
    Any help would be appreciated,
    Thanks,
    Niel.

    It might be something you already looked at, but perhaps it's an option to perform the initialization outside (before) the while loop. That way it will be initialized correctly only once, no matter what the iteration counter does.
    Of course if you need the counter for other purposes than initialization you might have the same problem...
    Note that a lot of the timer functions also overflow after a certain time (I believe 24 or 48 days?) so be careful running very long loops (but you already knew that probably).

  • What happens if the seller takes more than 7 days to ship?

    Note: this is a purchase that I made directly with a contact from a forum. It has NOTHING to do with eBay. But I paid with PayPal in a single payment.  So here's a summary of the situation: I met a fan of a TV show on a forum. I agreed to purchase a prop from said show from this person. I paid with PayPal immediately when she told me she was ready to ship. HOWEVER, she took twenty-three (yes 23) days to ship the item. Said item arrived damaged. Does the seller gave up her Seller Protection when she took more than 7 days to ship? Do I still have to return the broken item in a situation like this? Thank you.

    If your iPod Nano is new, you are still under warranty.  Take advantage of before it runs out instead of posting on a message board. 
    U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) 

  • I'm using the great Firefox 5.o. What happened to the "Bookmark All Tabs" feature that used to be found under Bookmarks? I love Mozilla Firefox!!!! :-)

    I've looked under the Bookmarks heading as well as History. What happened to the extremely useful "Bookmark All Tabs". Loved that feature of Firefox. Thank you!!!!!!

    Right-click '''on''' a Tab to see that menu item or use {Ctrl + Shft + D}.
    In conjunction with the new Firefox button in Firefox 4.0 and with the addition of some new features that added a number of new menu items, many of the older menu items were moved around or only appear under certain conditions. It can be a bit confusing until you get used to the changes, but beyond adding new menu items in the future for new features, I don't think there will be major changes like that for awhile.

  • What happened to the "oldies" option on the drop down menu located on iTunes home page under music ?

    What happened to the "Oldies" option on the drop down menu located on iTunes store home page under music ? I can not find songs in search using artist or song name.
    Thank you,   Martin

    Right click on the file and choose Get Info, go to the Options tab, there's a menu there "Media Kind"

  • What happened to the Initial View options under Document Properties??

    What happened to the Initial View options under Document Properties? I just updated my Reader and it's no longer accessible! SOS.

    Hi kga406,
    Please tell me if you are able to access 'initial view' tab in document properties using Acrobat.
    You can change initial view settings only in Acrobat and can view PDFs in Reader with the same initial view as set.
    Regards,
    Anubha

  • What happened to the Blu-Ray option under the Share menu in FCPX 10.0.6?

    what happened to the Blu-Ray option under the Share menu in FCPX 10.0.6? The Share menu is now buriedn on the Fil menu and there's no Blu-Ray option for burning AVCHD to a Standard DVD for play on a Blu-Ray player.

    Select Add Destination. Blu-ray is in the Destinations preferences.

  • VDI3: what happens when the Primary VDI core fails?

    A potential customer asked me this and I did not really know how to answer the question ... sorry if this was asked before. So here we go:
    What happens when and if the Primary VDI core fails? Will the entire VDI3 setup go down? Will running sessions be lost? And how do you fix that?
    I found this page:
    http://wikis.sun.com/display/VDI3/MySQL+Cluster+Reconfiguration+Scenarios
    So I assume the "Non-VDI host ==> Primary Management Host" scenario is what would need to be done?
    http://wikis.sun.com/display/VDI3/MySQL+Cluster+Reconfiguration+Scenarios#MySQLClusterReconfigurationScenarios-NonVdiToPrimary
    If this is correct then this would answer the "how do you fix that?" part. OK then.
    But still I'd welcome if anyone could explain what exactly would happen when and if a Primary VDI core fails. The customer's opinion on this is that they are a "single point of failure" because the Primary VDI host is not redundant (as opposed to the 2 x Secondary VDI cores) ... So, is this assumption correct or not?
    Thanks in advance.

    Hi,
    Assuming you have 3 VDI core hosts. One of them is the primary. And the primary goes down. So what happens then:
    * The underlying database is still running on the remaining hosts
    * All desktop sessions are still running on the remaining hosts
    * New session requests will be handled by the remaining hosts.
    * All desktops are still running on the virtualization hosts.
    So in essence, your VDI cluster is still healthy. The operation is just impacted in this way:
    * You can't add new VDI core hosts
    * You can't change the configuration of the Sun Ray server failover group
    * A failure of another VDI core host (data node) will result into a complete outage of the underlying database
    You should bring up the primary again as soon as possible in order to gain failover capabilities again.
    -Dirk

  • What happened to the option to see all your purchased movies alphabetically?  I can only see recent purchases and then I have to look by movie type.  With over 500 movies purchased this is a huge pain.

    What happened to the option to see all your purchased movies alphabetically?  I can only see recent purchases and then I have to look by movie type.  With over 500 movies purchased, this is a huge pain.  For instance the movie Airport 77 is classified as Drama not action?  But it is action?  I have to look at both types to find the film.  I will stop buying films via AppleTV if this is the way it is going to stay.  I am not searching for films in this crazy manner.

    Same issue here. Might have to do with size of library. I too have over 300 purchased movies. "ALL PURCHASED" folder disappeared yesterday on all my AppleTV's. My son only has 20+ purchased movies and his still shows "ALL" folder. However, I had him log in under my account and "ALL" folder is missing??? I hope Apple gets this resolved quickly. I too do not want to flip through various Genres looking for movies.

  • What happened to the finder sidebar menu?

    I have had to spend sooooo much time trying to locate files that I just closed! What happened to the Finder menu that listed TODAY, PAST WEEK, etc?  It's nervewracking!  I don't want to open the files but upload them.  I don't like that I can't just find them easilyl in the menu format before...... I'm not sure I like this so-called upgrade.... on the iphone it's cool, but on the MAC.. not so sure I like it.

    Under your stuff, you can click on Profile and it'll show your equipment - you can change it there.
    Now, as for the Finder Sidebar, if you go to Finder Preferences and click on Sidebar, it will show everything that can be shown there. Some changes were made in Lion - one of them is "all my files" - I don't need that, so I unchecked it, but you may want to try it to see if that can be useful for you. And, under the Go Menu, you can use Go To Folder. I never used any of the options you've used simply because I've never needed that. Maybe you can arrange/file your stuff by name so it'll be easier to find?

  • After upgrading what happens to the apps on my 3G?

    I just received my iPhone 4 and put my backup from my iPhone 3G on. It works fine, and there is no more AT&T service on my iPhone 3G. I intend to use the 3G as an iPod Touch. I understand the SIM card needs to stay in the phone for this, even though it is not activated with AT&T.
    What happens to the apps that are still on my 3G? They are still working. I assume they will stay there until I need to sync. Then I will have to set up a new iTunes account, under a unique computer user name, for the 3G and buy the apps all over again for the 3G.

    Nope, the apps stay there until you delete them.
    I currently sync 2 iPhones and 2 iPod Touch units all to one iTunes store account, and per the Apple licensing, they all can run apps I have purchased. I had a similar question as you when I first started using multiple devices, so I sent an email to the app author for the app I wanted most to do this with. His response was that this is Apple's terms, so if I didn't want to purchase a second license to use his app on a second device, then I didn't need to (but he wouldn't stop me if I wanted to either). In the end, I found this app author to be very dedicated to his app, and very responsive to my comments/requests, so I did purchase a second copy of his app (yes, I had my wife create an iTunes account and purchase it under her account).

  • My history only shows today. what happened to the yesterday icon?

    I noticed that under history setting I only have today option with calendar icon directly on the left side of it .
    I used to have a yesterday option as well.
    What happened to the yesterday option.
    Did I delete it by mistake?
    Can I reinstall it somehow?
    Please advise.
    Thanks

    If you use cleanup software like CCleaner then check the settings for the Firefox application.

  • What happened to the Audio Books option?

    What happened to the "audio books" option in "music" under the "more" option on the lower left of my iPhone 4s?  I have been syncing downloaded non-iTunes audio books for years without problems - until now. I have read lots of solutions while searching for an answer and none of them have worked. Any ideas? What is Apples official response? Many seem to share this problem.

    1) To see your audiobooks in iTunes, there's a dropdown on the top left to select the Library it's displaying. Use the dropdown to select Books, and it will show them (you can choose Audiobooks, Books, PDFs, etc.)
    2) To see your audio books in the iPad/iPhone -- when you have your iDevice connected to the computer with iTunes check your sync settings to make sure they're correct for what you want to do. They may have gotten switched behind your back.
    3) iTunes match - fraid I can't help you there. My Itunes computer is still on Snow Leopard, no iCloud for me.

  • What happened to the little bug icon on the safari 5.1.3 toolbar?

    What happened to the little bug icon on the safari 5.1.3 toolbar?

    Hi ...
    If you mean this:    (but reporter icon), appaerenlty it's been removed from View > Customize Toolbar window.
    edited by:  cs

  • What happened to the download helper icon, ie: three tumbling balls

    What happened to the download helper icon, ie: three tumbling balls.

    In the Customize window, is there an icon with a label under it saying "Download Helper"? If so, drag it to the toolbar. Many extensions/add-ons place their icons in the Customize window and the user must put them on the toolbar. If the extension you refer to is this one: https://addons.mozilla.org/en-US/firefox/addon/3006/ , be sure your options are set: Tools > Add-ons > Extensions, click Download Helper, click Options, on the DH Preferences window, click General, click Appearance tab.
    *Home page: http://www.downloadhelper.net/
    *Manual: http://www.downloadhelper.net/manual.php
    *Support page (e-mail): http://www.downloadhelper.net/support-expert.php
    '''Unexpected installation error -203''' <br />
    See: <br />
    *https://support.mozilla.com/en-US/kb/Unexpected+installation+error+-203+when+installing+add-ons
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox#Unexpected_installation_error_-203

Maybe you are looking for

  • Powerbook 12" G4 works with Tiger?

    I have a 12" Powerbook 1GHz PowerPC G4, with 1,25GB of DDR SDRAM, and a hardisk of 120GB. It also has a CD reader (not a combo CD/DVD. I believe the Tiger needs a DVD reader, am I correct?) I'm noticing that new features and internet programs (lake t

  • PC Gamer published one review for MSI GS30 2M shadow with gaming dock

    MSI's GS30, with its Gaming Dock, is the first to actually deliver on the promise of using a normal desktop graphics card bolstering a thin 'n' light, non-gaming notebook.-Dave James Highlights: 1.You can switch between thin 'n' light laptop to gamin

  • My iMac with Comcast is suddenly extremely slow

    Suddenly my imac with comcast internet with apple airport is extremly slow. This sort of came out of the blue. I have called Comcast and they said everything on their end seems to check out fine. Going a bit nuts here. Any ideas as to why this is hap

  • Forwarding agent not determined

    Hi i have an issue where the forwarding agent is not determined in the order automatically . The forwrading agent is available in route of the order item . but still it is not copied ? what could be the reason ? regards, ganesh

  • Database Driver code

    I'm looking for a driver other than ODBC JDBC Bridge to connect a java application to a Access backend. Any Suggestions?