Home » Performance » MySQL » Limits and datatype for connection_id()
Limits and datatype for connection_id() [message #3650] Fri, 24 October 2008 09:25
Poul  is currently offline Poul
Messages: 1
Registered: October 2008
Junior Member
Hi,

we use connection_id() return value to fill some fields in a mysql-myisam database.

I have spent a lot of time researching about the returned value, but I have not found any interesting information, so I'm asking this blog which I follow from one year now.

My questions are:

- select connection_id() returns an integer value: what are the limits? How should a declare the field to store it?

- what will happen when the limits are reached? Yes, it is possible; we are managing millions of connections per day on a single database...

- is it there any other better parameter available in a query, to ensure that two concurrent users will have returned different values?

Many thanks in advance.
Previous Topic:One to many -- Select 3 subitems for every item.
Next Topic:Mysql replication read / write splitting: Mysql proxy or in software?
Goto Forum:
  


Current Time: Thu Jul 9 18:20:17 EDT 2009

Total time taken to generate the page: 0.16404 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.