If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > help for large tables

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-09, 05:42
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Smile help for large tables

Hi ,
I have database which has some tables that contain huge records
upto 8 Million due to this even making indexes queries excution timing
will be too high

Please provide solution for this what step we can take ?

Last edited by ankur02018; 07-04-09 at 06:14.
Reply With Quote
  #2 (permalink)  
Old 07-04-09, 06:03
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
Quote:
Originally Posted by ankur02018
80 lacks
is that the same as
.
=
()
()
()
()
()
(obviously I'm using the ancient Mayan numbering system here).

Mike
Reply With Quote
  #3 (permalink)  
Old 07-04-09, 06:16
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Quote:
Originally Posted by mike_bike_kite
is that the same as
.
=
()
()
()
()
()
(obviously I'm using the ancient Mayan numbering system here).
Mike
8 million records
Reply With Quote
  #4 (permalink)  
Old 07-04-09, 06:45
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
Quote:
Originally Posted by ankur02018
8 million records
I was correct then.
I guess you mean that some tables contain 80m records rather than each record is 80m char long?
Can you give the table definition + indexes?
Can you give some example SQL that's running slowly?
How slow is slow (in seconds)?

I don't see how 80m records will even slightly affect MySQL - that is only a moderate table in database terms.

Mike
Reply With Quote
  #5 (permalink)  
Old 07-04-09, 07:04
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Smile

Quote:
Originally Posted by mike_bike_kite
I was correct then.
I guess you mean that some tables contain 80m records rather than each record is 80m char long?
Can you give the table definition + indexes?
Can you give some example SQL that's running slowly?
How slow is slow (in seconds)?

I don't see how 80m records will even slightly affect MySQL - that is only a moderate table in database terms.

Mike
One table tablename transaction is growing in such a way withen 6 month
6 million records entry is done so even making indexes query fired takes
much time
can we do database partitioning for single table
does MyQL 5.0.47 support database partitioning

or is there option to do something else
Reply With Quote
  #6 (permalink)  
Old 07-04-09, 07:28
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
Quote:
Originally Posted by ankur02018
or is there option to do something else
Yes but we need to know the following:
  • Can you give the table definition + indexes?
  • Can you give some example SQL that's running slowly?
  • How slow is slow (in seconds)?
  • Do you rebuild your indexes at all?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On