Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Batch delete members
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Batch delete members

 Post Reply Post Reply
Author
TippTeam View Drop Down
Newbie
Newbie


Joined: 12 March 2014
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote TippTeam Quote  Post ReplyReply Direct Link To This Post Topic: Batch delete members
    Posted: 12 March 2014 at 8:26pm
Hi Bruce, Hi WebWiz Team

Using a very old 9.55 Version. Just on my way to buy the newest one premium. But before upgrade i tried to delete old things ...

Trying to use the batch delete member tool. About 70'000 users to delete i think. I am always running in a server timeout (asp).

On IIS i changed already to 2000 second time out. Any idea? Maybe a change in a script setting the time out with Server.ScriptTimeout manually? Which file i have to make this change?

Or you have a stored procedure i can use?

thank you very much for your support and the great work
TippTeam

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (1) Thanks(1)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2014 at 9:41am
The batch delete tool has to do allot of work and deleting 70,000 members would take many hours.

The only solution would be to keep running the tool or just leave those members in the database.
Back to Top
TippTeam View Drop Down
Newbie
Newbie


Joined: 12 March 2014
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote TippTeam Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2014 at 9:52am

Cry Sure this is my false. Better do this on a regulary base.

Anyway - thanks for the feedback. Do you have a clue if this is working in the newer forum version faster? So i upgrade first and then delete? (Hardware is not a problem - Really HighEnd Servers)
 
Will keep you UpToDate.
Back to Top
TippTeam View Drop Down
Newbie
Newbie


Joined: 12 March 2014
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote TippTeam Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2014 at 11:37am
Hi Bruce
 
I walked an other way. I am sorry, but took a look in the code of the admin_batch_delete_members.asp .
 
And for each table who is connected in this batch process i used an SQL statement like this:
 
delete from dbo.xxxxThread where Author_ID in
(
SELECT xxxxAuthor.Author_ID FROM WWF9Author
WHERE (xxxxAuthor.Join_date < GetDate() - 720 AND xxxxAuthor.No_of_posts = 0) AND xxxxAuthor.Author_ID > 2
)
In 15min everything was done. 14min i used to understand, write the code and test. Maybe its an good idea to use in the next version something like this. Hint: instead of the "IN"-Statement in the SQL above you can also use an "inner join". Maybe this is even more better SQL way.
 
best regards and thx for the good work
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.