Some size concerns with old 7.x databases in Gold
Posted: Sat Aug 13, 2016 4:19 pm
I've been moving sites for the past two weeks to my new-and-improved hosting platform. During the course of the move, I noticed a few of the larger sites had large SQL databases, like 7gb-10gb in size.
At first I dismissed it thinking "they're old, they've got a ton of orders." But as I thought about it more, it still bothered me. So I dug a little deeper (yea, dangerous I know)...
In every case I found a full-text search catalog ac_SearchCatalog in the database and it's a massive file. For one client, the total database size was 7.2 gb. The search catalog was 6 gb of it.
By clicking the Rebuild Index in the admin->website->indexes, the search catalog immediately dropped to 108 mb about 5 seconds later. Now the database size is just shy of 1 gb after I did a database resize in SQL Management Studio.
That's a whopping difference in database size. And it brings to mind a few questions right away:
A) Why isn't that being done automatically? Seems awfully simple to slap that rebuild-index into the maintenance routine.
B) How on earth did the full-text search catalog keep growing and growing and growing? How is Able utilizing it, or is it simply a feature managed by SQL itself?
C) Shouldn't there be some sort of monitor on that puppy if it's got the potential to grow to such massive proportions? At least some sort of dashboard warning would be very helpful.
D) Finally, what are the implications here? Are searches going to suck for a while? Will they be slower? Will they actually improve because the accuracy is somehow better?
At first I dismissed it thinking "they're old, they've got a ton of orders." But as I thought about it more, it still bothered me. So I dug a little deeper (yea, dangerous I know)...
In every case I found a full-text search catalog ac_SearchCatalog in the database and it's a massive file. For one client, the total database size was 7.2 gb. The search catalog was 6 gb of it.
By clicking the Rebuild Index in the admin->website->indexes, the search catalog immediately dropped to 108 mb about 5 seconds later. Now the database size is just shy of 1 gb after I did a database resize in SQL Management Studio.
That's a whopping difference in database size. And it brings to mind a few questions right away:
A) Why isn't that being done automatically? Seems awfully simple to slap that rebuild-index into the maintenance routine.
B) How on earth did the full-text search catalog keep growing and growing and growing? How is Able utilizing it, or is it simply a feature managed by SQL itself?
C) Shouldn't there be some sort of monitor on that puppy if it's got the potential to grow to such massive proportions? At least some sort of dashboard warning would be very helpful.
D) Finally, what are the implications here? Are searches going to suck for a while? Will they be slower? Will they actually improve because the accuracy is somehow better?