Monday, March 12, 2012
How long will a differential backup take?
think reading the "differential change map" pages of the database would help
,
but I don't know how to do that or even if it is possible.
Tanks,
Bruce.bpettus wrote:
> How can I determine how long a differential backup will take to
> complete? I think reading the "differential change map" pages of the
> database would help, but I don't know how to do that or even if it is
> possible.
> Tanks,
> Bruce.
Since the operation depends on the amount of data to be backed up, the
utilization on the server, the speed of the disk array, and the backup
software you are using, it's really impossible to tell. What I suggest
you do is perform some tests on the system in question and monitor disk
and CPU activity at the same time using perfmon to better give you the
estimates you need. I would also consider you look into a third-party
backup/recovery solution that implements compression to shorten the
backup period. Quest sells LiteSpeed for SQL Server. There are solutions
from other vendors as well.
David Gugick
Quest Software
www.quest.com|||Maybe my question wasn't clear enough. I'm looking to find the percentage o
f
data that would be contained in a differential backup. I could compare that
with the duration of a full backup to fudge a duration estimate. For
example, given a database of 100GB and a differential backup that would
contain 50GB, I could then say "the differential backup would take about 50%
the time of the full backup". I'm not looking for anything precise but
rather an educated guess.
I could do some tests and obtain a benchmark but I'm in a time crunch and
testing is not an option at this point.
Thanks,
Bruce.
"David Gugick" wrote:
> bpettus wrote:
> Since the operation depends on the amount of data to be backed up, the
> utilization on the server, the speed of the disk array, and the backup
> software you are using, it's really impossible to tell. What I suggest
> you do is perform some tests on the system in question and monitor disk
> and CPU activity at the same time using perfmon to better give you the
> estimates you need. I would also consider you look into a third-party
> backup/recovery solution that implements compression to shorten the
> backup period. Quest sells LiteSpeed for SQL Server. There are solutions
> from other vendors as well.
> --
> David Gugick
> Quest Software
> www.quest.com
>|||Hi
Yes, roughly, 100/50GB gives you 50% of the time.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"bpettus" <bpettus@.discussions.microsoft.com> wrote in message
news:D08FAB04-F368-4C48-9084-20DBB219273C@.microsoft.com...[vbcol=seagreen]
> Maybe my question wasn't clear enough. I'm looking to find the percentage
> of
> data that would be contained in a differential backup. I could compare
> that
> with the duration of a full backup to fudge a duration estimate. For
> example, given a database of 100GB and a differential backup that would
> contain 50GB, I could then say "the differential backup would take about
> 50%
> the time of the full backup". I'm not looking for anything precise but
> rather an educated guess.
> I could do some tests and obtain a benchmark but I'm in a time crunch and
> testing is not an option at this point.
> Thanks,
> Bruce.
> "David Gugick" wrote:
>
How long will a differential backup take?
think reading the "differential change map" pages of the database would help,
but I don't know how to do that or even if it is possible.
Tanks,
Bruce.
bpettus wrote:
> How can I determine how long a differential backup will take to
> complete? I think reading the "differential change map" pages of the
> database would help, but I don't know how to do that or even if it is
> possible.
> Tanks,
> Bruce.
Since the operation depends on the amount of data to be backed up, the
utilization on the server, the speed of the disk array, and the backup
software you are using, it's really impossible to tell. What I suggest
you do is perform some tests on the system in question and monitor disk
and CPU activity at the same time using perfmon to better give you the
estimates you need. I would also consider you look into a third-party
backup/recovery solution that implements compression to shorten the
backup period. Quest sells LiteSpeed for SQL Server. There are solutions
from other vendors as well.
David Gugick
Quest Software
www.quest.com
|||Maybe my question wasn't clear enough. I'm looking to find the percentage of
data that would be contained in a differential backup. I could compare that
with the duration of a full backup to fudge a duration estimate. For
example, given a database of 100GB and a differential backup that would
contain 50GB, I could then say "the differential backup would take about 50%
the time of the full backup". I'm not looking for anything precise but
rather an educated guess.
I could do some tests and obtain a benchmark but I'm in a time crunch and
testing is not an option at this point.
Thanks,
Bruce.
"David Gugick" wrote:
> bpettus wrote:
> Since the operation depends on the amount of data to be backed up, the
> utilization on the server, the speed of the disk array, and the backup
> software you are using, it's really impossible to tell. What I suggest
> you do is perform some tests on the system in question and monitor disk
> and CPU activity at the same time using perfmon to better give you the
> estimates you need. I would also consider you look into a third-party
> backup/recovery solution that implements compression to shorten the
> backup period. Quest sells LiteSpeed for SQL Server. There are solutions
> from other vendors as well.
> --
> David Gugick
> Quest Software
> www.quest.com
>
|||Hi
Yes, roughly, 100/50GB gives you 50% of the time.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"bpettus" <bpettus@.discussions.microsoft.com> wrote in message
news:D08FAB04-F368-4C48-9084-20DBB219273C@.microsoft.com...[vbcol=seagreen]
> Maybe my question wasn't clear enough. I'm looking to find the percentage
> of
> data that would be contained in a differential backup. I could compare
> that
> with the duration of a full backup to fudge a duration estimate. For
> example, given a database of 100GB and a differential backup that would
> contain 50GB, I could then say "the differential backup would take about
> 50%
> the time of the full backup". I'm not looking for anything precise but
> rather an educated guess.
> I could do some tests and obtain a benchmark but I'm in a time crunch and
> testing is not an option at this point.
> Thanks,
> Bruce.
> "David Gugick" wrote:
How long will a differential backup take?
think reading the "differential change map" pages of the database would help,
but I don't know how to do that or even if it is possible.
Tanks,
Bruce.bpettus wrote:
> How can I determine how long a differential backup will take to
> complete? I think reading the "differential change map" pages of the
> database would help, but I don't know how to do that or even if it is
> possible.
> Tanks,
> Bruce.
Since the operation depends on the amount of data to be backed up, the
utilization on the server, the speed of the disk array, and the backup
software you are using, it's really impossible to tell. What I suggest
you do is perform some tests on the system in question and monitor disk
and CPU activity at the same time using perfmon to better give you the
estimates you need. I would also consider you look into a third-party
backup/recovery solution that implements compression to shorten the
backup period. Quest sells LiteSpeed for SQL Server. There are solutions
from other vendors as well.
--
David Gugick
Quest Software
www.quest.com|||Maybe my question wasn't clear enough. I'm looking to find the percentage of
data that would be contained in a differential backup. I could compare that
with the duration of a full backup to fudge a duration estimate. For
example, given a database of 100GB and a differential backup that would
contain 50GB, I could then say "the differential backup would take about 50%
the time of the full backup". I'm not looking for anything precise but
rather an educated guess.
I could do some tests and obtain a benchmark but I'm in a time crunch and
testing is not an option at this point.
Thanks,
Bruce.
"David Gugick" wrote:
> bpettus wrote:
> > How can I determine how long a differential backup will take to
> > complete? I think reading the "differential change map" pages of the
> > database would help, but I don't know how to do that or even if it is
> > possible.
> >
> > Tanks,
> > Bruce.
> Since the operation depends on the amount of data to be backed up, the
> utilization on the server, the speed of the disk array, and the backup
> software you are using, it's really impossible to tell. What I suggest
> you do is perform some tests on the system in question and monitor disk
> and CPU activity at the same time using perfmon to better give you the
> estimates you need. I would also consider you look into a third-party
> backup/recovery solution that implements compression to shorten the
> backup period. Quest sells LiteSpeed for SQL Server. There are solutions
> from other vendors as well.
> --
> David Gugick
> Quest Software
> www.quest.com
>|||Hi
Yes, roughly, 100/50GB gives you 50% of the time.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"bpettus" <bpettus@.discussions.microsoft.com> wrote in message
news:D08FAB04-F368-4C48-9084-20DBB219273C@.microsoft.com...
> Maybe my question wasn't clear enough. I'm looking to find the percentage
> of
> data that would be contained in a differential backup. I could compare
> that
> with the duration of a full backup to fudge a duration estimate. For
> example, given a database of 100GB and a differential backup that would
> contain 50GB, I could then say "the differential backup would take about
> 50%
> the time of the full backup". I'm not looking for anything precise but
> rather an educated guess.
> I could do some tests and obtain a benchmark but I'm in a time crunch and
> testing is not an option at this point.
> Thanks,
> Bruce.
> "David Gugick" wrote:
>> bpettus wrote:
>> > How can I determine how long a differential backup will take to
>> > complete? I think reading the "differential change map" pages of the
>> > database would help, but I don't know how to do that or even if it is
>> > possible.
>> >
>> > Tanks,
>> > Bruce.
>> Since the operation depends on the amount of data to be backed up, the
>> utilization on the server, the speed of the disk array, and the backup
>> software you are using, it's really impossible to tell. What I suggest
>> you do is perform some tests on the system in question and monitor disk
>> and CPU activity at the same time using perfmon to better give you the
>> estimates you need. I would also consider you look into a third-party
>> backup/recovery solution that implements compression to shorten the
>> backup period. Quest sells LiteSpeed for SQL Server. There are solutions
>> from other vendors as well.
>> --
>> David Gugick
>> Quest Software
>> www.quest.com
>>
How long has transaction been open?
transaction hase been open? None of the columns in
sysprocesses seem to provide that.
ThanksThis is a multi-part message in MIME format.
--=_NextPart_000_008E_01C3FC84.72B5DE30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Check out DBCC OPENTRAN in the BOL.
--
Tom
---
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"Mike" <anonymous@.discussions.microsoft.com> wrote in message
news:2a1601c3fcad$eaf28550$a501280a@.phx.gbl...
Does anyone know how to determine how long an open
transaction hase been open? None of the columns in
sysprocesses seem to provide that.
Thanks
--=_NextPart_000_008E_01C3FC84.72B5DE30
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&
Check out DBCC OPENTRAN in the =BOL.
-- Tom
---T=homas A. Moreau, BSc, PhD, MCSE, MCDBASQL Server MVPColumnist, SQL =Server ProfessionalToronto, ON Canadahttp://www.pinnaclepublishing.com/sql">www.pinnaclepublishing.com=/sql
"Mike" wrote in message news:2a1601c3fcad$ea=f28550$a501280a@.phx.gbl...Does anyone know how to determine how long an open transaction hase been open? None of the columns in sysprocesses seem to provide that.Thanks
--=_NextPart_000_008E_01C3FC84.72B5DE30--|||> Does anyone know how to determine how long an open
> transaction hase been open? None of the columns in
> sysprocesses seem to provide that.
See DBCC OPENTRAN, it displays information about the oldest active
transaction and the oldest distributed and nondistributed replicated
transactions, if any, within the specified database.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_dbcc_5fhq.asp
sincerely,
--
Sebastian K. Zaklada
Skilled Software
http://www.skilledsoftware.com
This posting is provided "AS IS" with no warranties, and confers no rights.|||Thank you both.
How long has transaction been open?
transaction hase been open? None of the columns in
sysprocesses seem to provide that.
ThanksCheck out DBCC OPENTRAN in the BOL.
Tom
---
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"Mike" <anonymous@.discussions.microsoft.com> wrote in message
news:2a1601c3fcad$eaf28550$a501280a@.phx.gbl...
Does anyone know how to determine how long an open
transaction hase been open? None of the columns in
sysprocesses seem to provide that.
Thanks|||> Does anyone know how to determine how long an open
> transaction hase been open? None of the columns in
> sysprocesses seem to provide that.
See DBCC OPENTRAN, it displays information about the oldest active
transaction and the oldest distributed and nondistributed replicated
transactions, if any, within the specified database.
http://msdn.microsoft.com/library/d...
fhq.asp
sincerely,
--
Sebastian K. Zaklada
Skilled Software
http://www.skilledsoftware.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Wednesday, March 7, 2012
How investigate type of connection to DB( MS SQL or Oracle) during execution of a packet?
How investigate type of a connection to DB( MS SQL or Oracle) during execution of a packet?
In the time of executon of packet I must determine type of connection? What do good practices exists?
Thanks In Advance.
I don't understand the question. The way I read it is counter-intuitive for the way SSIS works. SSIS needs to know upfront which connection to use.|||Yes, you are right. SSIS needs to know upfront which connection to use IN DESIGN TIME.
I need provide ETL operations for MS SQL and ORACLE databases, but I can't to design two similar packages for Oracle and MS SQL.
Therefore I want:
After deployment into another server I can change type of connection.
For example, I have two databases in ORACLE 9i and MS SQL 2005. Every of these databases has table X for same structure ( field1 int, field2 varchar(X) ). I need to load data from table X.
During design time:
1) In SSIS package I created connection to MS SQL server.
2) I loaded data from DB for some purpose.
After deployment:
I can make a change in connection string in Execute package Utility. For instance, switch connection from MS SQL to Oracle.
During runtime:
I need to know which type of a server this connection to be connected (MS SQL or Oracle). I need it to form a SQL-request in a Task script for SQL-execute script.
|||Yes, you are right. SSIS needs to know upfront which connection to use IN DESIGN TIME.
I need provide ETL operations for MS SQL and ORACLE databases, but I can't to design two similar packages for Oracle and MS SQL.
Therefore I want:
After deployment into another server I can change type of connection.
For example, I have two databases in ORACLE 9i and MS SQL 2005. Every of these databases has table X for same structure ( field1 int, field2 varchar(X) ). I need to load data from table X.
During design time:
1) In SSIS package I created connection to MS SQL server.
2) I loaded data from DB for some purpose.
After deployment:
I can make a change in connection string in Execute package Utility. For instance, switch connection from MS SQL to Oracle.
During runtime:
I need to know which type of a server this connection to be connected (MS SQL or Oracle). I need it to form a SQL-request in a Task script for SQL-execute script.
|||Since the connection string is run-time dynamic , look at the connection string at runtime. In particular, you can use the class OleDbConnectionStringBuilder inside a script task.To that point, you can get the provider, the data source, and all the other key value pairs as properties (or method calls) against the OleDbConnectionStringBuilder. The provider property will give you the conditionals you're looking for (see http://msdn2.microsoft.com/en-us/library/system.data.oledb.oledbconnectionstringbuilder.aspx ) for the properties on this object.
Also, if you're passing in the connection string as a variable, you don't need a script task, you can just parse out the provider using an SSIS expression.