Home > Archive > SQL Anywhere database > December 2005 > FYI: How I solved/worked around my above problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author FYI: How I solved/worked around my above problem
Jason Boardman

2005-12-13, 8:24 pm

Just to throw this out there - here's how I fixed the previously stated
problem (in my first post: "help: dbisqlc hangs when deleting large # of
rows") for anyone who wants to file it away:

The problem: (using v 9.0.2.3169 / linux) when trying to delete large
numbers of rows in dbisqlc, it and the server would hang and i would
have to kill the process on both and restart. i unloaded and rebuilt
the database and still had the same problem.

How I fixed it: i unloaded the db, and hand-edited the reload.sql
command file and removed the entire "Reload Statistics" portion from it
before reloading. The db rebuilt fine and subsequently performed
perfectly when deleting any number of rows in any fashion i chose.

I don't know why this worked or even what the "Reload Statistics"
portion is for (it looks like maybe how to handle changes in page size
from unload to rebuild? but i dunno) but it did work for me in this
case. Perhaps a sybase-master can read this and post reasons why this
might have worked or what it may mean?

Jason Boardman
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com