RE: [sqlalchemy] The cost of defer()

2013-07-19 Thread Gombas, Gabor
[mailto:sqlalchemy@googlegroups.com] On Behalf Of Michael Bayer Sent: 13 July 2013 22:46 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] The cost of defer() anyway, with some profiling of loading 1000 rows with six deferred cols, the function count with the defer was over 50K

Re: [sqlalchemy] The cost of defer()

2013-07-13 Thread Michael Bayer
Of Michael Bayer Sent: 11 July 2013 15:34 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] The cost of defer() the path would be to figure out if the logic of a per-query defer option can somehow be linked to the attribute when it hits its normal refresh logic - if those attribute

Re: [sqlalchemy] The cost of defer()

2013-07-11 Thread Michael Bayer
the path would be to figure out if the logic of a per-query defer option can somehow be linked to the attribute when it hits its normal refresh logic - if those attribute were set up as deferred at the mapper config level (where deferred is usually used), you wouldn't see this overhead since

RE: [sqlalchemy] The cost of defer()

2013-07-11 Thread Gombas, Gabor
is cheaper than not loading it. From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com] On Behalf Of Michael Bayer Sent: 11 July 2013 15:34 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] The cost of defer() the path would be to figure out if the logic of a per-query defer option

Re: [sqlalchemy] The cost of defer()

2013-07-11 Thread Michael Bayer
is cheaper than not loading it. From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com] On Behalf Of Michael Bayer Sent: 11 July 2013 15:34 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] The cost of defer() the path would be to figure out if the logic of a per

Re: [sqlalchemy] The cost of defer()

2013-07-11 Thread Michael Bayer
it. From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com] On Behalf Of Michael Bayer Sent: 11 July 2013 15:34 To: sqlalchemy@googlegroups.com Subject: Re: [sqlalchemy] The cost of defer() the path would be to figure out if the logic of a per-query defer option can