Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sql-database]

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

1
vote
1answer
31 views

Sitecore 9 Update 2 - Azure Database Type and Sizes

We are in process of designing the infrastructure architecture to host sitecore 9 update 2 in azure. This requires us to appropriately size all the databases for Sitecore 9. Also I can't find any ...
3
votes
0answers
26 views

Sitecore 9.0.2 Installation with SQL Windows Authentication

We need to install Xconnect Xp0 instance (Sitecore 9.0.2) with SQL Windows Authentication, We don't have access to the SQL Server with SQL Authentication enabled. Can you Please help what all changes ...
4
votes
2answers
118 views

Why Sitecore 9 xDB on SQL server 2016?

My curiosity is to know more about the features which Microsoft has provided in the SQL server 2016 version which also allows the Sitecore to implement the xDB on the SQL Server 2016 itself, which ...
0
votes
0answers
14 views

PK_CommerceEntities index' page level locking disabled in SQL Server

Having some SQL Indexing issues with Commerce 8. During daily SQL Reindexing task, we're being thrown an error saying the PK_CommerceEntities cannot be reindexed because page level locking is ...
0
votes
2answers
60 views

What are the databases Installed by Sitecore Experience Commerce 9.0.2?

My motive behind asking this is, trying to understand the roles and responsibilities of each databases and differentiate them from the other database(Sitecore Experience Platform).
7
votes
1answer
149 views

Why Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection.ShardMapManager databases in Sitecore 9 are not Partially Contained?

I am wondering what are the reasons or maybe technical limitations all of Sitecore 9 databases to be Partially Contained except Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection....
2
votes
1answer
46 views

Rundown of Sitecore 9 XP SQL databases?

Could someone provide a rundown of Sitecore 9 XP SQL Server databases and their purpose? For example "Xdb.Processing.Pools"?
4
votes
0answers
32 views

Migrate SQL DB to Azure SQL

We are facing issues while moving an existing Sitecore master db from an on premise SQL Server instance to an Azure SQL Server. The BACPAC file is almost 5 GB. The above error appears on - Enabling ...
14
votes
2answers
692 views

Mongo vs SQL 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 ...
3
votes
2answers
91 views

Which databases does Sitecore 9.0.2 need for CMS only mode?

We are looking to roll out a deployment of Sitecore 9.0.2 in CMS only mode. Does it need all databases to run or can it work off: Core Master Web I'm happy we can run session inProc (provided thats ...
0
votes
1answer
30 views

Delete old records from WFFM 2.4 configured with Sitecore 7.2

We are using WFFM 2.4 with Sitecore 7.2 and have "save to database" action in many forms.As WFFM database size is more then 21 GB now, I am looking a script to remove old records. Please share if same ...
1
vote
0answers
49 views

Sitecore 8.1 with SQL Always ON

