Re: [Info-Ingres] Generate 1 million rows of unique data - Fridayfun

This is a discussion on Re: [Info-Ingres] Generate 1 million rows of unique data - Fridayfun within the Ingres Database forums in Other Databases category; On Oct 24, 2008, at 10:50 PM, Paul White wrote: > > Can someone say why the transaction log fills with over 300Mb of > stuff? > And why these two cases perform so differently? > > create table millions ... with nojournaling ; \g > insert into millions select .... ; \g > 240 seconds > > and > > create table millions as > select .... with nojournaling ; \g > 11 seconds > Trace point op149 will explain it. The first uses row-by-row PUT, the second uses bulk LOAD. I made a mod at Datallegro to do insert-select with bulk LOAD, but only for non-journaled heaps. It was a fairly intrusive change so ...

Go Back   Database Forum > Other Databases > Ingres Database

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-25-2008, 07:42 AM
Default Re: [Info-Ingres] Generate 1 million rows of unique data - Fridayfun


On Oct 24, 2008, at 10:50 PM, Paul White wrote:

>
> Can someone say why the transaction log fills with over 300Mb of
> stuff?
> And why these two cases perform so differently?
>
> create table millions ... with nojournaling ; \g
> insert into millions select .... ; \g
> 240 seconds
>
> and
>
> create table millions as
> select .... with nojournaling ; \g
> 11 seconds
>


Trace point op149 will explain it. The first uses row-by-row PUT,
the second uses bulk LOAD.

I made a mod at Datallegro to do insert-select with bulk LOAD, but
only for non-journaled heaps. It was a fairly intrusive change so
we haven't propagated it to the main Ingres code yet -- but it's
on the list.

(likewise, create as select with LOAD when the table is journaled
but the database is not.)

Karl

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:36 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.