Stack Exchange Network

Stack Exchange network consists of 175 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
26 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 ...
2
votes
1answer
44 views

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

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 ...
1
vote
1answer
42 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 Env and which are all tables being used from CD Env? Do we really need core DB for the below scenario ? sites are only marketing sites , no ...
0
votes
1answer
31 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
54 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) ?
7
votes
2answers
166 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 ...
0
votes
0answers
18 views

No read/write support with on prem Always On Availability Groups?

I have an on-prem install of SC 9.0.2 with an Always-On AG setup. Whenever I fail the primary, I notice it takes a few minutes for Sitecore to pick it up. In those few minutes, I get a yellow screen ...
0
votes
1answer
90 views

User Profile table in SQL

I am saving a user profile and one of the field is "UserLanguage" which is saving fine Context.User.Profile.Save(); The save method is working as expected but where the User Profile being saved in ...
2
votes
1answer
71 views

SQL Azure Master DB - masteruser password discrepancies

I have 2 Sitecore 9.02 Scaled Azure environments. They are PROD and UAT. All the databases are SQL Azure. The marketing team have been adding a lot of content on PROD and I want to take a bacpac of ...
1
vote
0answers
67 views

Rebuilds Links Database exception: This SqlTransaction has completed; it is no longer usable

When attempting to rebuild the links database on the master database I'm getting the following exception: Job started: RebuildLinkDatabasesIndex|System.InvalidOperationException: This SqlTransaction ...
0
votes
1answer
60 views

Where is the value “Item owner: sitecore\smith” from “Quick Info” living in back-end SQL tables?

I'm unable yet to locate a particular "Item owner: sitecore\smith" value I see well-and-alive in Content Editor "Quick Info" of an item, but not in the SQL Server backend tables. I often pull a ...
0
votes
1answer
21 views

Sitecore DB: Can't delete Preview DB table from SQL Server 13.0.400

I first duplicated the original Sitecore Web DB and just renamed to Sitecore Preview DB. Now that I noticed I accidentally copied the Sitecore Master DB instead of Web DB and I am trying to delete the ...
3
votes
1answer
197 views

xConnect cannot reach SQL Server

I noticed no data was being generated in the Experience Profile. I went to the site and tried to generate some test data by filling out a form and received an error "Updating Contact Failed". I ...
1
vote
1answer
136 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
51 views

Sitecore 9.0.2 Installation with SQL Windows Authentication [duplicate]

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
338 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
2answers
147 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
313 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
127 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"?
5
votes
1answer
119 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 ...
17
votes
2answers
1k 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 ...
3
votes
2answers
176 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
41 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
55 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
113 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
58 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
144 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?
8
votes
1answer
241 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
303 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
115 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 ...
0
votes
1answer
102 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 ...
1
vote
2answers
254 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
1k 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 ...
5
votes
2answers
728 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
195 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
240 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
99 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
681 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
186 views

Which sql database contains the item's display name?

Please help me know which sql database contains the Sitecore's item display name?
6
votes
2answers
2k 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
273 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 ...
5
votes
0answers
145 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
228 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
1k 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
60 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
1k 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
330 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 ...
6
votes
2answers
761 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
826 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
120 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 ...