I know Sitecore 8.1 is not compatible with SQL Always ON as per Sitecore documentation. That is a feature released with 8.2. But, would anybody know why specifically it wouldn`t work? Thank you
2
votes
1answer
84 views

Why Sitecore 9 Azure installation having 5 different database ? Not able to connect to these database using local SQL MS (Sitecore PaaS)

When sitecore 9 using new Azure setup has been installed there are 5 different database servers. I want to know why we have different database for Forms and individual database servers. Also I am ...
1
vote
2answers
49 views

Can I have/install 2 sets of Sitecore databases on the same database server (SQL)?

I am planning to share the same AWS RDS (SQL) for 2 different sets of Sitecore databases. So I will have 2 Webs, 2 Cores and 2 Masters DB. Could anyone confirm if this is possible? Why or why not? The ...
3
votes
1answer
53 views

How to find out how many items are in media folder by querying the db

Is there a quick way of checking how many child items there are by querying the sitecore master db?
7
votes
1answer
151 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 ...
2
votes
1answer
75 views

Sitecore Custom Databases for user generated content

I need to store a set of information (for example, poll results, article comments, etc,). I would like to use the Sitecore pattern to manage information (templates, items and content tree) in order ...
0
votes
1answer
54 views

SQL migration while upgrading Sitecore 8.1 to Sitecore 9 [duplicate]

I have a some instances running on Sitecore 8.1 .I want to upgrade these instances to Sitecore 9.1. I know that I should use MS-SQL-2016 to support XDB. I want to install Sitecore-9.1 directly and ...
0
votes
0answers
61 views

No rebuild request was found error when rebuilding reporting database

We have took the Mongo DB backup (Analytics, Tracking_Live, Tracking_History, Tracking_contact) and restore same setup Primary and Secondary Reporting Database and try to browse Rebuild Process (...
0
votes
0answers
36 views

Creating dacpac for sitecore modules like Data Exchange Framework [duplicate]

I am currently working on creating a new Web Deploy Package and I would like to include a WDP for the Data Exchange Framework modules. Is it possible to create a dacpac for the Sitecore items of it ...
1
vote
2answers
173 views

Sitecore Core database User table restoration

We have upgraded the application from 7.2 to 8.2 Post restoration we were not able to connect to Sitecore admin console. For accessing executed a query to update the admin account password but somehow ...
2
votes
2answers
598 views

Setting up multiple publishing targets

I have a newly setup XP1 Sitecore 9.0 environment. It has single core, master and web databases currently. I’m looking to create a new publishing target/CD server for staging/UAT. I’ve seen various ...
4
votes
1answer
374 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 ...
1
vote
2answers
156 views

SqlShardingDeploymentTool causes Sitecore 9.0 update 1 installation to fail during SIF installation

I'm trying to setup a Sitecore 9.0 update 1 installation on my local machine using windows 10 Solr 6.6.2 SQL Server 2016 SP1 Sql Express 2017 SIF-less 0.6.0.0 Despite a couple of annoying hickups I ...
3
votes
1answer
190 views

EXM databases setup - minimal rights

I am upgrading my Sitecore isntance from 9.0 initial to update-1. In this process I had to deploy the databases for EXM (exm.master and messaging) as that is new in this version. I used the dacpac's ...
4
votes
1answer
88 views

Can I restore the Recycle Bin from a backup after using the Express Migration Tool? [duplicate]

We recently discovered that our Recycle Bin no longer contained items before November 2017, when we performed a Sitecore upgrade using the Sitecore Express Migration Tool (version 2.0 at the time). ...
2
votes
1answer
385 views

Sitecore CMS - Timeout expired error

I have a Sitecore instance Version 8.2 Update 3 in my local PC. When the CMS or live is not visited or idle for a while and I browse it again, the page doesn't load and shows this error: Cannot ...
1
vote
1answer
112 views

Which sql database contains the item's display name?

Please help me know which sql database contains the Sitecore's item display name?
5
votes
2answers
1k views

What version of SQL Server can I use on Sitecore 9

I was wondering what version of SQL Server is best used (or allowed to be used) with Sitecore 9: SQL Web or Standard? https://docs.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-...
4
votes
1answer
230 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 ...
9
votes
0answers
122 views

Long running query against SQL commerce DB

I have a Sitecore 8.1 Update 2 with Commerce Server 11 setup, and I'm seeing hundreds of executions on the product catalog database of this query with no WHERE clause: SELECT [ExternalId] FROM [dbo].[...
5
votes
0answers
109 views

Sitecore 8.2 using analytics data in code

I have followed the answer here But I get a null reference exception if I do not create an instance of the ReportDataProvider. And when I do create an instance I am getting an error in the ...
1
vote
0answers
170 views

Amazon RDS and SQL Session State

I am setting up an environment with the databases stored on Amazon RDS. I am running into a problem with using SQL Session State. I get the YSOD with this error: Parser Error Message: Synonym '...
2
votes
1answer
804 views

Synonym 'Applications' refers to an invalid object

After adding SQL Server private sessions storage I get this error: Synonym 'Applications' refers to an invalid object Here is the relevant web.config section: <sessionState mode="Custom" ...
3
votes
2answers
52 views

Sitecore 6.5 - Clean Up Databases option nothing happen / shows when I click on it

I've a Sitecore 6.5 installed and the databases are huge - Core & Master have 14GB each - and I was looking to get them cleaned up. After sign-in Sitecore 6.5 Desktop, here are the steps ...
2
votes
1answer
754 views

SIM => SQL Server Connection String Error: 25

I'm progressing in a Sitecore installation on a Dev laptop. SQL Server up-and-running, able to login as Sitecore / ..... to whom I gave Sysadmin. So far, OK. But the SIM connection string: Data ...
4
votes
3answers
285 views

Script to identify largest gap(s) in content entry over a period of time

One of our clients has reported an issue wherein after our most recent deployment some of their content appears to have gone missing and/or been reverted. I'm not looking for a way to find out the ...
5
votes
2answers
591 views

Bulk deleting Sitecore users

By mistake an editor created thousands of sitecore users that now need to me removed. Using the User Manager would take too long as it allows you to remove them one by one. If deleting the users by ...
12
votes
2answers
637 views

How to handle multiple Core Databases in a multi-datacenter setup on Azure PaaS

I'm wondering how to handle multiple datacenters for CD servers in Azure PaaS. According to this ( https://kb.sitecore.net/articles/610106 ) you can use transactional replication for your Web ...
2
votes
1answer
109 views

Getting “Could not access network location SC_SQL_SERVER_USER” while installing Sitecore using Powershell DSC

I am trying to install Sitecore using PowerShell DSC following below link https://jermdavis.wordpress.com/2015/11/09/development-environments-with-powershell-dsc-part-5/ I am getting "Could not ...
2
votes
2answers
980 views

What is the recommended approach for storing custom data within Sitecore?

Our Sitecore project needs to store some custom data (results from a user poll). Is there some sort of a built-in functionality for storing that data on Sitecore sites? The obvious solution is to ...
5
votes
1answer
372 views

How Sitecore 8.2 controls the communication with SQL Server Always On?

I was reading about Sitecore using SQL Server Always On, and I saw the ConnectionStrings example <add name="master" connectionString="Data Source=*****;Initial Catalog=*****;Integrated Security=...
5
votes
2answers
321 views

Azure PaaS Deployment Failure - Invalid column names in “web” database

I am trying to deploy Sitecore 8.2 Update 2 instance to Azure PaaS. I've installed a fresh instance on my local machine, installed content/media/template packages from our previous version, ...
0
votes
1answer
430 views

how to unlock all items that were locked by virtualssuser?

How to unlock items that were locked by virtualssuser sitecore 8.1 ? query like it can't find any records about user in code database SELECT UserId FROM dbo.aspnet_Users WHERE UserName like '%...
0
votes
1answer
2k views

Log4net not inserting record into database

I am using the Log4Net to insert errors into MSSQL. However, the errors are not being logged into the database. Log4net Patch File - z.Logging.config <?xml version="1.0" encoding="utf-8" ?> &...
4
votes
2answers
405 views

How content changed in ContentEditor is being displayed in website even item not published

I changed content in one field in ContentEditor and then shifted to web database. Here I could see content change is not available which is fine because I haven't yet published but when I browsed the ...
17
votes
2answers
3k views

How does the “Clean up databases” feature work?

In the Control Panel, there is a "Clean up databases" button. How does it work? What operations are carried out during a database cleanup?
2
votes
1answer
465 views

Direct SQL INSERT/UPDATE not showing on Web page

I'd use the API if having the choice, but right now I don't have the time for a learning curve, so I'm doing direct: UPDATE VersionedFields SET Value = 'Hypothesis Testing' WHERE Id = '...
4
votes
1answer
330 views

Getting lots of System.ComponentModel.Win32Exception in the log

I'm getting lots and lots of System.ComponentModel.Win32Exception, Data.SqlClient.SqlException in my production CM sitecore log. Some times when use content editor or experience editor this error is ...
4
votes
2answers
797 views

Max concurrent workers/Max concurrent sessions

We have 11 client Sites hosted on Azure PAAS setup with SQL on standard S2 tier. We also have planned to remove Inrole cache and Implement SQLSession Cache on these Production servers. For all 11 ...