Forum Moderators: phranque

Message Too Old, No Replies

compressing mysql output

is there a way to compress it?

         

Namaste

7:57 pm on May 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I setting up a new site on a new host, who offers a 10MBPS connection between the database server and the webserver.

Is there any way to compress the output from the MySQL database server to the webserver?

freeflight2

4:15 am on May 23, 2005 (gmt 0)

10+ Year Member



yes there is:
[us3.php.net...]

client_flags
The client_flags parameter can be a combination of the following constants: MYSQL_CLIENT_COMPRESS, ...

works similar for other languages since they all access mysql via the same API

Namaste

9:52 am on May 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks, let me try this.

Are there any other optimizations that you can recommend when database server and webserver are connected over 10mbps.

Any advanced suggestions such as keeping some data on flat files on the webserver.