Welcome Guest Search | Active Topics | Log In | Register

6 Pages «<3456>
YAF v1.9.1.8 for .NET v2.0 (Dated:3/27/2008) Options · View
jdadojr
#61 Posted : Tuesday, April 08, 2008 8:35:43 AM

Rank: YAF Forumling


Joined: 4/2/2008
Posts: 9
Hi,

I tried to add 40K users and with lots of categories and subcategories and
the result is sql timeout.

I debug and found out that calling the sp. yaf_forum_moderators, specfically
the view named [yaf_vaccessfull] is causing the very long access time.

Digging deeper this 2nd union on the yaf_vaccessfull, aggravates everything
select
b.UserID,
c.ForumID,
ReadAccess = convert(int,d.Flags & 1),
PostAccess = convert(int,d.Flags & 2),
ReplyAccess = convert(int,d.Flags & 4),
PriorityAccess = convert(int,d.Flags & Cool,
PollAccess = convert(int,d.Flags & 16),
VoteAccess = convert(int,d.Flags & 32),
ModeratorAccess = convert(int,d.Flags & 64),
EditAccess = convert(int,d.Flags & 12Cool,
DeleteAccess = convert(int,d.Flags & 256),
UploadAccess = convert(int,d.Flags & 512),
DownloadAccess = convert(int,d.Flags & 1024),
AdminGroup = convert(int,e.Flags & 1)
from
[dbo].[yaf_UserGroup] b
INNER JOIN [dbo].[yaf_ForumAccess] c on c.GroupID=b.GroupID
INNER JOIN [dbo].[yaf_AccessMask] d on d.AccessMaskID=c.AccessMaskID
INNER JOIN [dbo].[yaf_Group] e on e.GroupID=b.GroupID

this will return more than 3Million rows on a 40k user.


I think we may need to optimize this yaf_vaccessfull









Jaben
#62 Posted : Tuesday, April 08, 2008 10:50:08 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,737
Location: Honolulu, HI
It's optimized in future versions.
"Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin

jdadojr
#63 Posted : Wednesday, April 09, 2008 12:01:44 AM

Rank: YAF Forumling


Joined: 4/2/2008
Posts: 9
I also used the future version which is the 1.9.3 and it is still the same yaf_vaccessfull.
I also found that the yaf_forum_listread which uses the function lasttopic,lastposted also suffers with sql timeout
because it process every row that the yaf_vaccess returns.

What i have done for now is to modify the yaf_forum_moderators and create a new view (yav_vaccessfull_mods)
to only return list of moderators (64 flags) only.
On the yaf_forum_listread I just replace the function with the b.lasttopicid (for the meantime, i dont know the consequence of this yet).

Now its much faster ano no sql timeout.

Later I will try look into mail_list and moderate.
zendear
#64 Posted : Thursday, April 10, 2008 3:18:15 PM

Rank: YAF Forumling


Joined: 2/7/2008
Posts: 6
Location: FL
Hi All,

Is there any sort of database migration script for going from 1.9.1.6 to 1.9.1.8?

If not, I'd be happy to write one this evening and share it. I just didn't want to re-invent the wheel.

Thanks!
agibby5
#65 Posted : Thursday, April 10, 2008 3:23:07 PM
Rank: Member


Joined: 3/5/2008
Posts: 14
When I installed .8, I was prompted with the install screen. It notes that if you're upgrading it will perform differently than if you were just installing. I believe that it runs the new scripts to install the changes into the database from .6 to .8.
agibby5
#66 Posted : Thursday, April 10, 2008 3:24:34 PM
Rank: Member


Joined: 3/5/2008
Posts: 14
agibby5 wrote:
When I installed .8, I was prompted with the install screen. It notes that if you're upgrading it will perform differently than if you were just installing. I believe that it runs the new scripts to install the changes into the database from .6 to .8.




Also:

Mek wrote:
yup, the order to be run is on the forums somewhere or just try running /install/default.aspx?forceupgrade=1


from: this post
sparrow
#67 Posted : Friday, April 18, 2008 4:40:29 AM

Rank: YAF Forumling


Joined: 4/17/2008
Posts: 2
Location: RI
ok im a super noob when it comes to this stuff but i have a site called vscrubs.com and have it hosed with godaddy. Im trying to update from .7 to .8 but i have NO IDEA what im doing..... please help!
thanks
~sparrow~
tmostuff
#68 Posted : Friday, April 18, 2008 6:55:38 AM

Rank: YAF Forumling


Joined: 4/18/2008
Posts: 1
Hello...

I'm a real newbie here but here goes:

I'm running 1.9.1.7 that was automatically from the GoDaddy site.

Which of the new versions do I need to load to be updated?

Do I have to copy the entire zip file and unzip it on the host or unzip it on my hard drive and upload individual files?

Thanks!
Jaben
#69 Posted : Friday, April 18, 2008 7:48:20 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,737
Location: Honolulu, HI
Unzip on your local computer and then FTP to your GoDaddy account.

Upload and overwrite all the files EXCEPT for your yafnet.config and web.config files.
"Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin

samsi
#70 Posted : Sunday, May 04, 2008 11:21:20 AM

Rank: YAF Forumling




Joined: 1/15/2008
Posts: 5
Location: Bucharest, Romania
I've upgraded from 1.9.1.6 to 1.9.1.8, and i cannot see anymore the images attached to posts. Need help!
samsi
#71 Posted : Sunday, May 04, 2008 2:00:06 PM

Rank: YAF Forumling




Joined: 1/15/2008
Posts: 5
Location: Bucharest, Romania
I've solved the problem. Because I copyied the forum from "forum" directory to "forum1" directory, some security permissions were lost. I've granted full access permissions to NETWORK SERVICES for upload directory and the images are OK now.
test2005
#72 Posted : Sunday, May 04, 2008 10:40:11 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 698
Location: Italy

Glad you got it working, and thanks for posting the solution to your particular problem. It will help others!

Razz

.....the man in black fled across the desert..........and the gunslinger followed.....

thargaung
#73 Posted : Sunday, May 25, 2008 8:34:09 AM

Rank: YAF Forumling


Joined: 5/25/2008
Posts: 1
Location: singapore
Hi there,

Now i am using that Yet Another Forum.net version 1.9.1.8.
So can i remove your footer copyright text.
If we can remove it, could you tell me how to remove.
Thanks
RikoNaz
#74 Posted : Monday, May 26, 2008 5:00:07 AM
Rank: Member


Joined: 12/27/2007
Posts: 23
Location: fl
I get the following error when attempting to upgrade my version from .7 to .8
seems like the database version isnt updating for me.

im running windows sever 2003 with vs 2008 and sql 2005.


Steviepunk
#75 Posted : Tuesday, May 27, 2008 12:31:27 PM

Rank: YAF Forumling


Joined: 4/5/2007
Posts: 5
RikoNaz,
Did you have the Full-Text search option available on the version you are updating from?

I remember getting a notice about Full-text searching not being available on my DB when I installed .8 fresh.

Does the forum upgrade work anyway? If so, it could be that the required components of SQL server for Full-text searching are not available and the message you have received is 'harmless'.



Now for my own problem, I've got a few installs of .8 and I've tried to disable the display of the page generation time, however the times are still showing at the bottom. Other than change the option in admin, is there anything else I need to do? (had a quick look over this thread but didn't see this mentioned)
Users browsing this topic
Guest (2)
6 Pages «<3456>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC1 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.137 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET