Jump to content

Php connections with mysql tables


MemphiS

Recommended Posts

I have never hit a 'hard' or 'soft' limits some databases have had hundreds of tables, some of which had hundreds of columns.

As to grabbing data NEVER NEVER NEVER use "SELECT *"... unless you have to.

If you don't need every column don't ask for it, be specific if you only need 2 pieces of data, request them "SELECT col1, col2".

Minimize the number of queries, and the number of connections as much as possible.

If you can, request the data once and store it either in a cookie or a session.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.