|
|
|
 |

July 17th, 2008, 03:39 PM
|
 |
Major
|
|
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
I notice you mentioned in the Dom 3 forum that about 100000 PMs were taking longer than everything else put together. Considering there are over 5 times that many posts alone, plus the user list and various other data on top of that, I can't think of any reasonable explanation for it other than an index or constraint requiring excessive redundant checking.
My first guess would be that the PM content column has a unique constraint but no index, which would force a string comparison of each and every PM with each and every other PM. This isn't that big a deal in normal use when you only have to worry about one new PM at a time, but doing 100k at once takes forever. Removing the constraint in this case would drop the import time immensely. Creating an index for it instead would greatly reduce the number of comparisons required, but the index itself would take some extra resources to maintain. Assuming my guess is correct, I would first try creating an index for the column and see how much that helps. If it still takes too long, then remove the constraint entirely before importing and then see if it can be added back in a reasonable amount of time.
Edit: Then again, I don't know that much about how most databases handle indexes on strings specifically, so it's possible that it does have an index on PM content and that removing that index could help. I doubt this is the case, but it might be possible.
|

July 17th, 2008, 04:57 PM
|
 |
Lieutenant Colonel
|
|
Join Date: Jun 2004
Location: Lancaster, OH, USA
Posts: 1,250
Thanks: 28
Thanked 74 Times in 49 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
Like I said, I don't know all the finer points of this sort of thing. I do know what Richard did to speed up the main part of the import was to take off the indexing, but I don't think the PMs work the same way and we still haven't figured out what the total time will be once we put the index back on at the end because we haven't had a complete, successful import to try it on yet since the PM part failed last time.
I don't really like talking about all of this because it's not my area of expertise and I only know a little bit about everything Richard is doing. He's the back end, I'm the one putting in modifications, tweaking settings, importing smilies, etc.
__________________
"All that is necessary for the triumph of evil is that good men do nothing."
For those looking for  with this forum, please see Annette as I am retired.
|

July 21st, 2008, 01:22 PM
|
 |
Colonel
|
|
Join Date: Jun 2002
Location: tampa, fl
Posts: 1,511
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
For someone who's still has one foot in the 20th century, what the heck is a PM?
|

July 21st, 2008, 01:30 PM
|
 |
General
|
|
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
Private message 
__________________
The Ed draws near! What dost thou deaux?
|

July 21st, 2008, 01:31 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
"Private Messages" existed for much of the latter decade of the 20th century. 
|

July 21st, 2008, 01:52 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
...So less than 10%?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|

July 23rd, 2008, 10:25 PM
|
 |
First Lieutenant
|
|
Join Date: May 2003
Location: Gettysburg Sector
Posts: 785
Thanks: 7
Thanked 5 Times in 5 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
Oh, you are all very very wrong.
Private Messages have existed for as long as there has been children passing private messages in class. This of course was always accompanied by the Department of Homeland Security - formerly known as Teachers - whom would intercept and read them randomly and to your embarrassment.
|

July 24th, 2008, 01:32 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: IMPORTANT ANNOUNCEMENT REGARDING PMs!
Didn't say they didn't exist before the 90s! They were just horribly inefficient, dependent upon the sneakernet.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|