Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: mysql and auto_incrememt
- To: tlug@example.com
- Subject: Re: mysql and auto_incrememt
- From: Shimpei Yamashita <shimpei@example.com>
- Date: Thu, 11 Oct 2001 11:12:12 +0900
- Content-disposition: inline
- Content-type: text/plain; charset=us-ascii
- Delivered-to: tlug@example.com
- In-reply-to: <F7543nDemG1wpxK3kIf00009344@example.com>
- List-help: <mailto:tlug-request@example.comsubject=help>
- List-post: <mailto:tlug@example.com>
- List-subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-return-path: <shimpei@example.com>
- Reply-to: tlug@example.com
- Resent-from: tlug@example.com
- Resent-message-id: <dhv8DC.A.rK.Bd-z7@example.com>
- Resent-sender: tlug-request@example.com
- User-agent: Mutt/1.3.18i-ja0
On Wed, Oct 10, 2001 at 03:24:53PM +0000, Jean-Christian Imbeault wrote: > >From: "BABA Yoshihiko" <baba_yoshihiko@example.com> > > > >Strict auto-numbering is better as some people posted here. > > True. But it's really annoying ^_^ Guess I will have to stop relying on > auto-incrementation to generate numbers and do it myself by adding 1 to > MAX(). I don't know much about mysql, or databases for that matter, but if you have a lot of elements (like, say, on order of hundreds of thousands), wouldn't doing a SELECT MAX() on the entire table every time you do an insert be inefficient? -- Shimpei Yamashita http://www.shimpei.org/
Home | Main Index | Thread Index
- Next by Date: Connection woes...
- Next by thread: Connection woes...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links