Re: alter table
Posted in 1998
On Wed, 1 Apr 1998, Sahrul Hidayat wrote: > > Hi, > > I need an advise, i try to alter a table,to put one field, but appear msg > LONG TRANSACTION, and the alter aborted, this table has 252855 rows. Altering table needs exclusive lock on the table. If you try to alter the table when the transaction (on the same table) is still going, your access will be denied. Wait until the transaction complete and retry your process. If your table is critical, consider postponing the alteration until the workload of your server is low. If LONG TRANSACTION occurs many times, investigate the application that make this happen. If needed, adjust your configuration parameters appropriately (logging, long transaction high water mark, long transaction exclusive high water mark) > This instance configuration has LOCKS = 30000. > > appreciated for any reply. > > sahrul > > > > >