Quantcast
Channel: SCN: Message List - SAP on SQL Server
Viewing all 2591 articles
Browse latest View live

Re: having a bit trouble in shrinking the transaction logs

$
0
0

This is not a recommended practice. Auto-shrinking the transaction log is likely to cause performance degradation on the server, as it will forever be growing and shrinking.

 

A better option would be to identify the correct size of the log, one that is large enough that it doesn't autogrow between log backups, but small enough that it doesn't unnecessarily consume a lot of disk space. Then leave it that way.

 

My guess is that Kaushik's scenario is that he has a transaction log that has gotten away from him and autogrown to a large size, but now he would like to get it back to a reasonable and stable size. In this case, he probably wants to shrink it once (off-hours, hopefully), and then let normal backup processes take over from there. In this circumstance, Eduardo's suggestion is the right one.

 

Cheers,

Matt


Re: having a bit trouble in shrinking the transaction logs

Re: having a bit trouble in shrinking the transaction logs

$
0
0

Hi Eduardo / Matt

 

Thanks for your information.

 

We have enable the Auto Shrink option in our environment more than 10 SAP DB instances( MS Sql 2008 R2 servers in Standalone & Windows Failover cluster environments ), We don't have any performance issue in DB & SAP CI level. Every day we are starting the MS Sql DB transaction log truncate backup and it will performing the autoshrink log DB.

 

Regards

SS

Re: having a bit trouble in shrinking the transaction logs

$
0
0

Why? What benefit does autoshrinking the log provide?

Re: having a bit trouble in shrinking the transaction logs

$
0
0

Hi Matt

 

1. Main benefit is Space management to release the unused space in DB Log,

 

2. Performance improvement to read & write the transaction log

 

3. If the DB log space is full then SAP system may become inaccessible. because of this we have enable the " Auto Shrink" option in DB level.

 

This is how we have followed in our SAP landscape environment.

 

Regards

Sriram

Re: having a bit trouble in shrinking the transaction logs

$
0
0

Hi Matt/Sri Ram, Thnak you for you imminence support and guidance , the issue has been resolved as I simply changed    --ALTER DATABASE model SET RECOVERY SIMPLE--  from Full typed this query "DBCC SHRINKFILE (PEMDMPRD2_m000_Log, 1);" and changed it to Full Recovery. Now I have 95% free space available with me.  Thanks , Kaushik G

Re: 2 DB instances - 1 SAP application server

$
0
0

Yes! Raja its only for one ztable with clog and blog fields.

Re: SMux Provider: Physical Connection is not usable [xFFFFFFFF]

$
0
0

Hi Manas,

 

In case you're still facing this kind of disconnection after this, please prepare a performance log as per note 1478133 and open an incident support for BC-OP-NT-ESX. We can forward this to our VMware expert colleagues.

 

Regards,

Luis


Re: Post Installation Steps After Homogeneous Copy

Re: monitoring tcodes

Re: 2 DB instances - 1 SAP application server

$
0
0

Hi Cisco,

 

1) You can connect your SAP application server to an external database running SQL Server through DBCON: Note 1601608, and also this blog post: How to access an external Microsoft SQL Server database

 

2) Or do you mean you want to have 2 different back-end database servers while your application server switch between then?

 

 

In case of 2), I'm not sure this will work and it is mostly not supported by SAP.

 

Regards,

Luis Darui

SAP Support

Re: Setup for HA - SAP NW / MSSQL

$
0
0

Hello Jan,

 

Your variables should look like:

MSSQL_DBNAME=<SID>

MSSQL_SCHEMA=<sid>

MSSQL_SERVER=<listener>;MultiSubnetFailover=yes

 

I would also recommend to use the conn_opts as mentioned in note 2137130:

MSSQL_DBNAME=<SID>

MSSQL_SCHEMA=<sid>

MSSQL_SERVER=<listener>
MSSQL_CONNOPTS=MultiSubnetFailover=yes

 

Regards,
Eduardo

Re: 2 DB instances - 1 SAP application server

Re: having a bit trouble in shrinking the transaction logs

$
0
0

Hi Matt

 

Thanks for your valuable support & information about the DB Auto shrink. I will check and get back to you incase of any query's

 

Regards

Sriram

Re: 2 DB instances - 1 SAP application server

$
0
0

Hi Cisco,

 

In that case i would prefer to go with archiving as you can still access those contents and able to use the table at SAP level. Otherwise you can consider using the external database as mentioned by Luis and Sriram, it depends upon the usage of the table and the complexity.

 

Can you let us know why are you not prefer for archiving as it is the standard approach for growing tables?

 

Regards,

Raja. G


Steps to Homogeneous Copy for High Availability System

$
0
0

Dear All

 

I am doing the homogeneous copy from Window 2003/SQL2005 HA to Windows 2012/SQL2012 HA.

I have performed the following steps successfully:

 

Step1. Installed Windows OS in new system.

Step2. Installed Windows Cluster with two nodes.

Step3. Installed SQL on Clustered nodes.

Step4. Attached Data into SQL.

Step5. Installed "FirstNodeInstall" from SWPM (SAPinst) in node 1.

 

After I have 4 option available in SAPINST for installing System Copy - HA.

 

Can you explain more about next steps (or install) to be performed in Node 1 and Node 2.

 

 

Thanks

Sel

Re: Steps to Homogeneous Copy for High Availability System

Re: Steps to Homogeneous Copy for High Availability System

$
0
0

Hi Sel,

 

SQL Server plays little part in the whole system copy process. I would say that for the database only the backup/restore and the detach/attach. The rest is played by the SWPM.

 

I've asked moderation to move this to the following Space: Software Logistics

 

Regards,

Luis Darui

Re: Steps to Homogeneous Copy for High Availability System

How to recover corrupted database file?

$
0
0

I run MSDE on a Windows XP Server and i found that my database was marked as "suspect" by Enterprise Manager and its icon become gray.

I detach that database and try to re-attach it but there is an error as the following:

 

Error 3624:

Location : page.cpp:2801

Expression: rowLength >= offset + deleteLenght

SPID : 56

Precess ID:1612

 

After that, I uninstall the MSDE and re-install new MSDE SP4 and try to re-attach the database file again and there is still an error. I also encounter the same error with MS SQL 2000 Server

Remark: I have all the database file (database.mdf and database.ldf).

 

Is there anyway i can recover the data from that database?

Viewing all 2591 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>