# | Seconds Since First Hit | Trace | Command Type | Command Text | Parameters | Execution Time |
---|---|---|---|---|---|---|
1. | 0 | DBInterface.GetDataTable; PageManager.LoadMiscContent; PageManager.get_MiscContent; MasterPage.Page_Load; show | StoredProcedure | Content_LoadMiscContent | - | 0 |
2. | 0.0156419 | DBInterface.GetDataTable; HTMLContent.GetHTMLContent; HTMLContent..ctor; MasterPage.get_HtmlContent; show | Text | SELECT TOP(1) HTMLArticles.ID AS ArticleID, HTMLContent.ID, PageTitle, PageMetaDesc, PageMetaKwords, PageHeading, PageContent, PageContent2, PageContent3, PageContent4, PageContent5, PageContent6, StartDate, EndDate, HTMLContent.Thumbnail, NumLatestArticles, HasArticles, UserControl, COALESCE(PageLayout,0) As PageLayout FROM HTMLContent LEFT OUTER JOIN HTMLArticles ON HTMLContent.ID = HTMLArticles.ContentID WHERE HTMLContent.SiteID = 1 AND PageKey = '/support/custom-product-request/default.aspx' show | - | 0.0156419 |
3. | 0.0156419 | DBInterface.GetDataTable; PageManager.LoadPageLinks; PageManager.get_PageLinks; HTMLContent.GetHTMLHeaderLinks; show | StoredProcedure | Content_LoadPageLinks | - | 0 |
4. | 0.0312486 | DBInterface.GetDataTable; BaseUser.GetDefaultSearch; UserSession.get_DefaultSearchAttribute; PageManager.get_CategoryMenu; show | StoredProcedure | [dbo].[DefaultSearchAttributeGetByUserID] | @g_UserID =4b4b4c5d-a82b-4484-8bbe-9cdf9a3b7816 |
0 |
5. | 0.0312486 | DBInterface.GetDataTable; CatalogCategoryMenu.LoadCategoryByParentCategory; CatalogCategoryMenu..ctor; PageManager.get_CategoryMenu; show | StoredProcedure | [dbo].[CatalogCategoryListForMenus] | @SiteID=1 @ShowHidden=False |
0 |
6. | 0.1250005 | DBInterface.GetDataTable; Menu.GetMenuContent; Menu.get_MenuContent; MasterPage.Page_Load; show | Text | DECLARE @StartingID INT; SET @StartingID = 0; DECLARE @Tree TABLE(TreeID INT IDENTITY PRIMARY KEY, Level INT, ParentTreeID INT, [Path] VARCHAR(2000), PageID_Path VARCHAR(2000), PageID INT NOT NULL); DECLARE @RowCount INT, @Level INT, @DelCount INT; SET NOCOUNT ON; SET @Level = 0; INSERT INTO @Tree(PageID, Level) VALUES (@StartingID, @Level); SET @RowCount = @@ROWCOUNT; UPDATE @Tree SET Path = STR(TreeID, 10, 0) + '.', PageID_Path = CAST(PageID AS VARCHAR(10)) + '\'; WHILE @RowCount > 0 BEGIN SET @Level = @Level + 1; INSERT INTO @Tree(Level, ParentTreeID, PageID) SELECT @Level, t.TreeId, PageURLs.ID FROM PageURLs LEFT OUTER JOIN @Tree t ON ISNULL(PageURLs.ParentID,0) = t.PageID AND t.Level = (@Level - 1) INNER JOIN HTMLContent ON HTMLContent.ID = PageURLs.EntityID LEFT OUTER JOIN HTMLContent_XREF ON HTMLContent.ID = HTMLContent_XREF.ContentID WHERE 1=1 AND ( 1=1 AND HTMLContent.SiteID = 1 AND PageURLs.[Type] = 'content' AND HTMLContent.IsMenuItem = 'True' AND @Level <= 20 ) ORDER BY COALESCE(OrderPriority, 1000), PageKey ; SET @RowCount = @@ROWCOUNT; UPDATE t1 SET t1.[Path] = t2.[Path] + STR(t1.TreeID, 10, 0) + '.', t1.PageID_Path = t2.PageID_Path + CAST(t1.PageID AS VARCHAR(10)) + '\' FROM @Tree t1 INNER JOIN @Tree t2 ON t1.ParentTreeID = t2.TreeID WHERE t1.Level = @Level AND t2.PageID_Path NOT LIKE '%' + CAST(t1.PageID AS VARCHAR(10)) + '\%'; DELETE FROM @Tree WHERE PageID_Path IS NULL; SET @DelCount = @@ROWCOUNT; SET @RowCount = (@RowCount - @DelCount); END; SELECT [Path], t.PageID, t.Level , (SELECT COUNT(HTMLContent_XREF1.ID) FROM HTMLContent_XREF AS HTMLContent_XREF1 LEFT JOIN HTMLArticles AS HTMLArticles1 ON HTMLContent_XREF1.ContentID = HTMLArticles1.ContentID LEFT JOIN HTMLContent AS HTMLContent1 ON HTMLContent1.ID = HTMLContent_XREF1.ContentID WHERE HTMLContent_XREF1.ParentContentID = HTMLContent.ID AND (HTMLContent1.IsMenuItem = 'True' OR HTMLContent1.ID IS NULL) AND HTMLArticles1.ID IS NULL) As NumChildren, HTMLContent.ID, HTMLContent.PageKey, HTMLContent.IsMenuItem, HTMLContent.MenuText, HTMLContent.MenuURL, HTMLContent.PageHeading, HTMLContent.HasArticles, HTMLContent_XREF.ParentContentID FROM @Tree t INNER JOIN PageURLs ON t.PageID = PageURLs.ID INNER JOIN HTMLContent ON HTMLContent.ID = PageURLs.EntityID LEFT OUTER JOIN HTMLContent_XREF ON HTMLContent.ID = HTMLContent_XREF.ContentID WHERE 1=1 ORDER BY [Path] ; show | - | 0.0624624 |
7. | 0.1875281 | DBInterface.GetDataTable; Menu.GetMenuContent; Menu.get_MenuContent; MasterPage.Page_Load; show | Text | DECLARE @StartingID INT; SET @StartingID = 0; DECLARE @Tree TABLE(TreeID INT IDENTITY PRIMARY KEY, Level INT, ParentTreeID INT, [Path] VARCHAR(2000), PageID_Path VARCHAR(2000), PageID INT NOT NULL); DECLARE @RowCount INT, @Level INT, @DelCount INT; SET NOCOUNT ON; SET @Level = 0; INSERT INTO @Tree(PageID, Level) VALUES (@StartingID, @Level); SET @RowCount = @@ROWCOUNT; UPDATE @Tree SET Path = STR(TreeID, 10, 0) + '.', PageID_Path = CAST(PageID AS VARCHAR(10)) + '\'; WHILE @RowCount > 0 BEGIN SET @Level = @Level + 1; INSERT INTO @Tree(Level, ParentTreeID, PageID) SELECT @Level, t.TreeId, PageURLs.ID FROM PageURLs LEFT OUTER JOIN @Tree t ON ISNULL(PageURLs.ParentID,0) = t.PageID AND t.Level = (@Level - 1) INNER JOIN HTMLContent ON HTMLContent.ID = PageURLs.EntityID LEFT OUTER JOIN HTMLContent_XREF ON HTMLContent.ID = HTMLContent_XREF.ContentID WHERE 1=1 AND ( 1=1 AND HTMLContent.SiteID = 1 AND PageURLs.[Type] = 'content' AND HTMLContent.IsMenuItem = 'True' AND @Level <= 20 ) ORDER BY COALESCE(OrderPriority, 1000), PageKey ; SET @RowCount = @@ROWCOUNT; UPDATE t1 SET t1.[Path] = t2.[Path] + STR(t1.TreeID, 10, 0) + '.', t1.PageID_Path = t2.PageID_Path + CAST(t1.PageID AS VARCHAR(10)) + '\' FROM @Tree t1 INNER JOIN @Tree t2 ON t1.ParentTreeID = t2.TreeID WHERE t1.Level = @Level AND t2.PageID_Path NOT LIKE '%' + CAST(t1.PageID AS VARCHAR(10)) + '\%'; DELETE FROM @Tree WHERE PageID_Path IS NULL; SET @DelCount = @@ROWCOUNT; SET @RowCount = (@RowCount - @DelCount); END; SELECT [Path], t.PageID, t.Level , (SELECT COUNT(HTMLContent_XREF1.ID) FROM HTMLContent_XREF AS HTMLContent_XREF1 LEFT JOIN HTMLArticles AS HTMLArticles1 ON HTMLContent_XREF1.ContentID = HTMLArticles1.ContentID LEFT JOIN HTMLContent AS HTMLContent1 ON HTMLContent1.ID = HTMLContent_XREF1.ContentID WHERE HTMLContent_XREF1.ParentContentID = HTMLContent.ID AND (HTMLContent1.IsMenuItem = 'True' OR HTMLContent1.ID IS NULL) AND HTMLArticles1.ID IS NULL) As NumChildren, HTMLContent.ID, HTMLContent.PageKey, HTMLContent.IsMenuItem, HTMLContent.MenuText, HTMLContent.MenuURL, HTMLContent.PageHeading, HTMLContent.HasArticles, HTMLContent_XREF.ParentContentID FROM @Tree t INNER JOIN PageURLs ON t.PageID = PageURLs.ID INNER JOIN HTMLContent ON HTMLContent.ID = PageURLs.EntityID LEFT OUTER JOIN HTMLContent_XREF ON HTMLContent.ID = HTMLContent_XREF.ContentID WHERE 1=1 ORDER BY [Path] ; show | - | 0.0625276 |
8. | 0.2187561 | DBInterface.GetDataTable; ContentPage.LoadContentByPageKey; ContentPage..ctor; PageLayoutController.Page_Load; show | StoredProcedure | Content_LoadByPageKey | @PageKey=/support/custom-product-request/default.aspx @SiteID=1 |
0 |
9. | 0.2500041 | DBInterface.GetDataTable; FormBuilder.getformIDByPageKey; FormBuilder_v2_0.Page_Init; Control.OnInit; show | Text | SELECT FormID FROM FormBuilderPageKeyMap WHERE PageKey = '/support/custom-product-request/default.aspx'; show | - | 0 |
10. | 0.2656288 | DBInterface.GetDataTable; ContentPage.LoadContentByPageKey; ContentPage..ctor; PageLayout0.Page_Load; show | StoredProcedure | Content_LoadByPageKey | @PageKey=/support/custom-product-request/default.aspx @SiteID=1 |
0 |
11. | 0.2656288 | DBInterface.GetDataTable; HTMLContent.GetHTMLContent; HTMLContent..ctor; Breadcrumb.get_HtmlContent; show | Text | SELECT TOP(1) HTMLArticles.ID AS ArticleID, HTMLContent.ID, PageTitle, PageMetaDesc, PageMetaKwords, PageHeading, PageContent, PageContent2, PageContent3, PageContent4, PageContent5, PageContent6, StartDate, EndDate, HTMLContent.Thumbnail, NumLatestArticles, HasArticles, UserControl, COALESCE(PageLayout,0) As PageLayout FROM HTMLContent LEFT OUTER JOIN HTMLArticles ON HTMLContent.ID = HTMLArticles.ContentID WHERE HTMLContent.SiteID = 1 AND PageKey = '/support/custom-product-request/default.aspx' show | - | 0 |
12. | 0.2656288 | DBInterface.GetDataTable; Breadcrumb.LoadBreadcrumb; Breadcrumb.Page_Load; Control.OnLoad; show | StoredProcedure | HTMLContentBreadcrumb | SiteID=1 ContentID=1204 |
0 |
13. | 0.2968804 | DBInterface.GetDataTable; CartManager.LoadCartItems; CartManager.get_CartItems; MasterPage.UpdateCartTotals; show | StoredProcedure | [dbo].[Cart_LoadByUserID] | @UserID=4b4b4c5d-a82b-4484-8bbe-9cdf9a3b7816 @SiteID=1 |
0.0156064 |
Total DB Execution Time | 0.1562383 |
Cache Key | Cache Value |
---|---|
LeftMenu |
|
PageManager_Cache_PageLinks | |
TopMenu |
|
VirtualSiteProperties-brscommercedev.braveriversolutions.com | E_Com_Web_App.BRS.CMS.VirtualSiteProperties |
CategoryMenu_1 | |
VirtualCatalogInfo-brscommercedev.braveriversolutions.com | |
PageManager_Cache_MiscContent | System.Collections.Generic.Dictionary`2[System.String,System.String] |
Session Key | Session Value |
---|---|
UserId | 4b4b4c5d-a82b-4484-8bbe-9cdf9a3b7816 |
IsDynamicallyGeneratedUserId | True |
AdminLastSitePage | /support/custom-product-request/default.aspx |
AdminLastPage | /GetContent.aspx?PageKey=%2fsupport%2fcustom-product-request%2fdefault.aspx&unq=4/6/2025 5:14:50 AM |
OrderNumber |
Section | Execution Time |
---|---|
DBInterface.vb | 0 |
MasterPage.master | 0.4219051 |
DeveloperTools.ascx | 0.0156686 |