Showing posts with label break. Show all posts
Showing posts with label break. Show all posts

Monday, March 26, 2012

Practical limitations of SQL Server?

Hi all,
I'm looking for some ball park estimates on when SQL Server might start
to break down, and can't find any reliable info. Any insight is appreciated.

Basically, the situation is this: The database structure is very simple;
just one table with about 15 columns and about 60-75 million rows. There's
no need for massaging data or complex relations, just simple searches on
maybe a max of 5 columns. Out of the gates we'll be looking at having 30
concurrent users and rapidly expanding to about 300-400 concurrent users.

I might need to rebuild the database on a daily or weekly basis
depending on how often changes are made to a master file. In the past I've
been bit in the butt with the absolute crappiness of SQL Server's
replication, so I'm going to try to avoid that path if I can (plus I already
have some scripts written to delete and rebuild a similar database on a
nightly basis). Would it be practical to destroy and rebuild a database this
size on a daily basis?

The big question is if searching 60-75 million records is practical in
SQL server. If so, what kind of machine would I need to get a nearly instant
response time per search (.2 second or so) when everyone's banging on it at
once? How many concurrent users can I expect to be able to practically
support before SQL Server will start to bog down? Thanks for your thoughts,

-RingoRingo (ringo@.*REMOVE*ringosoft.com) writes:
> Basically, the situation is this: The database structure is very simple;
> just one table with about 15 columns and about 60-75 million rows. There's
> no need for massaging data or complex relations, just simple searches on
> maybe a max of 5 columns. Out of the gates we'll be looking at having 30
> concurrent users and rapidly expanding to about 300-400 concurrent users.
> I might need to rebuild the database on a daily or weekly basis
> depending on how often changes are made to a master file. In the past
> I've been bit in the butt with the absolute crappiness of SQL Server's
> replication, so I'm going to try to avoid that path if I can (plus I
> already have some scripts written to delete and rebuild a similar
> database on a nightly basis). Would it be practical to destroy and
> rebuild a database this size on a daily basis?
> The big question is if searching 60-75 million records is practical in
> SQL server. If so, what kind of machine would I need to get a nearly
> instant response time per search (.2 second or so) when everyone's
> banging on it at once? How many concurrent users can I expect to be able
> to practically support before SQL Server will start to bog down?

These questions that are about impossible to answer. If you run this
database on a P100 with 128 MB, it is going do break down quite soon,
but if you run it on a huper-duper server with tons of disks space that
you have spread this single table over, then you might have a hard time
if you are set to kill SQL Server.

300-400 concurrent users does not say much. It matters a bit, if a user
submits a query once an hour, or 15 per minute.

As for the speed of loading the data, and the speed of retrieval, there
is a pay-of. For the retrieval speed you indicate, you need good indexes,
and you may need an indexed views for some searches. But many indexes
makes the load slower. You can drop the indexes when you load, but then
you still need to rebuild them.

I don't know what the "master file" you mention is, but maybe you should
reconsider using replication. I don't have much experience of SQL
Server's replication features, but I have never seen anyone to talk
about its "absolute crappiness".

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||"Ringo" <ringo@.*REMOVE*ringosoft.com> wrote in message
news:6HYQa.226055$_w.9147313@.twister.southeast.rr. com...
> Hi all,
> I'm looking for some ball park estimates on when SQL Server might
start
> to break down, and can't find any reliable info. Any insight is
appreciated.
> Basically, the situation is this: The database structure is very
simple;
> just one table with about 15 columns and about 60-75 million rows. There's
> no need for massaging data or complex relations, just simple searches on
> maybe a max of 5 columns. Out of the gates we'll be looking at having 30
> concurrent users and rapidly expanding to about 300-400 concurrent users.

Again, how often are they submitting queries and what sorts of queries?

If it is as straightfoward as you claim, I can't see any major problems
here. As others have pointed out, a number of us routinely have databases
will far more rows than that.

Not speaking from rowsize, but total DB size, my largest DB is 27 gig and
growing. No performance issues there.

> I might need to rebuild the database on a daily or weekly basis
> depending on how often changes are made to a master file. In the past I've
> been bit in the butt with the absolute crappiness of SQL Server's
> replication, so I'm going to try to avoid that path if I can (plus I
already
> have some scripts written to delete and rebuild a similar database on a
> nightly basis). Would it be practical to destroy and rebuild a database
this
> size on a daily basis?

Not sure how you'd be using replication in a scenario like this. But, I've
got some experience with replication and can always help you out there. We
routinely use replication at my job w/o too much trouble.

If you're doing a complete rebuild though, BCP is probably the way to go.

> The big question is if searching 60-75 million records is practical in
> SQL server. If so, what kind of machine would I need to get a nearly
instant
> response time per search (.2 second or so) when everyone's banging on it
at
> once? How many concurrent users can I expect to be able to practically
> support before SQL Server will start to bog down? Thanks for your
thoughts,

