Migration SAP SolMan 7 MSSQL 2008 R2 Enterprise Edition to MSSQL Standard Edition
Hello,
I try to migrate a databse on Windows MSSQL 2008 R2 ENTERPRISE EDITION to
MSSQL 2008 R2 STANDARD EDITION.
In the source system (MSSQL 2008 R2 ENTERPRISE EDITION) there is "table compression" and
"partitioning" active.
Unfortunately the MSSQL STANDARD EDITION doesn`t support these two features.
So a normal DB backup on the source system and restore in the destination system is not possible.
But the tables compression I can deactivte by the SQL script
SELECT DISTINCT ‘ALTER TABLE [' + SCHEMA_NAME(schema_id) + '].[' + NAME + '] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE);’
FROM sys.partitions p
join sys.objects o
on p.object_id = o.object_id
WHERE o.TYPE = ‘u’
and data_compression_desc != ‘NONE’
UNION
SELECT ‘ALTER INDEX ALL ON [' + SCHEMA_NAME(schema_id) + '].[' + NAME + '] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE);’
FROM sys.partitions p
join sys.objects o
on p.object_id = o.object_id
WHERE o.TYPE = ‘u’
and data_compression_desc != ‘NONE’
is there a way to undo or deactivate the the SQL table partitioning without data lost ?
Best regards
B.-D.
Hello Lydia Zhang,
thanks for your help.
For a few tables this will work.
Unfortunately I have an SAP system with thousands of tables and index`s .
With the SQL script:
SELECT
SCHEMA_NAME(t.schema_id) AS SchemaName
,OBJECT_NAME(i.object_id) AS ObjectName
,p.partition_number AS PartitionNumber
,fg.name AS Filegroup_Name
,rows AS 'Rows'
,au.total_pages AS 'TotalDataPages'
,CASE boundary_value_on_right
WHEN 1 THEN 'less than'
ELSE 'less than or equal to'
END AS 'Comparison'
,value AS 'ComparisonValue'
,p.data_compression_desc AS 'DataCompression'
,p.partition_id
FROM sys.partitions p
JOIN sys.indexes i ON p.object_id = i.object_id AND p.index_id = i.index_id
JOIN sys.partition_schemes ps ON ps.data_space_id = i.data_space_id
JOIN sys.partition_functions f ON f.function_id = ps.function_id
LEFT JOIN sys.partition_range_values rv ON f.function_id = rv.function_id AND p.partition_number = rv.boundary_id
JOIN sys.destination_data_spaces dds ON dds.partition_scheme_id = ps.data_space_id AND dds.destination_id = p.partition_number
JOIN sys.filegroups fg ON dds.data_space_id = fg.data_space_id
JOIN (SELECT container_id, sum(total_pages) as total_pages
FROM sys.allocation_units
GROUP BY container_id) AS au ON au.container_id = p.partition_id
JOIN sys.tables t ON p.object_id = t.object_id
WHERE i.index_id < 2
ORDER BY ObjectName,p.partition_number;
GO
Output:
SchemaName ObjectName PartitionNumber Filegroup_Name Rows TotalDataPages Comparison ComparisonValue DataCompression
partition_id
swp /BI0/F0CCMARSH 1 PRIMARY 0 0 less than NULL NONE 72057613126729728
swp /BI0/F0CCMAWDD1 1 PRIMARY 0 0 less than NULL NONE 72057613127516160
swp /BI0/F0CCMAWDD2 1 PRIMARY 0 0 less than NULL NONE 72057613128237056
swp /BI0/F0CCMAWDH1 1 PRIMARY 0 0 less than NULL NONE 72057613128957952
and so on
I got about 5000 tables .
Is there a way to delete all index on the partioned table an create a new with one script ?
Best regards
B.-D.
Similar Messages
-
Migration SAP SolMan 7.1 MSSQL 2008 R2 Enterprise Edition to MSSQL Standard Edition
Hello,
I try to migrate a SAP SolMan 7.1 on Windows MSSQL 2008 R2 ENTERPRISE EDITION to
MSSQL 2008 R2 STANDARD EDITION.
In the source system (MSSQL 2008 R2 ENTERPRISE EDITION) there is "table compression" and
"partitioning" active.
the MSSQL STANDARD EDITION doesn`t support these two features.
So a normal DB backup on the source system and restore in the destination system is not possible.
But the tables compression I can deactivte by the SQL script
SELECT DISTINCT ‘ALTER TABLE [' + SCHEMA_NAME(schema_id) + '].[' + NAME + '] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE);’
FROM sys.partitions p
join sys.objects o
on p.object_id = o.object_id
WHERE o.TYPE = ‘u’
and data_compression_desc != ‘NONE’
UNION
SELECT ‘ALTER INDEX ALL ON [' + SCHEMA_NAME(schema_id) + '].[' + NAME + '] REBUILD PARTITION = ALL WITH (DATA_COMPRESSION = NONE);’
FROM sys.partitions p
join sys.objects o
on p.object_id = o.object_id
WHERE o.TYPE = ‘u’
and data_compression_desc != ‘NONE’
is there a way to undo or deactivate the the SQL table partitioning without any data lost ?
Or is there a other way to migrate a SAP SolMan 7.1 form MSSQL 2008 R2 ENTERPRISE EDITION to MSSQL 2008 R2 STANDARD EDITION ?
Best regards
A. MooreHi Moore
Could you refer the SAP Note for MS Sql Version supports
1076022 - Release planning for Microsoft SQL Server 2008 (R2)
and MS SQL table compression & decompression SAP Note
1488135 - Database compression for SQL Server
BR
SS -
Upgrade SQL Server 2008 R2 enterprise edition to SQL server 2012 slandered edition
Hi everyone,
Need help on below concern.
I have SQL Server 2008 R2 enterprise edition installed. Which contains SSAS cubes, SSIS packages and SSRS Reports.
I need to upgrade it to SQL Server 2012 Standard edition.
How can I achieve this ??
And I don't have much idea in SSIS package migrations.
Please help me to achieve this.
Thanks,
RohitHi,
Please follow side by side approach for upgrade.Get a new windows box and install SQL server 2012 on it
Move databases from SS2008 R2 to SS 2012 by backup restore mechanism.
Move
jobs and logins by Scripting out and running it on SQL SS 2012.See links as well
Please refer to
this link for SSIS package migration
For SSAS please post question in SSAS forum
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
To install Remote Desktop Services User CAL on Windows Server 2008 R2 Enterprise Edition with SP1
Dear Sir,
Presently we have installed Windows Server 2008 R2 Enterprise Edition with SP 1. And now i would like to install Remote Desktop Services User CAL on this server. I have 25 digit product key of Windows Server
2008 R2 Remote Desktop Services User CAL (20). Downloaded this product key from our MSDN Subscriptions.
Kindly suggest me how to install (CAL server with product key that i have) and configure remote desktop services on my above existing server also how to point other server with my CAL server.
ThanksHi,
1. Install Remote Desktop Session Host and Remote Desktop Licensing Role Services using Server Manager.
2. Open RD Licensing Manager (licmgr.exe), Activate your server, then install your license
3. In RD Session Host Configuration (tsconfig.msc), set the Licensing mode to Per User and Specify your RD Licensing server name (itself). If you want you may configure these two settings via group policy setting instead. The path of the
group policy settings is Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Licensing
4. You may point other RDSH servers to your RD Licensing server using RD Session Host Configuration or via group policy as mentioned above.
5. Optionally you may consider installing other Remote Desktop Role Services such as RD Gateway, RD Web Access, RD Connection Broker, etc.
-TP -
MS SQL Server 2008 R2 Enterprise Edition on Windows Server 2008 R2 Standard Edition
Hello Team,
Is there any issue/conflicts/limitationn to install MS SQL Server 2008 R2 Enterprise Edition on Windows Server 2008 R2 Standard Edition.
OR their is nothing to worry about it I guess their is memory limitation between both of them. Please suggest
Regards
Naveed AmirHi,
Here you can find the officially Hardware and Software Requirements for SQL Server 2008 R2:
http://msdn.microsoft.com/en-us/library/ms143506(v=sql.105).aspx
There should be NO problem as much as I know if the basic limitation fit you (as shanky mentioned).
I had (an clients still have) several servers with Windows Server 2008 R2 Standard & SQL
Server 2008 R2 Enterprise and Standard with no problem (today I have one old developing server with this exact installations work great for several years).
[Personal Site] [Blog] [Facebook] -
Hi there,
I have a Windows 2008 R2 Enterprise x64 SP2 cluster which has 2 SQL Server 2008 R2 Enterprise Edition x64 SP2
instances.
A domain account "Domain\Login" is administrator on both physcial nodes and "sysadmin" on both SQL Server instances.
Currently both instances are running on same node.
While logging on to SQL Server instance 2 thru "Domain\Login" using "IP2,port2", I get error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication". This happened in the past
as well but issue resolved post insatllation of SQL Server 2008R2 SP2. This has re-occurred now. But it connects using 'SQLVirtual2\Instance2' without issue.
Same login with same rights is able to access Instance 1 on both 'SQLVirtual1\Instance1' and "IP1,port1" without any issue.
Please help resolve the issue.
Thanks,
AYHello,
I Confirm that I encountred the same problem when the first domain controller was dow !!
During a restarting of the first domain controller, i tried to failover my SQL Server instance to a second node, after that I will be able to authenticate SQL Server Login but Windows Login returns Error 18452 !
When the firts DC restart finishied restarting every thing was Ok !
The Question here : Why the cluster instance does'nt used the second DC ???
Best Regards
J.K -
Dear All,
we are planning to upgrade SQL Server 2008 R2 Enterprise edition to SQL Server 2014 Enterprise edition.
please suggest the limitations for the up gradation.
Thanks in Advance
Vineet Srivastava
NIIT Technology Ltd.
New Delhi , IndiaHello,
Please note that we have 2 Enterprise Editions now:
(1) Enterprise Edition with Server + Client Access License (CAL) and (2) the Enterprise Edition licensed by core. “Enterprise Edition with Server + Client Access License (CAL) based licensing (not available
for new agreements) is limited to a maximum of 20 cores per SQL Server instance. There are no limits under the Core-based Server Licensing model”. Source:
https://msdn.microsoft.com/en-us/library/ms143760(v=sql.120).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Renaming Sql Server 2008 r2 enterprise edition security roles
Hello All,
We got a requirement to rename existing SQL SERVER 2008 R2 ENTERPRISE EDITION security roles.
We are unaware of the impact on the existing users with these roles.
Can anybody advise us if we rename the role name manually,
We have to restart the sql server services to reflect the role name change to the users with these
roles?
Thanks In AdvanceHello All,
We got a requirement to rename existing SQL SERVER 2008 R2 ENTERPRISE EDITION security roles.
We are unaware of the impact on the existing users with these roles.
Can anybody advise us if we rename the role name manually,
We have to restart the sql server services to reflect the role name change to the users with these
roles?
Thanks In Advance
What security roles are you talking about?
built-in server- or database-roles? - those cannot be renamed.
User-defined roles can be renamed at any point in time without any problems unless you write code that specifically accesses them by name yourself.
Andreas Wolter (Blog |
Twitter)
MCSM: Microsoft Certified Solutions Master Data Platform, MCM, MVP
www.SarpedonQualityLab.com |
www.SQL-Server-Master-Class.com -
I've been trying fresh installation of SQL Server 2008 R2 enterprise on Windows Server 2012 R2 standard VM server several times for two weeks, but always get the error "Attempted to perform an unauthorized operation". At first, I attempted
to install all features, but failed several times. So I decided to try install just Database Engine service, and still fail at the SqlBrowserConfigAction_Install_ConfigNonRC_Cpu32, with the error "Attempted to perform an unauthorized operation".
I remote login to server with my admin domain account. This account is in server local Administrators group. I
1. Right-click on setup.exe file | properties | Compatibility tab | select compatibility to Windows 8.Then click OK.
2. Right-click on setup.exe file | Run as Administrator, to start the Installation Center.
I have the document of my installation steps and zip file of the installation logs, if you need to take a look.
Appreciate for any help!
ntthHi ntth,
"Attempted to perform an unauthorized operation"
The above error is always related to the Windows account SID mapping. I recommend you login into Windows using another Windows account which has administrative privileges and run SQL Server setup using that Windows account.
Besides, please note that we need to apply SQL Server 2008 R2 Service Pack 2 or a later update when installing SQL Server Windows Server 2012 R2. For more information, please review this
KB article.
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support -
Migration SAP BW 3.0 to BW 7: Storageattributes of non-Standard SAP Tables
Hi,
I'm a developer and we created transparent tables in SAP BW 3.0 for a custom application.
We did range partitioning in SE14 for performance reasons.
My question is: When the system is migrated to a new BW system will the tables be created
according to the storage parameters we set?
Systems:
OS: AIX
Old BW:
BW: BW 3.0b SAP_BASIS 620 SAPKB62058 (Oracle 9.2.0.7.0)
New BW:
BW 7 :(Oracle 10g)
bye
yk>
mho wrote:
> Hi
>
> Can you please elaborate more clearly what you are going to do? It looks like you are going to upgrade from Oracle 9i to 10g and also from BW 3.0b to 7.0. Neither of these steps will drop/recreate your tables (generally speaking).
>
> Are you doing a migration of the system as well (new hardware or new platform)? If are not recreating your database at one point, your storage attributes should remain untouched.
>
> Regards Michael
Hi Michael,
yes , it's an upgrade (I asked the responsible SAP Admin)
Neither of these steps will drop/recreate your tables (generally speaking).
I 've worked with IMP/EXP utilities on non-SAP Oracle systems to create my Test/Dev. environments .
(i.e. I used the EXP from Oracle8i and the IMP from Ora10g to load the data).
These dumps contain the table structure/ storage attributes plus data and the other stuff.
So I got the same physical structures as in the production DB.
Is it working that way (or similar) ?
bye
yk -
Can I install Solution Manager 7.0 in Window Server 2008 R2 Enterprise ed.?
Hi, SDN experts.
I am trying to install Solution Manager 7.0 in in Window Server 2008 R2?
I checked the the software requirement for SAP Solution Manager 7.0, it only mentioned Window Server 2003 and 2008 enterprise edition.
I am trying to install Solution Manager 7.0 in in Window Server 2008 R2 enterprise edition?
When I ran the Solution Manager Master Installer, the Pre-requisite Checker gave a warning message saying that it detected incompatible server version, that the server version is Windows NT 6.1 (Build 7601: Service Pack 1) (I guess it meant Window Server 2008 R2).
=======
The following Windows operating system version is supported: Windows Server 2003 (i.e. Version 5.2) and Windows Server 2008 (i.e. Version 6.0).
Current Windows version: Version 6.1, Service Pack 1.0, productive type: Server.
You can check the current version of you operating system by runningu2026u2026..
========
Can I actually install Solution Manager 7.0 in Window Server 2008 R2? Will this cause problem during the installation/post-installation if I ignore this message?
Thanks,
KCHi,
I think it is not straight forward to install SAP Solution Manager 7.0 in MS Window Server 2008 R2.
I am installing Solution Manager 7.0 , the installation encountered error on Create Java Users step (Phase 31 of 44). When I login to SAP solution Manager system through SAP GUI. I encountered this error:
"OS release Windows NT 6.1 7601 Service Pack 1 4x AMD64 Level 6 (Mod 44 Step 2) is not supported with this kernel (700)'
I found that it is because I am installing SAP Solution Manger 7.0 in MS Window Server 2008 R2, which the existing kernel version does not support.
Do you know which kernel I should install?
I browsed in:
SAP Application Components" SAP SOLUTION MANAGER" SAP SOLUTION MANAGER 7.0" Entry by Component" Solution Manager ABAP Stack
SAP KERNEL 7.00 64-BIT UNICODE --> Windows Server on x64 64bit -->MS SQL SERVER
I downloaded:
SAPEXEDB_291-20001361.SAR Kernel Part II (for Basis 7.00) 291
Is this the right Kernel patch I should use?
If it is the right kernel patch file, how do I apply the latest kernel to existing Solution Manager system? Can you give me some guidance on this?
Thanks,
KC -
Dump of SQL Server 2008 R2 Enterprise
Hi,
How can I download the Dump of SQL Server 2008 R2 Enterprise Edition? I have the License Details. But I missed the CDs. Could you please help for the Dump collection?
! ! Thank You Very much ! !
Best Regards
+91 9871843884How can I download the Dump of SQL Server 2008 R2 Enterprise Edition? I have the License Details. But I missed the CDs. Could you please help for the Dump collection?
Hi,
If you have license key with yourself. You can download SQL Server 2008 R2 Evaluation edition. When you are installing SQL Server eval edition on license key page you would have option to select free edition or provide License key for Enterprise edition.
Provide License key and it would be enterprise edition after your installation finishes
PS: if above does not helps please speak to MS personal
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Link to download the server 2008 r2 enterprise without service pack
Hi,
Please provide the link to download the server 2008 r2 enterprise without service pack
Thank You!!Hi,
Please check the below download links:
Windows Server 2008 R2 Enterprise Edition x64 (Full Install) VHD
http://www.microsoft.com/en-us/download/details.aspx?id=2227
Windows Server 2008 R2 Enterprise Edition x64 (Core Install) VHD
http://www.microsoft.com/en-in/download/details.aspx?id=18348
Windows Server 2008 R2 Evaluation (180 days)
http://www.microsoft.com/en-in/download/details.aspx?id=11093
And we could refer to the download center for more information:
download Center
http://www.microsoft.com/en-us/download/default.aspx
Hope this may help
Best regards
Michael
If you have any feedback on our support, please click
here.
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. -
CA web enrollment page is not shown in windows server 2008 R2 Datacenter edition
hi friends
on a windows server 2008 R2 Datacenter, i have installed ADCS (including web enrollment), & every thing is ok.
but when i connect to CA web enrollment page to request a certificate for my web server, when i select advanced certificate request, system doesn't show the page which we select which register our name & specification & we select which certificate
template do we want. instead it shows the page
in windows 2008 R2 enterprise edition this problem doesn't exist. also in standalone CA web enrollment page this problem doesn't exist.
any help pleas
thanks in advanceforget about enrollment web pages. With Enterprise CAs you should consider to use Certificates MMC snap-in:
http://technet.microsoft.com/en-us/library/cc754490.aspx
My weblog: en-us.sysadmins.lv
PowerShell PKI Module: pspki.codeplex.com
PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
Check out new: SSL Certificate Verifier
Check out new:
PowerShell FCIV tool.
hi thanks.
i am familiar with cert snap-in, but i wanted to know can we restore previous web enrollment page which delivered us the ability of enroll -
Migrating windows 2003 standard edition to windows 2008 enterprise edition
Hi
We are using ECC 5.0 and our PRD system is running on windows 2003 standard edition,and recently we have got some physical memory problem.as windows 2003 standard edition supports only 4 GB of RAM. and we want to extend our RAM for that we are planning to upgrade os to windows 2008 enterprise edition,is that possible.and after upgrading OS what are the activities that need to be performed for SAP to run succesfully,kindly suggest.
Regards
PranavHi Markus
I read note SAP Note 690432 - Windows 2003 Support in it regarding upgradation of os windows 2003 standard edition to windows 2003 enterprise edition.
Upgrade of Your Operating System
If you upgrade an existing SAP system to Windows Server 2003 perform the
following actions:
o Install the latest R3DLLINS
You find the latest dynamic link libraries R3DLLINS for Windows
Server 2003 on the EXT-Kernel CD in the NTPATCH directory.
o Replace the R/3 kernel with the EXT-Kernel.
If you do not replace it you will get error "SICK" after the first
logon attempt after the start.
In this case, download the disp+work package(s) from the SAP
Service Marketplace at service.sap.com/patches and unpack the
patch(es) to directory usr\sap\exe:
dw*_<patch-level>
Use at least patch level 186.
o Use the latest saposcol version.
This version supports the changed performance counter of Windows
Server 2003 to determine values for ST06 and RZ20.
You can find the latest version in file saposcol_<Patch Level>.CAR.
in the SAP Service Marketplace.
o SAP DB only: See SAP Note 315237.o Compatibility of the Hardware with Windows Server 2003
You can perform the upgrade to Windows Server 2003 only if the
hardware has been explicitly released for this purpose. To check,
do one of the following:
- If the Windows Server 2003 CD is available, check compatibility
with WINNT32.EXE in the \I386 directory. The exact statement
is: <DRIVE:>\I386\WINNT32 /CHECKUPGRADEONLY. The result is
stored as text file WINNT32.LOC in the present Windows
directory (e.g. C:\WINNT).
- The hardware has successfully passed SAP hardware certification
(http://www.addon.de).
- The hardware is contained in the Microsoft Hardware
Compatibility List (http://www.microsoft.com/hcl).
- The hardware has been released for Windows Server 2003 by the
manufacturer. This information is published on the
corresponding website.
o Kerberos Single Sign-On
When the SAP system is installed on Windows Server 2003 you can
setup the Kerberos Single Sign-On. If you use the kerberos protocol
the information exchanged between the SAP frontend and the
application server for authentication is encrypted.
The procedure for setting up Single Sign-On is described in all
recent installation guides which you can download from the SAP
Service Marketplace at: service.sap.com/instguides.
o SAP domain under Windows Server 2003
Follow the instructions of the Windows documentation for the
migration of a Windows NT 4 domain to Windows 2003. For the SAP
environment some additional points need to be observed.
For Windows NT 4 there are two models for the SAP system domain:
- Single domain
All users and the SAP system build one single domain. This
domain can be migrated to Windows Server 2003 and exist there
as single domain.
- Additional domain
There is one domain for the users and a second domain for the
SAP system(s). For a migration to Windows Server 2003 the SAP
system domain has to be created as child domain under the user
domain. A "Top-down" procedure is to be used. The higher domain
(the user domain) must be migrated prior to the SAP child
domain. If the user and SAP domain is part of a larger domain
structure the complete domain structure for Windows Server 2003
needs to be planned in a preparing phase. Usually, the
structure created under Windows NT 4 has to be re-arranged and
consolidated.
The name space of the root domain and all sub-ordinated domains
has to be defined and the distribution of the DNS services
needs to be determined.
Note the following:
The SAP domain has to be created as child domain.
The SAP domain must not be converted into an organizational
unit (OU). OUs are not supported by R3SETUP and R3up.
in it nowhere it is mentioned about system copy so plz suggest.
Maybe you are looking for
-
Print images created on the fly by a servlet
Please, look at it... my tiff image doesn't print in my browser (IE6). Could somone tell me why !???? // Method of a "Page" class public void write (OutputStream out) { // Reading of the tiff file (this.tempFile is a valid File) Plan
-
No drilldown option for Formulas in structure
Hi Experts, Could you throw some light on the following issue. My char structure is as follows,I have a grouping done on GL and when i drill down I shd see the GL only for selections and not for formula i.e. the formula should not drilldown and show
-
I can't make a group conversation with my friends help
Ok so I tried to make a group conversation with my friends but it says it failed to send help!! idk if it's because one of my friends doesnt have an I phone but I don't think that's the problem because I could txt him in a seperate conversation. Then
-
ORA-12801: error signaled in parallel query server P002
We are encountering the below problem frequently in SUN SOLARIS BOX ORA-12801: error signaled in parallel query server P002 ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
-
Need BPEL Designer to integrate with jDEV 11g
I am using jDeveloper 11g: Oracle JDeveloper 11g 11.1.1.0.0 Studio Edition Version 11.1.1.0.0 I have BPEL Process manager 10.1.3.1 but it did not come bundled with BPEL Designer. I am unable to use jDev 11g as the designer for BPEL Process Manager. I