Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script optimization
#5
Also, if the table(s) have indexes, it can be beneficial to delete the indexes while inserting/updating many rows, and then readding the index when done. Otherwise, the db rebuilds the index at each update, making it very slow.
Reply


Messages In This Thread
script optimization - by gohanzdad - Feb-28-2017, 11:47 PM
RE: script optimization - by nilamo - Mar-01-2017, 12:53 AM
RE: script optimization - by gohanzdad - Mar-01-2017, 01:31 AM
RE: script optimization - by Ofnuts - Mar-01-2017, 08:04 AM
RE: script optimization - by nilamo - Mar-01-2017, 01:28 PM
RE: script optimization - by gohanzdad - Mar-01-2017, 03:39 PM
RE: script optimization - by gohanzdad - Mar-03-2017, 01:14 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020