Questions tagged [sql-database]

Question about the Sitecore SQL databases - content, reporting, sessions, ...

Filter by
Sorted by
Tagged with
3
votes
0answers
68 views

Sitecore 10.1 xConnect collection database multi-region scaling read-only performance

I have a multi-region Sitecore deployment with CDs in the US and the UK using Sitecore 8.2 with MongoDb as the xDb, like this: UK US CD1 ...
2
votes
3answers
914 views

Login failed for user 'masteruser'

I was moving my Sitecore 9.2 QA database in UAT in Azure PaaS. I have moved the web & master database and renamed the databases to UAT's database name. In connectionString.config we have changed ...
1
vote
1answer
78 views

“Execution Timeout Expired” exception while installing Sitecore 10.1

I was trying to install the latest Sitecore 10.1. While installing it, I got the below exception. [-------------- XConnectXP0_InstallWDP : WebDeploy ---------------------------] [WebDeploy]:[Path] C:\...
1
vote
1answer
54 views

Recommendation on number of Sitecore 9.3 xDB Shards?

Does Sitecore have any documentation on xDB shard sizing? Per Google analytics we have about 8M visitors per month, 20M sessions per month. All Anonymous users. Default is 2 shards, max is 18. ...
0
votes
1answer
39 views

1 CD in pair behind ELB loses connection to SQL

Sitecore 8.2 Update 3. Running two CDs behind ELB in AWS. Same region. This week, one of these CDs has twice lost it's ability to connect to the SQL server (according to the logs). Running SQL on RDS ...
1
vote
1answer
86 views

Is creating custom tables in the Sitecore content database bad?

We have a client that would like to create custom tables within one of the Sitecore content databases, either master or web. Is that a good or bad idea? My own opinion is that is a bad idea, for ...
0
votes
1answer
39 views

Sitecore PaaS Web DB spikes

We’ve just migrated from Sitecore 8.2.5 on-prem to 9.3 Azure PaaS. Performance seems ok most of the time, but we’re seeing regular spikes to 100% DTU on the web db. The db is standard S2 50 DTU and we’...
0
votes
0answers
26 views

Sitecore 9 Analytics - added user agent in the <excludedUserAgents> not working

We have Sitecore 9.0.2 based UAT and Live website in Azure PaaS environment. Before some time we have configured Sitecore analytics tracking in UAT and Live both. Now what happened is in both ...
0
votes
0answers
36 views

Sitecore 9.1.1 Database CPU crashing ocassionally - XDB query in suspect

