• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Ebijs
#1 Posted : Thursday, February 7, 2008 9:10:08 AM(UTC)
Ebijs

Rank: Member

Joined: 5/2/2004(UTC)
Posts: 109

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">Hello,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">We have major performance issues while searching products in our shop.<o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">In an earlier BVC4 and BVC5 versions we used full text search.<o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">This gave us an enormous search boost.<o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">We want to use the full text search on the new BVC 5.3.2 version.<o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">We saw a new stored procedure was used in the latest version (bvc_Product_StoreSearch_s)

This SP is totally different form earlier versions. This version is the slowest version we ever seen in BVC. A search is slow as 5 – 8 seconds to return records. We have over 15.000 items in the shop. We have a dedicated SQL 2005 server.<o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p>
Browsing the shop by category is just fine. Nice performance. (http://www.licht-geluid.nl/shop2/)
</o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB">Can someone give us some hints how to (re)build the bvc_Product_StoreSearch_s SP to search against the full text products database?

Ebijs.<o:p></o:p>
Marcus
#2 Posted : Thursday, February 7, 2008 9:34:56 AM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Ebjis,

The new store search procedure should by much FASTER and more complete for most users. We now have the option to turn OFF searching on specific fields that may slow down the procedure. There is no way for us to know your exact database configuration but I can assure you that with the new options you can configure searching to be much faster. If you have modified searching to use Full Text indexing or made other changes in the past to your database there is no way to guarantee our new code will perform the same as it would on a non-customized stock store database.
jetheredge
#3 Posted : Monday, February 11, 2008 3:43:10 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Depending on the size of your catalog the searches can be slow. SQL server is doing a textual search through every record in your database. Fields such as description can greatly increase the search time.
Justin Etheredge
Senior Software Engineer
BVSoftware
Ebijs
#4 Posted : Tuesday, February 12, 2008 9:18:38 AM(UTC)
Ebijs

Rank: Member

Joined: 5/2/2004(UTC)
Posts: 109

<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">I am doing some tests now with full text index, a new SP, some new code and Telerik components.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"> <o:p></o:p>

<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB">In our case a much better performance :-)<o:p></o:p>

<SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-language: EN-GB"> <o:p></o:p>

<SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Verdana">[color=#800080></FONT></U></A><SPAN]<o:p></o:p>

<SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p><FONT face="Times New Roman" size=3> [/color]</o:p>
jetheredge
#5 Posted : Tuesday, February 12, 2008 9:39:26 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Yes, in the future we hope to implement support for full text indexing, and moving to a separate "store search" stored proc was the first step. This way the store search can be changed independently of other parts of the store.
Justin Etheredge
Senior Software Engineer
BVSoftware
EM
#6 Posted : Sunday, February 24, 2008 6:15:34 PM(UTC)
EM

Rank: Member

Joined: 11/20/2007(UTC)
Posts: 6

It’s very slow and sometimes no results are returned (I guess it’s timing out but no error log). After resubmitting the same exact search then the results are coming back but still very slowly.

The following settings are selected for Search:
Display Image
Display Price
Show Price Range
Search Sku
Search Product Name
Search Long Description

The following settings are selected for Performance:
Auto Url Rewriting for Product
Record Customer Searches
Suggested Items Maximum Results 3
Recently Viewed Items maximum Results 3
Move Viewstate to Bottom of Page

Please help us identify what we’re doing wrong? We Only have 298 products.
jetheredge
#7 Posted : Tuesday, February 26, 2008 9:01:12 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

If you are getting very slow results with only 298 products then it sounds to me like you might be on an overloaded shared server. The Long Description (if they are really long) is what will kill performance, but there is no reason with only 298 products why you would be having slow results. We have had tens of thousands of products with snappy results.
Justin Etheredge
Senior Software Engineer
BVSoftware
Dean
#8 Posted : Tuesday, February 26, 2008 10:23:24 AM(UTC)
Dean

Rank: Member

Joined: 2/20/2005(UTC)
Posts: 282

I have about 800 products. I have most of the search fields turned off. If I search all categories with a single word, it takes about 4 seconds. Three words seems to be about 7 seconds on average. I guess that is not fast, but I don't expect it would make shoppers unhappy. I am using a dedi web server and a shared DB server.
jetheredge
#9 Posted : Thursday, February 28, 2008 8:55:33 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

How many items are you returning per page?
Justin Etheredge
Senior Software Engineer
BVSoftware
EM
#10 Posted : Thursday, February 28, 2008 8:53:47 PM(UTC)
EM

Rank: Member

Joined: 11/20/2007(UTC)
Posts: 6

Only 18
amarion
#11 Posted : Wednesday, February 4, 2009 5:35:03 PM(UTC)
amarion

Rank: Member

Joined: 2/4/2009(UTC)
Posts: 3

I'm also using BVC 5.3.2 for an e-commerce site that has about 9,700 rows in the bvc_Product table and about 17,000 rows in the bvc_ProductChoiceCombinations table.

When I run a simple keyword search (as shown in the code below) directly in Microsoft SQL Server 2005 Management Studio against SQL Server 2005 Developer Edition on my personal PC it takes 4 seconds to complete and returns about 15 rows matching.

This is on Windows XP Pro SP3 image running in a Microsoft VirtualPC image of 2GB RAM on a host that has 4GB RAM running Vista Business 64bit SP1 on an Intel Core 2 Duo 6300 CPU @ 1.86 GHz.

I then run this same query on the same database running on the customer's hosted server which has only 1GB RAM on Windows Server 2003 R2 SP2 on an Intel Xeon E5450 @ 3.00 GHz. The database is SQL Server 2005 Enterprise Edition. This machine is being hosted on a VMWare ESX server so I don't know how much of the CPU this particular virtual machine is getting from the host provider.

When I run the same query below in that environment, it takes 6 seconds to complete. The entire page load time from the submit button being clicked to the page completely rendered takes about 10 seconds.

I ran the query through SQL Profiler and found that is loops about 12,000 times calling bvc_ProductAvailableAndActive stored procedure. Does this mean the bvc_Product_StoreSearch_s stored procedure that is initially called ends up calling the bvc_ProductAvailableAndActive stored procedure for each row in the product table joined with the combinations table? Or something similar?

Seems to me something is inefficient with this procedure.

-- Start of SQL code to execute stored procedure

DECLARE @return_value int

EXEC @return_value = [dbo].[bvc_Product_StoreSearch_s]
@Keyword1 = N'brown',
@SearchSKU = 1,
@SearchProductName = 1,
@SearchMetaDescription = 1,
@SearchMetaKeywords = 1,
@SearchShortDescription = 1,
@SearchLongDescription = 1,
@SearchKeywords = 1,
@StartRowIndex = 0,
@MaximumRows = 15

SELECT 'Return Value' = @return_value

GO

-- End of SQL code

Please respond with any help you can provide and if you want my SQL Profiler *.trc output file, I can provide it.

Thanks.

Andre
Matt@9BallDesign
#12 Posted : Wednesday, February 4, 2009 9:28:45 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

Interested in seeing your findings if you removed a few of the parameters that tend to contain duplicate content.

@SearchSKU = 1,
@SearchProductName = 1,
@SearchMetaDescription = 0,
@SearchMetaKeywords = 0,
@SearchShortDescription = 1,
@SearchLongDescription = 0,
@SearchKeywords = 1,
@StartRowIndex = 0,
@MaximumRows = 15

OR

@SearchSKU = 1,
@SearchProductName = 1,
@SearchMetaDescription = 0,
@SearchMetaKeywords = 0,
@SearchShortDescription = 0,
@SearchLongDescription = 1,
@SearchKeywords = 1,
@StartRowIndex = 0,
@MaximumRows = 15
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
Marcus
#13 Posted : Thursday, February 5, 2009 7:34:53 AM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

amarion,

The looping through product available and active was fixed in version 5.4. Searches will be much faster if you upgrade.
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012