Ask a Question related to PHP Development, Design and Development.
-
Jay Blanchard #1
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
-
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; -
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... -
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... -
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... -
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"); ... -
Jay Blanchard #2
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



Reply With Quote

