Moving Custom Database to Native Sharepoint Database Server
Hi,
What are Microsoft recommendations on moving custom database from one SQL node to native node containing sharepoint content database.
Are there any limitations or disadvantages of moving the custom database to content database server.
Regards, Ketan Gandhi
The general advice is not to. SharePoint doesn't play nicely with other applications (at least at the SQL level) and you're complicating the performance analysis aspects a lot.
It also often involves harming the SharePoint security model by granting other service accounts and support staff permissions on the SharePoint databases. You've then got potential performance problems when either of the two applications is heavily loaded.
Your SharePoint SQL instance may be using a custom Collation, which probably won't hurt anything but you can get odd behaviour if you end up with multiple DBs from different collations.
You must keep the Max Degree of Parallelism at 1 for SharePoint, even if this hurts your custom App.
Similar Messages
-
Moving Custom Database to Native Sharepoint Database Node
Hi,
What are Microsoft recommendations on moving custom database from one SQL node to native node containing sharepoint content database.
Are there any limitations or disadvantages of moving the custom database to content database server.
Regards, Ketan GandhiHi Ketan,
I suggest you provide more information about your requirement for further research.
If you want to use the custom database data in SharePoint, we can use Business Connectivity Services (BCS) in SharePoint 2010 to achieve it.
http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
If you only want to move the custom database to the database server of the SharePoint in order to use in other ASP.net web application, we can use "Attach..." or "Restore Database...". And then check
the performance of the server.
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
Hi
After I ran SharePoint configuration wizard successfully to upgrade to SharePoint 2013 / SP1.
I can open Central Administration site just fine.
but now when I open any Site collection, I got this error.
Server Error in '/' Application
This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration
Wizard, located on the Start menu in Microsoft SharePoint 2010 Products
I have restarted all the servers: SQL server, WFE and APP servers but still cann't get this resolve.
Services on all servers are running, IIS - application pools are running.
Can someone help with where that could be a problem or if there is a solution.
Thanks in advance for your comments or advices.
SwanlPlease verify the followings:
Make sure that from the SharePoint front end and application servers that you can ping your SQL server.
Make sure that your Farm account has permission to the configuration database.
Lastly verify that your database didn't for some reasons go into recovery mode.
once everything is fine and you are still having issues, restart the SQL host service on the SQL server.
Once the service is restarted you will need to reboot Central Admin and then your front end servers.
In addition, as you built your farm inside the firewall, please disable the firwall, or create rules for SQL Server service in the firwall on SQL server.
More information about creating rules in firewall, please refer to the following posts: http://social.technet.microsoft.com/Forums/en-US/c5d4d0d0-9a3b-4431-8150-17ccfbc6fb82/can-not-create-data-source-to-an-sql-server http://www.mssqltips.com/sqlservertip/1929/configure-windows-firewall-to-work-with-sql-server/
Here is a similar post for you to take a look at: http://social.technet.microsoft.com/Forums/en-US/ea54e26c-1728-48d4-b2c5-2a3376a1082c/this-operation-can-be-performed-only-on-a-computer-that-is-joined-to-a-server-farm-by-users-who-have?forum=sharepointgeneral
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Hi,
We need to migrate Our current 1 clustered SQL Server, Many Configurations DataBases and Many Content DataBases to a brand new clustered SQL server and brand new databases in it.
How can I do this?
Can someone list the steps involved?
Thanks.Hi,
According to your description, you want to move Content databases and Configuration databases to a new SQL Server, refer to this article:
https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396
Besides, here is a similar post, you can use as a reference:
https://social.technet.microsoft.com/Forums/office/en-US/2cd46f7a-d583-41b2-82c2-ddc6d7c43fb8/how-to-move-sharepoint-databases-to-new-sql-server?forum=sharepointadminprevious
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Project Server (SharePoint) - Database Collation question.
Hi,
I have been looking at the performance of our SharePoint database server and one of its uses is Project Server.
Our databases are set as follows
Project Server Databases (Latin1_General_CI_AS)
SharePoint Server Content Databases (Latin1_General_CI_AS_KS_WS)
TempDB (Latin1_General_CI_AS)
It seems that the Project Server databases should be (SQL_Latin1General_CP1_CI_AS):
https://technet.microsoft.com/en-us/library/ff800813(v=office.14).aspx
e.g.
Database
Collation
Project Server Archive
SQL_Latin1_General_CP1_CI_AS
Project Server Draft
SQL_Latin1_General_CP1_CI_AS
Project Server Published
SQL_Latin1_General_CP1_CI_AS
Project Server Reporting
SQL_Latin1_General_CP1_CI_AS
SharePoint Server Content
Latin1_General_CI_AS_KS_WS
I may be worrying unnecessarily but my understanding was that the tempdb should be the same collation as the user databases (where possible). With the SharePoint content and the Project Server databases on the same instance this is not possible.
Should I...
1. Not worry about it (the performance impact is negligable).
2. Create seperate instances so that the TempDB can match the user databases (I am worried that the overhead of an extra instance will be more than the overhead of different collations).
3. Implement Contained/Partially contained databases (new possible option)
4. Something else?
Also how bad is it that the Project server databases are Latin1_General_CI_AS rather than SQL_Latin1General_CP1_CI_AS.
Thanks in advance
ShaunHi Prasanna,
thank you for taking the time to respond.
From the link - I read this as Microsoft insisting that you use Latin1_General_CI_AS_KS_WS for the SharePoint content databases and recommending it for the system databases including TempDB?
Our TempDB is not the same collation as the SharePoint content databases but the same as the Project Server databases. Which brings me back to my original questions.
From the Technet article:
The following TechNet Article talks about the SQL Server collation for the SharePoint databases
http://technet.microsoft.com/en-us/library/cc288970.aspx#section1
“The SQL Server collation must be configured for case-insensitive. The SQL Server database collation must be configured for case-insensitive, accent-sensitive, Kana-sensitive, and width-sensitive. This is to
ensure file name uniqueness consistent with the Windows operating system.”
However, we do not support changing the default collation (Latin1_General_CI_AS_KS_WS) for SharePoint databases to any other collations (CI, AS, KS, WS).
We support any CI collation for the SQL instance (for master, tempdb databases). However we
recommend using Latin1_General_CI_AS_KS_WS as the instance default collation (master, tempdb databases). -
Moving the mailbox database copy from one exchange server to another exchange server 2010 DAG
Hello Team
is it possible to the move the passive copy of database and logs from one server to another exchange server in the same DAG with out removing and deleting the mailbox database copies in exchange 2010
normaly procedure is
Remove the mailbox database copies and manually delete the .edb files and logs from the physical location and re-add the mailbox database copy to the new server in the DAG.
is that any way to achieve to move the passive database copy to another exchange 2010 server in the same DAG ?From your note, you appear to have a two-member DAG (with a server hosting your active database, and a second hosting the passive copy), and you want to move your passive database copy from the current passive server to another. Your note
about what "the normal procedure is" isn't 100% correct - there are many ways to handle this task, and all can be considered "normal". Why not just add the third server to the DAG and
add a database copy on that third server? Once it is fully seeded, you can remove the current passive copy. This way, you never lose your redundancy.
Yes i can add the third and fourth serve in DAG , but i cannot add the mailbox database copies to the 3rd and 4th mailbox server in DAG as am using RTM version of exchange 2010 which is allowing to have only 5 database inclding mailbox datbase copies
and also currently my lab setup is two member dag (with a server hosting your active database,
and a second hosting the passive copy) in the same site named SITE A
and recently i have created new SITE B and included the 3rd and 4th DAG members in the same DAG
i want the mailbox database copies from the mailbox server database in SITE A to
Mailbox server database in SITE B as passive copy
That is why i want to move the mailbox database without deleting / removing it manually
Hope you understand my situation! -
System
Provider
[ Name]
SharePoint
Products and Technologies Configuration
Wizard
EventID
104
[ Qualifiers]
0
Level
2
Task
0
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-11-06T02:03:00.000Z
EventRecordID
11054
Channel
Application
Computer
HZNTPMSWSMOS001.NEO-DIAGEO.com
Security
EventData
Failed
to create the configuration database. An exception of type
System.SystemException was thrown. Additional exception information: The trust
relationship between this workstation and the primary domain failed.
System.SystemException: The trust relationship between this workstation and the
primary domain failed. at
System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection
sourceAccounts, Boolean& someFailed) at
System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean forceSuccess) at
System.Security.Principal.NTAccount.Translate(Type targetType) at
Microsoft.SharePoint.Administration.SPProcessIdentity.GetMachineRelativeSecurityIdentifier(SPServer
server, Boolean& isMachineAccount) at
Microsoft.SharePoint.Administration.SPProcessIdentity.GrantIdentityAccessToDatabase(SPProcessIdentity
identity, SPDatabase database) at
Microsoft.SharePoint.Administration.SPProcessIdentity.GrantIdentityDatabaseAccess()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update() at
Microsoft.SharePoint.Administration.SPWindowsService.Update() at
Microsoft.SharePoint.Administration.SPFarm.CreateBasicServices(SqlConnectionStringBuilder
administrationContentDatabase, IdentityType identityType, String farmUser,
SecureString farmPassword) at
Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder
configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase,
IdentityType identityType, String farmUser, SecureString farmPassword) at
Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder
configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase,
String farmUser, SecureString farmPassword) at
Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at
Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()Hi,
This issue seems to be a machine Issue. From message is seems that your Computer is not properly connected to Domain. use the steps in the below link and try doing your steps again.
https://support.microsoft.com/kb/162797?wa=wsignin1.0
Regards -
Snap file is created automatically on my SharePoint database ?
Hi,
On My SharePoint Database a snap file is created which consumes lots of space and the performance of server is degraded.
The snap file is created automatically and its also removed automatically after 1 day.
I am new to SQL and won't find any scheduled task for snap file under SQL .
I had checked on technet and won't find an appropriate solution, why snapshot file is created.
The SQL server version is 2008 R2 and SharePoint version is 2013.
Also due to snap file sometime I am unable to take backup of database with DPM (Data Protection Manager).
Thanks,
Nadeem AHi Nadeem Ansari,
A take Snapshot operation creates .vmdk, -delta.vmdk, vmsd, and vmsn files. You should ensure the type of snapshots file.According to your description, the snapshot file was created automatically, and there are no any scheduled task for the snap file in
SQL Server instance. As other post, you need to verify if there is a job about back up your back up a database to a snapshot in SharePoint Server by using SQL Server tools. And verify if the snapshot file was created by others, and if it is file system snapshots
file.
For more information about snapshot files, you can review the following article.
https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc%2FGUID-38F4D574-ADE7-4B80-AEAB-7EC502A379F4.html
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
SharePoint Databases - How to determine which ones are being used and which ones aren't
I am not sure where to exactly post this question. On the SQL Server side or on a SharePoint side.
I am a SQL Server Database Administrator who is monitoring some SharePoint databases. On a daily basis it seems that they are creating new databases but don't delete the databases that they are no longer using. For example, they might be testing
on a development server and if things aren't working properly instead of asking that the databases be deleted they just go ahead and create new databases to do what ever they need to do. Is there a way on the SQL Server side to determine which SharePoint
databases are being used and which ones aren't being used? Or does one determine this information through the SharePoint Central Administration console?
lcerniHello,
The following query gives you the databases now in use.
SELECT
DISTINCT d.name
FROM
sys.dm_tran_locks
tl INNER
JOIN sys.databases
d
ON
tl.resource_database_id
= d.database_id
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Oracle Database Gateway for MS SQL server
Hi,
we have Oracle Database Appliance.
OS: Oracle Linux 5 x64
DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version)
Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless HW load, energy waste.
Enterprise manager console:
http://81.89.49.222/em.JPG
OS top:
http://81.89.49.222/top.JPG
Please can you help me how to solve this issue? How can I restart these procesess? Any ideas?
Thank you
MichalHi,
we are using connection to multiple MS SQL servers:
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initaqpdb01.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.18.250.141]://master
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initcosima.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.20.250.99]//COSIMA
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
# custom init parameters
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepos.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.18.250.41]:1433//epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepospasohlavky.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.31.250.41]/SQL2012/epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
dg4msl process, look at posted attachment (print screen of enterprise manager and top from OS).
Thank you
Michal -
BAM database creation problem in Enterprise Server
Hi,
We are trying to create a new database and config BAM inside the Enterprise Server. We have already created the engine db and the directory service db but we did not start the BAM or create any db or configure anything for BAM inside the Enterprise Server.
Now when we create a new external resource to create a new db for BAM and then goto Process Monitoring ---> Manage Database
and then create a new database and a new data structure and enter the Database Administrator User and the Database Administrator Password, it gives us an error:-
Username and password already exists and it could not be created..
We have tried all usernames and passwords but could not create the BAM..
We also used the system user and the password..
What could be the possible problem? Do we have to create the BAM db while configuring the engine db and directory service db or can we start and configure BAM later?
How do we resolve this problem?
The documents do not specify what is the
Database Administrator Password
and
Database Administrator User is?
What are these?
Anybody knows?Hi,
Lilach's tip should get you going.
Suspect you won't need it, but here's a link to a BAM installation document I wrote that might also help you with your Oracle BPM 10g installation - http://www.4shared.com/file/136283546/ca086174/ALBPM_60_-Configuringthe_BAM_Updater.html. It's an update of the excellent ALBPM 5.7 BAM installation document that Gustavo in Customer Support wrote a few years ago. Although it was written for ALBPM 6.0, the steps will work with Oracle BPM 10g.
Here's another thread on this forum regarding BAM installation - Re: Problems with the albpmwarehouse service
Hope this helps,
Dan -
Hello Friends,
The background is I am working as conversion manager and we move the data from oracle to SQL Server using SSMA and then we will apply the conversion logic and then move the data to system test ,UAT and Production.
Scenario:
Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long. Both the databases are in the same server.
Questions are…
What is best option?
IF we use the SSIS it’s very slow and taking 17 hours (some time it use to stuck and won’t allow us to do any process).
I am using my own script (Stored procedure) and it’s taking only 1 hour 40 Min. I would like know is there any better process to speed up and why the SSIS is taking too long.
When we move the data using SSIS do they commit inside after particular count? (or) is the Microsoft is committing all the records together after writing into Transaction Log
Thanks
Karthikeyan Jothihttp://www.dfarber.com/computer-consulting-blog.aspx?filterby=Copy%20hundreds%20of%20millions%20records%20in%20ms%20sql
Processing
hundreds of millions records can be done in less than an hour.
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Where is the UniqueID value stored in the SharePoint database?
I'm trying to find where the 'UniqueId' field is stored in the SharePoint database for a list item. Not the GUID, but the UniqueID. This value is usually formatted like [ID#;GUID]. The guid here is different than the item guid.
In the documentation the column has a description, 'Lookup to a GUID for an item.' ( http://msdn.microsoft.com/en-us/library/dd961684(v=office.12).aspx )
but I can't find it in the database.
Here is the query I tried.
SELECT UserData.*
FROM dbo.Lists INNER JOIN dbo.UserData
ON dbo.Lists.tp_ID = dbo.UserData.tp_ListId
WHERE dbo.UserData.tp_ListId = '[my list]'
This should pull all values from the AllUserData table but it doesn't list 'UniqueID' as a column.If you have 2 lists, List A contains custom names, List B has a lookup field that points to List A. I go into list B and select a client name ("Contoso"), enter some info, and save it. On the back end, the list item will contain a value of something like:
34#;Contoso
In this scenario the 34 is the SPListItem.ID value of that item in List A. They start at 1 in each list and increment by 1.
Also, running queries against the database directly is not supported and can take your database out of Microsoft's supportability.
Dimitri Ayrapetov (MCSE: SharePoint) -
Backing up DPM2012R2 Database with a different DPM Server
Hi,
is it still a recommended way to backup up a DPM 2012R2 database (-> pure SQL on the same Server) with another DPM2012R2 Server?
So just attach it and back it up (like in DPM2010)?
Or shall one always use dpmbackup.exe?
If supported / recommended is it possible to backup a DPM 2012SP1 database with a DPM 2012R2 Server?
Thanks in advance
/bkpfast
My postings are provided "AS IS" with no warranties and confer no rightsHi,
Using native DPM backup using D2D is fine for non disaster recovery scenario, otherwise D2T or D2D2T or using secondary protection is best. DPMBACKUP is non automated, so that is good for ad-hoc backups before major updates.
Scheduling native SQL backups is also viable solution.
If using Secondary DPM Server, both primary and secondary must be the same DPM versions including updates.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
posting is provided "AS IS" with no warranties, and confers no rights. -
Attaching TFS sharepoint database to Sharepoint 2010
Hello,
I'm in the middle of upgrading from TFS 2008 (on one server) to TFS 2013 (on another server). I was able to get the TFS portion of the upgrade working, but I'm encountering some difficulty with the Sharepoint database portion. Due to the specs
of the server, I will need to use Sharepoint 2010 instead of Sharepoint 2013. I have a copy of the Sharepoint databases on a SQL Server 2012 instance (on a different server then the actual Sharepoint software). Should I just proceed to attach the
TFS Sharepoint database to the Sharepoint 2010 instance? If so, isn't that done with a stsadm.exe command? I have also yet to configure the Sharepoint 2010 instance in case there is some special considerations when dealing with the TFS sharepoint
databases.
Thanks!check this one:
http://blogs.msdn.com/b/tfssetup/archive/2014/05/15/migrating-team-foundation-server-databases.aspx
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
Maybe you are looking for
-
Sub-Select SQL query in Oracle BI Answers
Hi What's the proper usage of Sub-Select SQL query in Oracle BI Answers Version Oracle Business Intelligence 10.1.3.2.1? I get [SQL_STATE: HY000] [nQSError: 10058] A general error has occured when trying to Sub Select query like: itemno = (SELECT MIN
-
I am having problems having classes in a jar file ( same package ) access a file that is outside of the jar file but still in the same directory as the jar file. If I run the application from the command line while in the same directory, it works per
-
HT4561 Is Photoshop 7 compatible with OS X 10.6.8?
Is Photoshop 7 compatible with OS X 10.6.8?
-
In f-02 GL item fast entry i need to add WBS element field
Dear All, In GL item fast entry screen f-02, I need to add one field WBS element. Please help me how to add the WBS element field in upload fast entry. Best Regards, Venkat.
-
ABAP Help- need some direction for payment lockbox
Hello SAP Guru's Can anyone give me direction as to how to begin or research how to perform the following: My client, when a deduction is on a check, it will go Cash on account or Partially applied. My client doesn't want user intervention to leave