Re: Target number of database reads per user

From: Louis Davidson (dr_dontspamme_sql_at_hotmail.com)
Date: 11/24/04


Date: Wed, 24 Nov 2004 09:36:17 -0600

Yeah, just to echo what Andy is saying, if you want to have the question
answered of how many reads you should have (where did you get the 300
number?) you have to look at your design. The part of the original post
that scares me is:

>> Currently we are doign around 1800 database reads, with the majority
>> of those (around 1200) only happening if/when the user purchases
>> items).

On purchase, you should have a very very small number of reads. Searching,
logging, and trying to match up a users tastes with a page to display, or
even simple searches I might see this many reads, or even more. But the
types of operations you are talking about with a creation operation such as
a purchase of items should be very straightforward, key access oriented
operations. If you can post code/database design we could all take a look.

-- 
----------------------------------------------------------------------------
Louis Davidson - drsql@hotmail.com
SQL Server MVP
Compass Technology Management - www.compass.net
Pro SQL Server 2000 Database Design - 
http://www.apress.com/book/bookDisplay.html?bID=266
Note: Please reply to the newsgroups only unless you are interested in 
consulting services.  All other replies may be ignored :)
"Andrew J. Kelly" <sqlmvpnooospam@shadhawk.com> wrote in message 
news:%23nthVgj0EHA.424@TK2MSFTNGP14.phx.gbl...
> When it comes to performance less reads is always better.  But how many is 
> totally dependant on what you need to do and how it was designed.  There 
> is no straight forward answer in that regard.  The goal is get each db 
> call optimized such that it has as few reads as possible to get the 
> required work done.
>
> -- 
> Andrew J. Kelly  SQL MVP
>
>
> "Andy" <andrew@thevalley.f9.co.uk> wrote in message 
> news:5d7cc30e.0411240702.7f36de1@posting.google.com...
>> We are currently developing a high traffic digital music e-commerce
>> site using ASP.NET and SQL Server. Does anybody have any suggestions
>> for what a good number of database reads per user (from inital site
>> entry to checkout and delivery of media files). Ideally we need to be
>> able to handle in the region of 100,000 sales per day, and up to 10
>> times that in site visitors.
>>
>> Currently we are doign around 1800 database reads, with the majority
>> of those (around 1200) only happening if/when the user purchases
>> items).
>>
>> Is that too high? We were advisted that we should be aiming for 300
>> reads per complete transaction, but that is impossible with the
>> current system design, and from my point of view, impossible with the
>> currentl SQL Server query optimiser (we have one stored procedure
>> doing 380 reads despite it being a simple join between indexed
>> fields).
>>
>> Many Thanks
>> Andy Oakey
>
> 


Relevant Pages

  • Re: Using SQl to store aspx pages and memory problems
    ... I've seen classic ASP applications design this way that work ... database isn't some sort of magic pixie dust that solves all problems. ... > the memory increases - the slowness of the request could be dealt with by ... >> takes to get the page from SQL Server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: database options with SBS 2003 R2
    ... It was doable for the customer to design their own access database in a peer ... If you don't want to deal with a version of SQL Server for the data, ... end MDB files. ...
    (microsoft.public.windows.server.sbs)
  • Re: Database design question
    ... Pro SQL Server 2000 Database Design ... Please reply to the newsgroups only unless you are ...
    (microsoft.public.sqlserver.programming)
  • Re: A little help with access forms.
    ... This is an upsized database and it does have the upsize_ts field, however, I ... I lay no claim to this "design". ... I didn't say Access, I said .mdb file. ... get my users over to SQL server. ...
    (microsoft.public.access.conversion)
  • RE: SQL Server 2000 & Access 2007 Project
    ... You have indicated that the Access database is an Access Project file (ADP) ... occurs when we attempt to open the same table's design view in the Access ... so that SQL server cannot get the type of the data in the design view. ...
    (microsoft.public.sqlserver.clients)