<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-26801181.post6945198761990557601..comments</id><updated>2011-11-20T19:25:56.569+01:00</updated><category term='Tutorial PL/SQL'/><category term='Optimización y tuning de bases de datos'/><category term='Librerías estándar PLSQL'/><category term='Utilidades PLSQL'/><category term='Bases de datos Oracle'/><title type='text'>Comments on Programación PL/SQL y bases de datos Oracle: Cláusula BULK COLLECT para mejorar el rendimiento ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.plsql.biz/feeds/6945198761990557601/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html'/><author><name>José Luis Pérez</name><uri>https://profiles.google.com/102634062599347146150</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-4QS7hkQaOzk/AAAAAAAAAAI/AAAAAAAAGhg/FWpeXVJY9cg/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26801181.post-9111493707722493001</id><published>2011-10-04T11:45:49.259+02:00</published><updated>2011-10-04T11:45:49.259+02:00</updated><title type='text'>Hola Carlos, las excepciones PL/SQL en el bulk col...</title><content type='html'>Hola Carlos, las excepciones PL/SQL en el bulk collect se manejan igual que en cualquier otro bloque.&lt;br /&gt;&lt;br /&gt;Puedes echar un vistazo a esta entrada en la que hablo sobre las &lt;a href="http://www.plsql.biz/2007/01/manejo-de-excepciones-el-plsql.html" rel="nofollow"&gt;excepciones PLSQL predefinidas&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/9111493707722493001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/9111493707722493001'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html?showComment=1317721549259#c9111493707722493001' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html' ref='tag:blogger.com,1999:blog-26801181.post-6945198761990557601' source='http://www.blogger.com/feeds/26801181/posts/default/6945198761990557601' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-6691785320380509339</id><published>2011-09-29T18:38:42.058+02:00</published><updated>2011-09-29T18:38:42.058+02:00</updated><title type='text'>Hola Pepelu, tu como siempre tocando los temas en ...</title><content type='html'>Hola Pepelu, tu como siempre tocando los temas en los cuales necesito ayuda... &lt;br /&gt;&lt;br /&gt;Pepelu, yo tengo una pregunta, al momento en el que el bulk collect se presente algun error o se genere un exception, como hago para controlar ese evento? ya que en el ejemplo no se puede apreciar como se deberia de controlar ese posible problema.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/6691785320380509339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/6691785320380509339'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html?showComment=1317314322058#c6691785320380509339' title=''/><author><name>Carlos</name><uri>http://www.blogger.com/profile/04542040786888863142</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html' ref='tag:blogger.com,1999:blog-26801181.post-6945198761990557601' source='http://www.blogger.com/feeds/26801181/posts/default/6945198761990557601' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-716211326'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-8873735159992941645</id><published>2011-09-21T22:05:26.366+02:00</published><updated>2011-09-21T22:05:26.366+02:00</updated><title type='text'>Luca, ciertamente es recomendable utilizar la sent...</title><content type='html'>Luca, ciertamente es recomendable utilizar la sentencia COMMIT para reflejar explícitamente el fin de una transacción.&lt;br /&gt;&lt;br /&gt;Al no utilizar el COMMIT lo único que quiero indicar es que no resulta conveniente realizarlo dentro del bucle y que se puede esperar a que termine la ejecución de todos los UPDATE. Es decir, que se puede ejecutar el procedimiento PL/SQL procesamiento_masivo y después de ejecutado ejecutar un COMMIT, ya sea explícito o implícito al cerrar la sesión.&lt;br /&gt;&lt;br /&gt;En el código del procedimiento PL/SQL procesamiento_masivo es posible colocar el COMMIT detrás de la sentencia &amp;quot;CLOSE cur;&amp;quot; sin que ello afecte al rendimiento.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/8873735159992941645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/8873735159992941645'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html?showComment=1316635526366#c8873735159992941645' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html' ref='tag:blogger.com,1999:blog-26801181.post-6945198761990557601' source='http://www.blogger.com/feeds/26801181/posts/default/6945198761990557601' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-3155396465122722346</id><published>2011-09-21T21:31:30.487+02:00</published><updated>2011-09-21T21:31:30.487+02:00</updated><title type='text'>Una consulta soy muy nuevo en oracle. y siempre po...</title><content type='html'>Una consulta soy muy nuevo en oracle. y siempre pongo un COMMIT, despues de un Cursor o un Bloque de codigo donde se presente un DML(Insert,Update,Delete). la consulta es donde en Tu codigo haces el Commit o este ya esta implicito con el Bulk Collect.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/3155396465122722346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/3155396465122722346'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html?showComment=1316633490487#c3155396465122722346' title=''/><author><name>Luca</name><uri>http://www.blogger.com/profile/11077315094385122097</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html' ref='tag:blogger.com,1999:blog-26801181.post-6945198761990557601' source='http://www.blogger.com/feeds/26801181/posts/default/6945198761990557601' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-446237246'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-5433291843160608684</id><published>2011-09-19T10:35:32.679+02:00</published><updated>2011-09-19T10:35:32.679+02:00</updated><title type='text'>Un cambio que puede mejorar el rendimiento aún mas...</title><content type='html'>Un cambio que puede mejorar el rendimiento aún mas, es que que en el FORALL, sustituir el m_rowid.count, por m_rowid.last. &lt;br /&gt;&lt;br /&gt;En este caso, que las tablas cargan 100 elementos no se notara mucho, pero cuando se carga un número mucho mas grande si se nota el cambio, ya que no tarda lo mismo Oracle en decirte cuantos elementos hay que cual es el último elemento.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/5433291843160608684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/6945198761990557601/comments/default/5433291843160608684'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html?showComment=1316421332679#c5433291843160608684' title=''/><author><name>Manuel</name><uri>http://www.blogger.com/profile/09683793750081544948</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2011/09/clausula-bulk-collect-plsql.html' ref='tag:blogger.com,1999:blog-26801181.post-6945198761990557601' source='http://www.blogger.com/feeds/26801181/posts/default/6945198761990557601' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1681535210'/></entry></feed>
