[PHP] Can php/mysql handle 10000s of records

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default RE: [PHP] Can php/mysql handle 10000s of records

    [snip]
    I am writing an attendance system in php/mysql for my school. We have a
    little less then 1000 students. For every day of the school year one
    record will be entered into a table for each student representing their
    attendance status (present, absent, late, etc...). I also have several
    other supporting tables for relationships. When it comes to reporting
    and querying this DB I am worried that it will very quickly become very
    large and slow. Can mysql handle this? Are there any techniques to
    speed it up? I will trying indexing major columns.

    I have also considered keeping all previous days attendance in a
    separate table from the current days attendance and moving things over
    in the middle of the night. This way any operations on the current days
    data will go quickly, but reports on long term things will still be
    slow. Good idea?
    [/snip]

    The short answer is that 10000s of records is no problem dependent upon
    the server, good coding, and good database optimization. We process
    millions of records each day with PHP and MySQL (today there are 58M
    records to be processed). Over time we have found bottlenecks and
    cleared them up. This is being done on a sub-1Ghz server (but I am
    looking forward to an updrade!).

    HTH!

    Jay
    Jay Blanchard Guest

  2. Similar Questions and Discussions

    1. Random records from MySQL
      is there any way i can get my page to pull a record ot of a table at random in PHP and MySQL?????????:confused;
    2. No records found for MySQL Table
      Hello, We have a MySQL table that we had been using PHP to query, but now we want to query the table using CF 5.0 on a windows 2000 server. The...
    3. Can php/mysql handle 10000s of records
      From: Adam Gerson <agerson@cgps.org> Date: Wed Jul 9, 2003 9:48:20 AM America/New_York To: php-general@lists.php.net Subject: Can php/mysql...
    4. Sensible Method of Inserting Records In To MySQL
      Hello, I'd appreciate suggestions as I hash out my idea. Perhaps I'm going about this the wrong way. I have users using a third party windows...
    5. newbie : trying to count records in mysql table
      Help, I get no output on this code // Connect to database. $dbh = mysql_connect("localhost","user","password"); mysql_select_db("survey"); ...
  3. #2

    Default RE: [PHP] Can php/mysql handle 10000s of records

    [snip]
    Suprisingly MySQL is very good, as the others have said... I've been
    involved in a few sites that have been known to hammer the DB pretty
    hard.. And it's stood up to the test... Hmmm... I am sure others here
    can validate this... But I think the size limit for the database is
    about 4 gigs!!! That's a ton...
    [/snip]

    Actually you can set tables to exceed 4Gb ... some of the tables we have
    are currently in excess of 45Gb

    Jay Blanchard Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139