Index the stuff.
Make sure you re-use connections. (We found in an application that
opening/closing the ODBC connection was 10x more expensive than the query
itself.)
Give us more data
Look at Kalen Delany's "Insider SQL 2000" for more details.
And there's a good MS Press book on optimizing SQL Server.

> -Ringo|||maybe you can split the data in the database and retrieve it with
select incombination woth UNION. success

"Ringo" <ringo@.*REMOVE*ringosoft.com> wrote in message news:<6HYQa.226055$_w.9147313@.twister.southeast.rr.com>...
> Hi all,
> I'm looking for some ball park estimates on when SQL Server might start
> to break down, and can't find any reliable info. Any insight is appreciated.
> Basically, the situation is this: The database structure is very simple;
> just one table with about 15 columns and about 60-75 million rows. There's
> no need for massaging data or complex relations, just simple searches on
> maybe a max of 5 columns. Out of the gates we'll be looking at having 30
> concurrent users and rapidly expanding to about 300-400 concurrent users.
> I might need to rebuild the database on a daily or weekly basis
> depending on how often changes are made to a master file. In the past I've
> been bit in the butt with the absolute crappiness of SQL Server's
> replication, so I'm going to try to avoid that path if I can (plus I already
> have some scripts written to delete and rebuild a similar database on a
> nightly basis). Would it be practical to destroy and rebuild a database this
> size on a daily basis?
> The big question is if searching 60-75 million records is practical in
> SQL server. If so, what kind of machine would I need to get a nearly instant
> response time per search (.2 second or so) when everyone's banging on it at
> once? How many concurrent users can I expect to be able to practically
> support before SQL Server will start to bog down? Thanks for your thoughts,
> -Ringo

Friday, March 9, 2012

Possible to insert a page break?

I have a question regarding page break. Is there a way to add a page break
before a text box?
I know you can do this with tables, but I need to have the textbox which
contains the table title to start at the top of the page, instead of the
table itself. Thanks.
-JosephI'm not sure I understand the issue correctly, but did you try putting the
textbox inside a rectangle and add the page break on the rectangle?
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Joseph" <Joseph@.discussions.microsoft.com> wrote in message
news:72370566-0AAA-435C-B376-F16064A3D9EF@.microsoft.com...
> I have a question regarding page break. Is there a way to add a page
break
> before a text box?
> I know you can do this with tables, but I need to have the textbox which
> contains the table title to start at the top of the page, instead of the
> table itself. Thanks.
> -Joseph|||Rectangle solves my needs. Thanks Robert.
Joseph
"Robert Bruckner [MSFT]" wrote:
> I'm not sure I understand the issue correctly, but did you try putting the
> textbox inside a rectangle and add the page break on the rectangle?
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Joseph" <Joseph@.discussions.microsoft.com> wrote in message
> news:72370566-0AAA-435C-B376-F16064A3D9EF@.microsoft.com...
> > I have a question regarding page break. Is there a way to add a page
> break
> > before a text box?
> >
> > I know you can do this with tables, but I need to have the textbox which
> > contains the table title to start at the top of the page, instead of the
> > table itself. Thanks.
> >
> > -Joseph
>
>

Monday, February 20, 2012

Positioning report in SSRS

I created a report in SSRS. Current fiscal year report with every day
-- page break on month.
How do I position the report to the current month?
Right now the users have to page down when viewing the report.
I thought about creating an invisible sort column doing some sort of
equation on month, but I thought SSRS should have something to
position the report.
Thoughts?If users are most likely interested in monthly data, why not just have a
"month" query parameter added to the report?
"Muehe" <Muehe@.discussions.microsoft.com> wrote in message
news:CC3F03E4-D8ED-4A1F-8787-086A79686BF5@.microsoft.com...
>I created a report in SSRS. Current fiscal year report with every day
> -- page break on month.
> How do I position the report to the current month?
> Right now the users have to page down when viewing the report.
> I thought about creating an invisible sort column doing some sort of
> equation on month, but I thought SSRS should have something to
> position the report.
> Thoughts?|||I don't think much of using filters (versus query parameters) but in this
case it makes lots of sense. Have a Month parameter which has the option of
All. Then have the filter that returns all months or just the specific
month.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Norman Yuan" <FakeName@.FakeEmail.Not> wrote in message
news:uH9fe3yQIHA.2208@.TK2MSFTNGP06.phx.gbl...
> If users are most likely interested in monthly data, why not just have a
> "month" query parameter added to the report?
>
> "Muehe" <Muehe@.discussions.microsoft.com> wrote in message
> news:CC3F03E4-D8ED-4A1F-8787-086A79686BF5@.microsoft.com...
>>I created a report in SSRS. Current fiscal year report with every day
>> -- page break on month.
>> How do I position the report to the current month?
>> Right now the users have to page down when viewing the report.
>> I thought about creating an invisible sort column doing some sort of
>> equation on month, but I thought SSRS should have something to
>> position the report.
>> Thoughts?
>