Results 1 to 12 of 12
Thread: Dedup for TDP SQL?
-
08-18-2011, 11:39 AM #1Member
- Join Date
- Nov 2006
- Posts
- 19
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Dedup for TDP SQL?
We are running TSM server 6.2.2.3 and our Windows BA Cleints are 6.2.3, TDP SQL are 5.5.4
I would like to find out how to setup dedup for the TDP data. We have setup our BA client's dsm.opt for dedup, but I'm not sure how to setup the TDP side.
Here's an example of our BA dsm.opt file, we only dedup C: and SYSTEMSTATE
PASSWORDACCESS GENERATE
TCPSERVERADDRESS TSMCORP5
SCHEDLOGRET 30
domain all-local
compression yes
compressalways yes
DEDUPLICATION yes
dedupcachesize 1024
enablededupcache yes
skipmissingsyswfiles yes
************************************************** ************************
include.backup c:\...\* windd_default
include.systemstate ALL windd_default
include.systemobject ALL windd_default
include.dedup C:\*\* ieobjtype=file
include.dedup ALL ieobjtype=systemobject
include.dedup ALL ieobjtype=systemstate
include.dedup ALL ieobjtype=ASR
As for TDP data, we only want to dedup the FULL backups and not the logs. Any help is appreciated. I can't find anything in documents that point to specific settings for TDP for SQL.
-
08-22-2011, 03:28 PM #2Member
- Join Date
- May 2009
- Location
- Toronto, Canada
- Posts
- 111
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Hopefully someone can/will answer robinsonjas's question. I have a related question. Can we client side dedupe or must any SQL dedupe be server side?
Thanks
-
08-22-2011, 03:31 PM #3Member
- Join Date
- Nov 2006
- Posts
- 19
- Thanks
- 0
- Thanked 0 Times in 0 Posts
I'm having some success...Will keep thread updated, we're basically using trial and error.
So far we used the above dsm.opt in baclient directory and added the include statement for the dedup mgmt class in the tdpsql.opt file.
I would like to know if anyone has used SATA storage for the diskpool for dedup when doing 'client-side' dedup.
-
02-02-2012, 05:11 PM #4Senior Member
- Join Date
- Jul 2006
- Location
- Stevens Point, WI
- Posts
- 485
- Thanks
- 2
- Thanked 0 Times in 0 Posts
We are finally deploying SQL databases that are large enought to require the TDP. I'd like to try client side dedup via the TDP and back it up to our sata file device class.
Do any of you have additional input or even rough dedup rates for what you are seeing?
Jeff Jeske - Sentry Insurance Storage Engineer
IBM Certified Advanced Deployment Professional
SNIA Certified Storage Engineer
EMC Proven Professional
ITIL Certified
Sometimes the more you know... the harder it is to make a good decision!
-
02-03-2012, 08:34 AM #5Member
- Join Date
- Nov 2006
- Posts
- 19
- Thanks
- 0
- Thanked 0 Times in 0 Posts
so far...
Our SQL group does full backups daily, so that skews our rates a bit, but none the less we are getting 85-95% dedup rate on our pool.
-
02-03-2012, 01:42 PM #6Senior Member
- Join Date
- Jul 2006
- Location
- Stevens Point, WI
- Posts
- 485
- Thanks
- 2
- Thanked 0 Times in 0 Posts
Hmmm.... are they doing full flat file backups to disk or are they doing full TDP with dedup enabled?
Are you using client side dedupe?
Jeff Jeske - Sentry Insurance Storage Engineer
IBM Certified Advanced Deployment Professional
SNIA Certified Storage Engineer
EMC Proven Professional
ITIL Certified
Sometimes the more you know... the harder it is to make a good decision!
-
02-03-2012, 02:34 PM #7Member
- Join Date
- Nov 2006
- Posts
- 19
- Thanks
- 0
- Thanked 0 Times in 0 Posts
client side dedup - full tdp backups
-
02-06-2012, 02:30 PM #8Senior Member
- Join Date
- Jul 2006
- Location
- Stevens Point, WI
- Posts
- 485
- Thanks
- 2
- Thanked 0 Times in 0 Posts
EDIT: Nevermind I see they are listed in the first thread. Thanks.
TSM server 6.2.2.3 and our Windows BA Cleints are 6.2.3, TDP SQL are 5.5.4Last edited by Jeff_Jeske; 02-08-2012 at 05:58 PM.
Jeff Jeske - Sentry Insurance Storage Engineer
IBM Certified Advanced Deployment Professional
SNIA Certified Storage Engineer
EMC Proven Professional
ITIL Certified
Sometimes the more you know... the harder it is to make a good decision!
-
03-22-2012, 05:40 PM #9Senior Member
- Join Date
- Jul 2006
- Location
- Stevens Point, WI
- Posts
- 485
- Thanks
- 2
- Thanked 0 Times in 0 Posts
So I am still playing around with this..... below is a cut-n-paste of my DSM.OPT file located in the TDPSQL folder:
CLUSTERNODE NO
TCPServeraddress SERVER10.sentry.com
TCPport 1501
NODEname SERVER02-s
compression yes
compressalways no
TCPWindowsize 63
TCPBuffSize 32
passwordaccess generate
deduplication yes
dirmc dedup16_42
INCLUDE * dedup16_42
This is my attempt to bind everything the TDP backs up to the dedupe16_40 managment class. Does this pass the smell test?
Jeff Jeske - Sentry Insurance Storage Engineer
IBM Certified Advanced Deployment Professional
SNIA Certified Storage Engineer
EMC Proven Professional
ITIL Certified
Sometimes the more you know... the harder it is to make a good decision!
-
03-26-2012, 05:46 PM #10Senior Member
- Join Date
- Jul 2006
- Location
- Stevens Point, WI
- Posts
- 485
- Thanks
- 2
- Thanked 0 Times in 0 Posts
I "think" I'm still missing something with my client side configuration.....
How can you tell that your client side dedupe is working? Does the ACT log session report provide dedupe stats? If so mine still isn't deduping as it appears I send the full amount each run of the job. Can someone post a screen shot of what they are seeing upon completion of a SQL TDP CLIENT SIDE DEDUPE backup job?
Right now I am getting DEDUP but I believe it is on the server side only.
******************* UPDATE FOR THOSE NEEDING THIS INFO **********************
Verifying that data deduplication is taking place in Tivoli Storage Manager, V6.1 or earlier Data Protection clients do not display deduplication reduction statistics in the interface. You can verify that data deduplication is taking place:
1. Add the following statements to the dsm.opt file:
TRACEFILE api.txt
TRACEFLAGS dedup api
2. Locate a trace entry for the tsmEndSendObjEx API call. The entry looks like the following example:
03/05/2010 13:41:16.286 : dsmsend.cpp (2052): tsmEndSendObjEx: Total bytes
send 0 2105534, encryptType is NO encryptAlg is NONE compress is 0, dedup
is 1, totalCompress is 0 0 totalLFBytesSent 0 0 totalDedupSize 0 15001
The dedup parameter in the preceding trace extract indicates whether the objects were processed for client-side data deduplication. The totalDedupSize parameter in the preceding trace extract reports how many bytes were sent to the server after deduplication. Like image and system-state backups, with client-side data deduplication you can have more frequent full backups of the application data (databases, storage groups, and so on).
******************* ANOTHER UPDATE FOR THOSE NEEDING THIS **********************
Use the following select statement to getter a better feel for how dedup is workign for you:
tsm: TSMSERVER>select * from occupancy where node_name='DIXTREIDBS02-S'
NODE_NAME: DIXTREIDBS02-S
TYPE: Bkup
FILESPACE_NAME: DIX-T-REIDBS-02\data\0001
STGPOOL_NAME: DEDUP_POOL
NUM_FILES: 5
PHYSICAL_MB: 0.00
LOGICAL_MB: 139764.88
REPORTING_MB: 164869.34
FILESPACE_ID: 16Last edited by Jeff_Jeske; 03-29-2012 at 06:05 PM.
Jeff Jeske - Sentry Insurance Storage Engineer
IBM Certified Advanced Deployment Professional
SNIA Certified Storage Engineer
EMC Proven Professional
ITIL Certified
Sometimes the more you know... the harder it is to make a good decision!
-
03-29-2012, 05:57 PM #11Senior Member
- Join Date
- Jul 2006
- Location
- Stevens Point, WI
- Posts
- 485
- Thanks
- 2
- Thanked 0 Times in 0 Posts
I'm back.... after a few days of testing and tracing I have it all figured out. Bottom line... dedupe doesn't really work for crap on databases!
I have a 320GB database that will compress down to 60GB with client side compression. When I add in dedupe and run a few pretty much identical backups the jobs are always 60GB in size. When I turn off compression and use dedupe alone the jobs end up being 120GB time and time again. I'm going to grab and test a few more production databases but I'm not expecting too much.
I'm betting those of you that claim you are getting 99% dedup on full TDP backups need to take a closer look at your occupancy!Last edited by Jeff_Jeske; 04-02-2012 at 09:59 AM.
Jeff Jeske - Sentry Insurance Storage Engineer
IBM Certified Advanced Deployment Professional
SNIA Certified Storage Engineer
EMC Proven Professional
ITIL Certified
Sometimes the more you know... the harder it is to make a good decision!
-
04-01-2012, 05:12 PM #12Newcomer
- Join Date
- Apr 2005
- Posts
- 10
- Thanks
- 0
- Thanked 0 Times in 0 Posts
I have never seen a good reduction of SQL Server data with TDP for Databases on SQL Server.
It varies around 20% reduction with TSM Server deduplication.
I have not tested client deduplication yet, but I have read that client dedupliction might reduce it more efficient (!??)
I can agree if it is in combination with TSM API compression.
We have reported to IBM many years ago that the TSM API compression algorithm is not efficient enough compared to other compression algorithms (Eg gcc)
They have agreeded to change this in version 6.3. (a maint level), but as this has not yet been released...
If the SQL Server compresses data, the deduplication ratio will vary around 1% !!
In our environment, the SQL Server team is constantly reorganizing the databases, and rebuilding indexes, etc.
This has a big negative impact on reduction sizes (such as deduplication ratio).
Maybee you should check if this is the same in your case?
Similar Threads
-
SQL command to find out failed databases during TDP SQL backups.
By Petur in forum ScriptingReplies: 1Last Post: 05-31-2011, 11:47 AM -
TDP FULL SQL BACKUP & RESTORE, Trans logs from SQL?
By ober67 in forum TSM ClientReplies: 2Last Post: 07-24-2009, 02:09 PM -
TDP SQL on cluster unable to backup SQL Database
By sailesh in forum Backup / Archive DiscussionReplies: 8Last Post: 07-12-2007, 05:43 AM -
Restoring a SQL database with TSM SQL server TDP v5.1.5.0
By gavinring in forum TDP/Application Layer BackupReplies: 1Last Post: 07-15-2004, 04:36 AM -
Backing up peoplesoft 8 & SQL with TDP SQL
By knight72mx in forum TDP/Application Layer BackupReplies: 0Last Post: 06-21-2004, 07:15 PM


Reply With Quote