joecooper Posted February 26, 2006 Share Posted February 26, 2006 I need to have at leas 10,000 rows in a mysql database table... whats the drawbacks?It will need to load everyone of those rows on a single page also using a loop script... Quote Link to comment https://forums.phpfreaks.com/topic/3628-mysql-row-limit/ Share on other sites More sharing options...
hitman6003 Posted February 26, 2006 Share Posted February 26, 2006 [!--quoteo(post=349574:date=Feb 26 2006, 10:43 AM:name=joecooper)--][div class=\'quotetop\']QUOTE(joecooper @ Feb 26 2006, 10:43 AM) [snapback]349574[/snapback][/div][div class=\'quotemain\'][!--quotec--]It will need to load everyone of those rows on a single page also using a loop script...[/quote]Longer load times on your webpage due to all the data being downloaded. If there is a lot of traffic to your site, doing it over and over and over will slow your server down.MySQL can handle a lot more than 10k rows, so that isn't a problem. Quote Link to comment https://forums.phpfreaks.com/topic/3628-mysql-row-limit/#findComment-12585 Share on other sites More sharing options...
AndyB Posted February 26, 2006 Share Posted February 26, 2006 [!--quoteo(post=349574:date=Feb 26 2006, 10:43 AM:name=joecooper)--][div class=\'quotetop\']QUOTE(joecooper @ Feb 26 2006, 10:43 AM) [snapback]349574[/snapback][/div][div class=\'quotemain\'][!--quotec--]It will need to load everyone of those rows on a single page also using a loop script...[/quote]Why? If I were a visitor to your site I probably wouldn't be interested in reading a 10,000 row presentation of data, even if I was nice enough to wait for the enormous generated html file to download and be rendered by my browser. As noted, a database with 10k rows is nothing special. Maybe you want to share your design logic with us so we'll understand why you want to load every row and display them? Quote Link to comment https://forums.phpfreaks.com/topic/3628-mysql-row-limit/#findComment-12588 Share on other sites More sharing options...
joecooper Posted February 28, 2006 Author Share Posted February 28, 2006 its an idea i had, million pixels seperated into 10x10, they are defaulted as '0', but when they are clicked on, they turn '1' so that the script can turn that square into a black square... 50 hidden squares that win £10 to the user. :), 5 clicks per day are allowed. each winning square, (after its been pressed) turns to '2' to make it go blue to show its a winner so they could win upto £50 a day... but very unlikelyim just hopeing load time would be less then 5 seconds Quote Link to comment https://forums.phpfreaks.com/topic/3628-mysql-row-limit/#findComment-13007 Share on other sites More sharing options...
wickning1 Posted February 28, 2006 Share Posted February 28, 2006 Yes, as long as you make the html efficient, it can be done. You can select all 10000 rows in a single query and loop through them on the PHP side. Quote Link to comment https://forums.phpfreaks.com/topic/3628-mysql-row-limit/#findComment-13052 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.