[PonyORM-list] Pony startup performance

Alexander Kozlovsky alexander.kozlovsky at gmail.com
Thu Aug 13 21:34:18 UTC 2015


Hi Jake!

I think it is a good idea to check indexes too. It would be great if you
open corresponding issue on the GitHub!


Best,
Alexander

On Thu, Aug 13, 2015 at 5:02 PM, Jake Austwick <jake.austwick at gmail.com>
wrote:

> Another thing to note about these checks is they seem to verify the
> correct columns are in place, but they don’t verify the correct indexes
> are; this has caught me out several times. I think if the checks are in
> place, they should check indexes too.
>
> +1 for disabling them explicitly too.
>
> Thanks,
> ------------------
> Jake
> http://jakeaustwick.me/
>
> On Thursday, 13 August 2015 at 15:00, Matthew Bell wrote:
>
> I am using pony with python-rq, which loads a fresh process for each job.
> When loading a decent number of models, this means that a lot of CPU is
> being used. A lot of the pony works seems to be verifying that models and
> the database are correct.
>
> Would it be possible to explicitly disable these checks when needed (when
> calling db.generate_mapping)?
>
> Thanks,
>
> Matt
>
> --
> Regards,
>
> Matthew Bell
> _______________________________________________
> ponyorm-list mailing list
> ponyorm-list at ponyorm.com
> /ponyorm-list
>
>
>
> _______________________________________________
> ponyorm-list mailing list
> ponyorm-list at ponyorm.com
> /ponyorm-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20150814/abeb5960/attachment.html>


More information about the ponyorm-list mailing list