Re: BUG #6348: PROBLEMAS DELETE
От | Alvaro Herrera |
---|---|
Тема | Re: BUG #6348: PROBLEMAS DELETE |
Дата | |
Msg-id | 1324484692-sup-4029@alvh.no-ip.org обсуждение исходный текст |
Ответ на | BUG #6348: PROBLEMAS DELETE (wilsoncamago@gmail.com) |
Список | pgsql-bugs |
Excerpts from wilsoncamago's message of mi=C3=A9 dic 21 11:26:39 -0300 2011: > hace algun tiempo tube el inconveniente de eliminar de una tabla relacion= ada > en una subconsulta y eliminando 10000 aprox se demoraba 20 seg la consulta > era=20 > DELETE FROM saldo_detalle_cartera=20 > WHERE saldo_detalle_cartera.movimiento_contable in (select > s.movimiento_contable from saldo_detalle_cartera s=20 > inner join movimiento_contable m on > m.id_mov_contable=3D s.movimiento_contable > and m.proyecto =3D '185' ) >=20 > afotunadamente hay una forma mas rapida que es usando esta sentencia Wilson, esto no es un bug. Por favor plantea tu pregunta en pgsql-es-ayuda@postgresql.org --=20 =C3=81lvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-bugs по дате отправления: