Re: Sinister variable caching problem with rand()

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Sat, May 15, 2010 at 9:48 PM, Anthony Esposito
<[email protected]> wrote:
> The reason I am not using auto_increment is because the databases exist on a
> mysql cluster. The auto_increment counts would have to be maintained very
> carefully with multiple servers running the same database so I opted to not
> worry about it and generate completely unique keys. When a line is added in
> one database it is advertised to all others, the linking between lines in
> diff tables is easier this way too.

If you haven't already, I suggest picking up a copy of "High
Performance MySQL" for suggestions on easier ways to deal with a
database cluster.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.