﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Employers and Employees / Career  / I have a dilemma / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 17:26:32 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: I have a dilemma</title><link>http://www.sqlservercentral.com/Forums/Topic1381180-334-1.aspx</link><description>How much work does the query for the report do?  Can you post the table definition(s) and the query?</description><pubDate>Wed, 07 Nov 2012 08:15:10 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>RE: I have a dilemma</title><link>http://www.sqlservercentral.com/Forums/Topic1381180-334-1.aspx</link><description>Ok, the answer is a little confusing. It IS millions of transactions but it will not be that much in the future. This is a camera that takes many pictures per second and identifies objects. Except now it's in the test lab, so [b]every snapshot[/b] identifies some objects. It is not possible to remove these objects from the lab. In the real world, it will only identify objects if they appear, so it will be much less transactions. But the report we are developing now.Hope I have explained it well.</description><pubDate>Wed, 07 Nov 2012 06:43:06 GMT</pubDate><dc:creator>Oksana March</dc:creator></item><item><title>RE: I have a dilemma</title><link>http://www.sqlservercentral.com/Forums/Topic1381180-334-1.aspx</link><description>Does the query do anything other than return raw data from one table?  Aggregations (min, max, avg, that kind of thing), running totals, pulling data from complex multi-table structures; anything like that?If so, you might want to run the query for a year's data, and dump the results into a temp table (or a "real" table), then point a copy of the report at that data instead of the query.  That way, all the hard work for the query is done before the report tries to run it, and the report will almost certainly be much faster.(Data warehousing, in case you're familiar with that, is what I'm talking about here.)Is that an option?Or will the 1-year report be so many pages of data that the server simply can't run it?  I've seen a report that was intended for daily data, which ran around 30-50 pages per day of data, where someone tried to run it for a year instead of a day.  We managed to get it to render the report, all 18,000 pages of it, as a PDF.  Took a few days on a standby server.  The manager insisted on this being done, right up till the point where it started to spew out of his printer and he was told it would take 2 days to finish printing.  His eyes got really big, and he changed his mind about trying to read more pages of report than there are in ten copies of War and Peace.  A fun time was had by all.  But, till he actually got to see it with his own eyes, and get the scope that way, it wasn't real to him that what he thought he wanted wasn't what he actually wanted.</description><pubDate>Mon, 05 Nov 2012 11:35:20 GMT</pubDate><dc:creator>GSquared</dc:creator></item><item><title>RE: I have a dilemma</title><link>http://www.sqlservercentral.com/Forums/Topic1381180-334-1.aspx</link><description>[quote][b]Oksana March (11/5/2012)[/b][hr]Hi everyone,I have a dilemma and need your advice. We have a customer that runs a report that retrieves very detailed data and takes about 5 minutes to complete for a period of 1 day. The query is optimized and the right indexes are set up, it takes that much because it's a lot of data. This president of the client company tried to specify a date range of 1 year and of course the query was just running and running. He complained the query doesn't work. I tried to explain that this report lists every transaction and it's not designed to be run for more than 1 day but he insists to run it for one year. How would you explain it to this big boss politely in an email message?[/quote]So, how many transactions are there for a year?</description><pubDate>Mon, 05 Nov 2012 10:49:50 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: I have a dilemma</title><link>http://www.sqlservercentral.com/Forums/Topic1381180-334-1.aspx</link><description>[quote][b]Oksana March (11/5/2012)[/b][hr]Hi everyone,I have a dilemma and need your advice. We have a customer that runs a report that retrieves very detailed data and takes about 5 minutes to complete for a period of 1 day. The query is optimized and the right indexes are set up, it takes that much because it's a lot of data. This president of the client company tried to specify a date range of 1 year and of course the query was just running and running. He complained the query doesn't work. I tried to explain that this report lists every transaction and it's not designed to be run for more than 1 day but he insists to run it for one year. How would you explain it to this big boss politely in an email message?[/quote]Unless you are talking about millions and millions of rows being returned I would question that "The query is optimized and the right indexes are set up". 5 minutes seems a bit long for a daily report.How many rows would be returned from this query if run for a whole year. Maybe you can offer alternatives to this data. Maybe offer to put this in a spreadsheet or some other format that will make it usable. If there are millions and millions of rows I doubt there is much they would be able to do with it anyway. Often time in situations like this they just don't understand the quantity of data and once they do they are perfectly content with samples, aggregate, etc...</description><pubDate>Mon, 05 Nov 2012 10:27:44 GMT</pubDate><dc:creator>Sean Lange</dc:creator></item><item><title>I have a dilemma</title><link>http://www.sqlservercentral.com/Forums/Topic1381180-334-1.aspx</link><description>Hi everyone,I have a dilemma and need your advice. We have a customer that runs a report that retrieves very detailed data and takes about 5 minutes to complete for a period of 1 day. The query is optimized and the right indexes are set up, it takes that much because it's a lot of data. This president of the client company tried to specify a date range of 1 year and of course the query was just running and running. He complained the query doesn't work. I tried to explain that this report lists every transaction and it's not designed to be run for more than 1 day but he insists to run it for one year. How would you explain it to this big boss politely in an email message?</description><pubDate>Mon, 05 Nov 2012 10:02:24 GMT</pubDate><dc:creator>Oksana March</dc:creator></item></channel></rss>