Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / November 2005

Tip: Looking for answers? Try searching our database.

2 million records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Precious Acheru - 14 Nov 2005 11:31 GMT
I Got this web application runnin on Sql Server 2000
now using ACT to test a search function wit about 500,000 records in the
database,  gives me about 144RPS, but on two million records i get rates as
low as 8RPS

my Server runs on a P4 3.2GHZ, 1 GB Ram, 250GB sata HDD
does anyone have better rates wit 2million records on sql server
Jéjé - 16 Nov 2005 00:31 GMT
first point, its not a datawarehousing question, but a general SQL Server
question & Web Developper question.

Second, does your web app is developped in ASP.Net 2? do you cache some
results in you web application?
How many transactions are made in your database? the number of page per
second is not relevant to fine tune your database.
do you really need to support 144RPS anytime? what is your target?

to fine tune...
look at your SQL Server performance counters.
Do you have a memory issue? processor issue? disk bottleneck?
you have to find the problem before trying to fix it.

For your disks:
Look at the avg disk queue length perf counter, if this value is always
higher then 2 (if you have 1 disk only) then the disk is the problem.
use raid 10 or 1+0 disks for the database, put your tempdb database on a
dedicated disk, put your database indexes on another disk. Also the log
files should be on another dedicated disk.

The database himself:
update the statistics of your tables, bad statistics result in bad query
plan and poor performance. (defragmenting indexes is recommanded but more
time consumming)
if your system is too intensive like during a stress test where your start
from 0 rows to 2 millions, SQL Server has no time to update the statistics
of the tables.
For example, the query plan should identify the usage of a full table scan
to find the result because he think there is only a couple of rows, but
there is 2 millions of rows and a full table scan is long, and a index
cluster scan should be better.

if you use storedprocedures, try to add the "with recompile" option which
mean that SQL Server will reevaluate the SP and the query plan behind it.

Start by playing with the database before going at the hardware level.
there is a lot of other tips.
Look at this web site for information:
http://www.sql-server-performance.com/

good luck

Jerome.

>I Got this web application runnin on Sql Server 2000
> now using ACT to test a search function wit about 500,000 records in the
[quoted text clipped - 3 lines]
> my Server runs on a P4 3.2GHZ, 1 GB Ram, 250GB sata HDD
> does anyone have better rates wit 2million records on sql server
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.