473,473 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Performance with table millions of rows

Hi all,

I have a database with a table containing millions of rows
(3600000). When I do a select on this table, the performance decreased
due to big volume of data. Does someone knows the solutions (an
overview only becaus I know that can be tricky).

Thanks
Nov 12 '05 #1
2 2096
"Simon Gilbert" <sp*****@hotmail.com> wrote in message
news:25**************************@posting.google.c om...
Hi all,

I have a database with a table containing millions of rows
(3600000). When I do a select on this table, the performance decreased
due to big volume of data. Does someone knows the solutions (an
overview only becaus I know that can be tricky).

Thanks


Please post the DDL of the table and the indexes. Then post the SQL of the
query that is slow.

Make sure you have executed runstats on the table and indexes. I would
suggest using the options to get distribution on key columns also.

Here is sample syntax for version 8 runstats:

RUNSTATS ON TABLE table_name ON KEY COLUMNS AND INDEXES ALL
Nov 12 '05 #2
1. add 1 or more indexes
2. runstats with indexes all and distribution all
3. read this: (or at least the top 10 section):

http://www-106.ibm.com/developerwork...-0404mcarthur/

Simon Gilbert wrote:
Hi all,

I have a database with a table containing millions of rows
(3600000). When I do a select on this table, the performance decreased
due to big volume of data. Does someone knows the solutions (an
overview only becaus I know that can be tricky).

Thanks


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: rishi | last post by:
Looking for tips on how to improve performance on deleting records. In our database we do dataloads daily that require us to purge millions of records a day so any improvement in speed would be...
5
by: Bernie | last post by:
Greetings, I have 3 servers all running SQL Server 2000 - 8.00.818. Lets call them parent, child1, and child 2. On parent, I create a view called item as follows: CREATE view Item as...
3
by: gizmo | last post by:
I have a stored procedure that queries a database using a Select statement with some inner joins and conditions. With over 9 million records it takes 1 min 36 sec to complete. This is too slow...
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
5
by: twkelsey | last post by:
Hi, My company has a scenario where we would like to change the data type of an existing primary key from an integer to a char, but we are concerned about the performance implications of doing...
1
by: Good Man | last post by:
Hi there I'm developing a large web application. Part of this web application will be storing numerical chart data in a MySQL table - these numbers will be already calculated, and are just being...
5
by: booksnore | last post by:
Hi, I have a program which performs some calculations and then updates a table. I tested my program on a few thousand rows, worked good, no issues, update worked. When I test on larger data - up...
4
by: Hemant Shah | last post by:
Folks, I am having problem with an application that uses static SQL, the application basically browses through the table given start and end key most of the time it is processed from begining to...
1
by: dmcadams | last post by:
I need help deleting 300 Millions of rows from a table and then reclaim the space in the table after completing the delete process. The database needs to be online and available to the users. There...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.