I am having trouble debugging why my CPU utilization occasionally reaches 100%! The query I see which is taking time is ... RETURN ( SELECT TOP 1 [xdb_refdata].[DefinitionMonikers]....
0
votes
0answers
4 views

Sync token for the [InteractionFacets] table is no longer valid [duplicate]

I am getting an SQL exception in the XConnect application suddenly. ANd I am getting the error in Application insight in every minute. I have searched on the internet but didn't get any particular ...
0
votes
0answers
55 views

Sitecore 9.3 EXM - SQL timeout issue

While doing Marketing automation in the send email step I am seeing below error in the logs. It is continuously attempting to send email and logging this error. It is able to send the email sometimes. ...
1
vote
0answers
44 views

Sitecore 9.1 Content tree gets wiped out

I am facing a weird issue in my local instance the content tree home node subitems are getting deleted in a random frequency. I am restoring the master database every time this happens. I am running ...
0
votes
0answers
32 views

Sitecore 9.0.2 compatibility with MS SQL 2016 Standard SP2

We are currently using Sitecore 9.0.2 with MS SQL Standard Edition 2016 with ALWAYSON HA. The xDB is running on SP2-CU4 since always and is working fine. We recently upgraded the XM from SP1-CU15 to ...
2
votes
0answers
92 views

Getting exception while running the reporting database rebuild tool

I am trying to rebuild the reporting database using the URL, https://abc.com/sitecore/admin/RebuildReportingDB.aspx but every time getting the below error. The version of Sitecore we are using is 9.0....
3
votes
2answers
444 views

Secure Azure SQL database connection using a managed identity

We are currently hosting our Sitecore 9.1 initial release on premises, but want to move the complete solution into Azure. We want to use public services and not put our solution in an ASE. To secure ...
1
vote
0answers
60 views

SQL query against all xDB Shard databases

I am looking for a way on T-SQL to be able to query all the shards at same time. It looks like Sitecore is using a ShardManager that is used on code, which makes sense for them. But I used SQL a lot ...
1
vote
5answers
445 views

Access Custom SQL Database in Sitecore context

I'm using Sitecore 9.1.1. I have created a local custom database that have some tables with some records on SQL server. I need to programmatically insert and retrieve some records from this database ...
2
votes
1answer
76 views

Most cost effective way to add custom SQL server tables/database to Sitecore 9.1.1 PaaS installation

I'm looking for some guidance please, we have a small (~500Mb) custom SQL server database that we need to run alongside the standard Sitecore 9.1.1 databases. I'm also new to Azure so I apologies if ...
1
vote
2answers
322 views

Cannot open database error every time

I have a local Sitecore 8.2 instance. Whenever, I browse this instance for the first time in a day or each time I deploy a dll, it throws this error: Cannot open database "MySiteSitecore_Web" ...
2
votes
0answers
128 views

Migrate SQL Database to xConnect

Environment: Sitecore 9.2.0 and Data Exchange Framework 3.0 I want to import the data from SQL Database to xConnect using the Data Exchange Framework. SQL DB has a table called Users which contains ...
1
vote
0answers
96 views

How to execute stored procedure using Sitecore.Data.DataProviders.Sql.SqlDataApi

I am trying to execute SQL stored procedure from C# code using Sitecore data providers. I am using the SqlDataApi class from Sitecore.Data.DataProviders.Sql but not finding any method which accepts a ...
2
votes
1answer
171 views

YSOD When trying to open the login page - “No process is on the other end of the pipe” [closed]

I have 12 different instances (test purpose only) using this same SQL Server. All of the sudden, one of those (which was working fine until yesterday) started giving me this error when I try to open ...
5
votes
0answers
43 views

Is the Session DB Performance Boost still necessary?

I see that the section on optimizing SQL Session DB Performance that existed in the Sitecore 8.1 documentation no longer exists in the documentation for 9.1. Is this because the step is no longer ...
0
votes
1answer
62 views

Access Rights required for Session database

I configured private and shared session using SQL Provider, following this link After I deployed the Sitecore.Sessions.dacpac file, I tried to create a user for the database but it was failing with ...
1
vote
2answers
146 views

Best practices - Sitecore website in Prod - local or remote Sitecore databases?

Judging by how SIM works, and how pervasive SIM is... I assume the most common practice for QA and Prod, is the Database is local/on the same machine as the website. Is this indeed the suggested/...
3
votes
2answers
371 views

Database Server version while upgrading to Sitecore 9

I have a few Sitecore instances running on Sitecore 8.2/8.1 with databases on MS SQL 2012 and MongoDB for the xDB. I want to upgrade this instance to Sitecore 9. As I need MS SQL 2016 for the xDB I ...
2
votes
1answer
285 views

Where does SIM install the databases when installing a new Sitecore instance?

This must be documented somewhere but I'm not finding any good documentation on what SIM does when you install Sitecore 8.2 with it. I understand it creates a new web root folder on your local ...
4
votes
1answer
260 views

How To: Refresh environment A(QA) from environment B(Prod) after they're out of sync

I'm sure you've been in this spot. Client has a QA and a Prod environment, but over time they stopped using best practices, and they have only been authoring content/template changes in Prod, nothing ...
2
votes
3answers
668 views

msdeploy.exe : Error: .Net SqlClient Data Provider: Invalid object name 'Blobs'

I'm trying to install Sitecore Commerce v9.2. I had a few issues that I solved earlier. However, right now I'm getting a database error. When I check the database I can see two new Commerce ...
1
vote
2answers
668 views

How to remove media item from both blobs table and items table at the same time from sitecore master db?

I have added some images in sitecore media library. Those images are getting added in both dbo.Blobs and dbo.Items tables. I wanted to delete the image data from both the tables.But I don't know how ...
0
votes
0answers
175 views

Application Insights sql dependency error on History_GetTaskStateById

When looking into application insights a see most of the errors coming from: SQL: [xdb_processing_tasks].[History_GetTaskStateById] Returning error 50000 running Sitecore 9.0.2. The stored procedure ...
-1
votes
1answer
234 views

Could not find file …\Temp\…\Sitecore.core.dacpac

I am trying to package a local instance of sitecore 9, and keep running into an error after running the script provided by Sitecore. The error is as follows System.IO.FileNotFoundException: Could ...
1
vote
3answers
409 views

What is the purpose of Reference Database and Share Databases in Sitecore 9.x?

Sitecore 9.2 Once we installed Sitecore 9.x we can find reference database (sitecoreInsatnceName_ReferenceData) and share databases (sitecoreInsatnceName__Xdb.Collection.Shared0,...
0
votes
2answers
640 views

Installation Sqlcmd: Error - The client cannot connect to the server because the requested instance was not available [duplicate]

I'm trying to install Sitecore 9.1 Update 1 on my local machine. The script actually installs 7 databases like (MarketingAutomation, Messaging, Reporting), however when it comes to Sitecore databases ...
1
vote
3answers
526 views

Can SC_TICKET* keys be purged from the Properties table, and have tickets been moved elsewhere?

I'm troubleshooting an issue with slow logins on a Sitecore instance. As part of that investigation I've found a number of posts - such as Sitecore client and logon is very slow (properties table ...
1
vote
0answers
55 views

Error setting up mirroring on SQL databases after Sitecore upgrade

We have upgrade our website from Sitecore 8.2 to 9.1.1. As per sitecore upgrade guide I installed the XConnect separately and also restored Messaging, Processing Pools databases using dacpac files. I ...
6
votes
3answers
3k views

'sqlcmd' is not recognized at CreateShardApplicationDatabaseServerLoginSqlCmd step

I'm trying to install Sitecore 9 Update 1 XP0 topology and everything looks great until the step CreateShardApplicationDatabaseServerLoginSqlCmd The server I am running the installation was ...
2
votes
1answer
98 views

Sitecore Desktop database selection shows non-existent database

On my instance of Sitecore 8.2 Update 7, the database selection list in the lower right hand corner show two webs: There is only one web in publishing targets: And my connection strings only have ...
0
votes
3answers
436 views

Core and Master databases keep falling under recovery_pending state

We are on an upgraded instance and restoring Core and Master databases from an already running environment to a new one we are building. After the DB restore as soon as we start the app pool and ...
1
vote
1answer
236 views

Why is it important to have Core DB in Content Delivery Environment if i have static content sites?

What is the significance of having core database in CD Environment and which are all tables being used from CD Environment? Do we really need core DB for the below scenario? Sites are only ...
0
votes
1answer
83 views

What is the significance of end of Mainstream Support on SQL 2014 SP2 for Sitecore 8.x

According to Microsoft SQL 2014 SP2 loses Mainstream Support from Microsoft in July 2019. (https://support.microsoft.com/en-us/lifecycle/search/17645) Many Sitecore environments utilize this version ...
1
vote
0answers
41 views

Sitecore 8.2 update 3 mongodb conversion into sql server reporting db

We are using the Sitecore 8.2 update 3 version with MongoDB. The data is being captured in the MongoDB but Fact_Conversions table has no data. What actually is to be done to have data in this table....
2
votes
2answers
185 views

Should TransientRetryer be enabled for SQL Azure?

In Sitecore.config for Sitecore 9.0.2 I see the following comment: <!-- RETRYER Example transient retryer: <retryer disabled="false" type="Sitecore.Data.DataProviders....
0
votes
0answers
64 views

Eventqueue query crashing the CD site

I have a single CD CM 8.2 instance of sitecore. We have a job that is running at a particular time everyday which publishes around a 1000 items. Our CD server crashes everytime the job runs and the ...
42
votes
5answers
23k views

Is there a way to reset Sitecore admin password from database level?

I forgot my Sitecore admin password and was thinking a way to reset from database level. Is there a SQL query to reset Sitecore admin password ?
20
votes
2answers
2k views

Mongo vs SQL Server with Sitecore 9 Update 2

Sitecore recently launched the version 9.0.2 which supports the MongoDB for xConnect. Now, for a greenfield project which needs to kickoff on Sitecore 9.0.2, we have a choice between MS SQL Server or ...
0
votes
1answer
47 views

Get WFFM values and transpose them into Pivot table

I have a situation where I am stuck to create a query for fetching data from Wffm DB as Pivot, so please help FieldName Value -------------------------------- FirstName Joe MiddleName S ...
0
votes
1answer
370 views

Does sitecore 9.0.2 supports Azure SQL managed instance(Azure SQL Paas)?

Does sitecore 9.0.2 supports Azure SQL managed instance(Azure SQL Paas) ?
9
votes
2answers
2k views

Move users / roles / passwords to new core database

We are migrating from Sitecore 8.2 to 9.0.2 and decided to start with "fresh" core, web, and master databases, migrating content on top of blank databases. What is the most efficient method to ...
8
votes
1answer
446 views

Sitecore Site using custom database on custom site

Sitecore 9.0.1 I've tried to create a new site definition that's associated with a custom publishing target database. I have the database registered, publishing targets built, content completely ...