Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Why doesn't WWF 8 use stored procedures?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Why doesn't WWF 8 use stored procedures?

 Post Reply Post Reply
Author
Ozbboy View Drop Down
Newbie
Newbie
Avatar

Joined: 30 April 2005
Location: Australia
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ozbboy Quote  Post ReplyReply Direct Link To This Post Topic: Why doesn't WWF 8 use stored procedures?
    Posted: 26 July 2006 at 1:25am
Quick question for Borg,

Is there any particular reason to not use stored procedures in WWF 8?

I remember there being stored procedures in a version of 7 that i had installed..

Is it to accomodate for mysql???


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 (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2006 at 9:25am
Stored procedures where used in version 7, but they proved to be a real headache and made very little difference to performance.

By dropping stored procedures it meant that other techniques could be used to improve performance even further, also it meant that the software could be allot more flexible allowing for quite complex SQL Queries to be built on the fly.

The other draw back to stored procedures was that it was found in version 7, if a SQL Query needed to be changed between versions it meant that allot of users had difficulty in updating the stored procedures on their SQL Server Database.
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2006 at 8:01pm
Interesting... were your struggles with making the forum work with mysql? I always understood that stored procedures in sql were easier to manage, easier to code and improved performance.
 
I'm truly interested in your opinion as I'm in the process of writing some stored procedures at the moment.
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 (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2006 at 10:39am
mySQL has nothing to do with it in this case, as mySQL support for Web Wiz Forums was added at a later date.

Stored procedures can give extra performance, but in this case the amount of extra performance is so small it's not worth worrying about.

Allot of the SQL queries in version 8 are written on the fly for greater flexibility so that the user can select more options of how they want the pages displayed. These SQL queries can be quite complex and not really something that can be done easily with stored procedures or at all in some cases.

Also, in version 7 it was found that every time a new version was released that would update any SQL Query the stored procedures also needed to be updated which was very difficult for allot of users, and one of the things that Web Wiz Forums is trying to achieve is ease of setup and use.

Even though from version 7 to version 8 stored procedures where dropped for the SQL Server version, everyone has commented on how much better performance is, with many pages have a 2000% increase.

There are many ways to increase performance without having to go down the complex and troublesome root of stored procedures, epically with the complex, flexible, on the fly SQL used in web wiz forums.

Stored procedures can be very good and can improve performance, but it all depends on your situation. I prefer to use the best, and most practical technology for the situation at hand, instead of using technology, just because you can.


Edited by -boRg- - 28 July 2006 at 10:42am
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.