Block change tracking and Backup size
DB Version : 10gRelease
We have a Differential Incremental Backup strategy with Recovery Window retention policy. I haven't enabled BLOCK CHANGE TRACKING. Just would like to know if the backup size of both Level 0 and Level1 backups become smaller by enabling Block Change Tracking. Or is it just Level 1 backups' size which is going to decrease?
Thank you.
An excerpt from Oracle RMAN 11g Backup and Recovery by Robert G. Freeman & Matthew Hart
ISBN: 978-0-07-162861-7
The Block Change Tracking File
By default, when doing an incremental backup, any datafile that has changed in any way will be
backed up. This can make incremental backups take longer and will make them larger. RMAN
offers the ability to just back up changed database blocks. +This can make your incremental+
+database backups much smaller and shorter.+ To enable block change tracking, issue the command
alter database enable block change tracking. The result of this command will be the creation of a
file called the block change tracking file (BCTF).Checkout the word smaller.
Two things:
A. This is not Official oracle documentation ( Oracle press though)
B. This book is about 11g. I don't know if BCTF makes backups smaller in 11G.
Similar Messages
-
Hi
I have database running 3 node RAC and ASM, current version 10.2.0.4. Since the size is 1T and to minimize the backup time wants to implement BCT. As you know to enable BCT we need to create a file, my question can we create this file in ASM? or it has to out side ASM?
Thanks,It can be in ASM.
-
How to enable block change tracking with pfile
Hello
I want to use enable block change tracking (for fast incremental RMAN backup). kindly advice how can i use this parameter using pfile.
Thanks
KrishnaKrishna Agnihotri wrote:
Hello
I want to use enable block change tracking (for fast incremental RMAN backup). kindly advice how can i use this parameter using pfile.
You could have just tried ,
D:\app\aristadba\product\11.2.0\dbhome_1\database>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 30 10:04:20 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup pfile=initorcl112.ora
ORACLE instance started.
Total System Global Area 263639040 bytes
Fixed Size 1373964 bytes
Variable Size 213911796 bytes
Database Buffers 41943040 bytes
Redo Buffers 6410240 bytes
Database mounted.
Database opened.
SQL> alter database enable block change tracking using file 'block';
Database altered.
SQL>Just to show that the file actually gets created,
SQL> alter database enable block change tracking using file 'block';
Database altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
D:\app\aristadba\product\11.2.0\dbhome_1\database>dir
Volume in drive D has no label.
Volume Serial Number is A408-F176
Directory of D:\app\aristadba\product\11.2.0\dbhome_1\database
08/30/2011 10:05 AM 11,600,384 BLOCK
05/17/2010 10:45 AM 2,048 hc_orcl112.dat
10/17/2009 01:35 PM 1,015 INITorcl.ORA
08/30/2011 10:01 AM 1,042 INITorcl112.ORA
12 File(s) 21,412,139 bytes
3 Dir(s) 17,036,451,840 bytes free
D:\app\aristadba\product\11.2.0\dbhome_1\database>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 30 10:06:40 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter database disable block change tracking;
Database altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
D:\app\aristadba\product\11.2.0\dbhome_1\database>dir
Volume in drive D has no label.
Volume Serial Number is A408-F176
Directory of D:\app\aristadba\product\11.2.0\dbhome_1\database
08/30/2011 10:06 AM <DIR> .
08/30/2011 10:06 AM <DIR> ..
05/17/2010 08:55 AM <DIR> archive
05/17/2010 10:45 AM 2,048 hc_orcl112.dat
10/17/2009 01:35 PM 1,015 INITorcl.ORA
08/30/2011 10:01 AM 1,042 INITorcl112.ORA
12/22/2005 04:07 AM 31,744 oradba.exe
08/30/2011 09:05 AM 9,314 oradim.log
12/24/2009 08:09 PM 1,536 PWDorcl.ora
08/07/2011 11:00 PM 1,536 PWDorcl112.ora
04/15/2011 05:52 PM 9,748,480 SNCFORCL112.ORA
02/10/2011 09:00 PM 3,584 SPFILEORCL.ORA
08/30/2011 09:59 AM 3,584 SPFILEORCL112.ORA
02/10/2011 09:07 PM 7,872 upgrade.logAman....
Edited by: Aman.... on Aug 30, 2011 10:08 AM added 2nd code snippet -
How to multiplex the block change tracking file?
Hi,
I have a question to change block tracking feture.
The normal way to enable block change tracking would be:
ALTER DATABASE ENABLE BLOCK CHANGE TRACKING
USING FILE 'mydir/change_track.f'
REUSE;
What if my harddrive is gone?
Is there anyway to define more than one destinitaion like for archive log files?The difference is... archive log files can contain irreplaceable data.
With Block Change Tracking the data is not irreplaceable , just run full RMAN backup and then regen the file. <- IMHO -
Block change tracking file error
Hi,
when i selected
"enable block change tracking for faster incremental backups" option under Backup setting policy, and apply it, i get following error
error: "since the database area is not set you must specify a block change tracking file"
how can i fix this error.
1. is it better to provide a block change tracking file, if then how do i do it.
else
2.how can i set a database area
Thanks,
Philip.Hi Anita,
i have 2 more problems which i have explained below.
1. i am running my oracle 10g in linux and after starting the listener, when i try to start the database using
"dbstart" command, i get following error
"Failed to auto-start Oracle Net Listener using /ade/vikrkuma_new/oracle/bin/tnslsnr"
i really have no idea what is this error and how to solve this erorr. Can you please help me. i have also posted a separate forum for this with the heading as
"dbstart" command error
2. my tnsservice name works sometimes and some other times it does not work at all.
at sqlplus prompt when i login as
sys/pwd@orcl as sysdba
sometimes it works fine, other times it gives me error similar to -- protocol could not identify this service name.
Thanks,
Philip. -
"block change tracking" equivalent in sql server
Hi All,
If someone has expertise in both oracle and sql server, pls let me know if there is " block change tracking" equivalent in sql server. I know sql server has incremental/differential backup, curious to know whether it got this equivalent feature.
Regards,
Satheesh Shanmugam
http://borndba.comMay be the below link will help you:
http://www.databasejournal.com/features/mssql/article.php/3824196/Introducing-Change-Tracking-in-SQL-Server-2008.htm -
RMAN block change tracking doubt
hi guys,
I want to speed up my RMAN incremental backup.So i decide to enable the block change tracking mechanism. How to implement it ? Should i create any file or set any parameters? plz guide me...
Oracle version:10.2.0.1.0
WindowsNT
TIA,ALTER DATABASE
ENABLE BLOCK CHANGE TRACKING
USING FILE os_file_name;
use this command on the database level. As soon as the file kept the data change tracking, u will speed up ur increamental backups. -
Hello,
I have a Oracle 10.1.0.5.0 on Windows 2003. My need to enable block change tracking. So I login SQL PLUS as sysdba:
SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USING FILE
'HOME/DB_INSTANCE/BLOCK_CHANGE.TRC';
ALTER DATABASE ENABLE
ERROR at line 1:
ORA-00439: feature not enabled: Block Change Tracking.
I have read some documentations and this is command I should use. Please help me where I can enable this feature.
Many thanks!According to the metalink note 271197.1, the fast incremental feature is not included in the Standard Edition.
As suggested earlier, check the Edition you are working on.
Nicolas. -
Change font and font size in a textedit
Hi,
I am using a textedit UI element in read only mode. its getting the value from context attribute. I need to change font and font size ( atleast the later) and make it bold.
how can this be done ?
plz help......
Thanks
AkashHi Thomas,
I saw from your response in the post above that you might be able to answer a question I have about the portal theme.
We are using several textedit elements in our portal, however the font size of text entered in those textedit fields is smaller than the standard global text in the portal. I have tried in vain to find the setting in the portal theme that controls textedit elements. Do you happen to know which one it is exactly?
Many thanks for any suggestions/help you might have
Paul. -
Enable Block Change Tracking in 11gr2
Hi Team,
If my database file system is in ASM..Can I enable blk change tracking in local filesystem?
Or IS it better to do in ASM? Any new features in 11gr2?
Regards,
ManoharDo you plan running DUPLICATE against that DB?
If yes, you should place the Block Change Tracking File in a location that would enable you to effectively deal with this nasty bug:
"Bug 10193846 - RMAN duplicate fails with ORA-19755 when BCT file is not accessible [ID 10193846.8]"
Also, If you plan to use DUPLICATE, you should “name” your Block Change Tracking File, rather than going with the system name.
This advice applied only for 11gR2 versions that are affected by the bug.
Iordan Iotzov
http://iiotzov.wordpress.com/
Edited by: Iordan Iotzov on Oct 2, 2012 7:19 AM -
Loading COBOL file - blocked variable records and varying size arrays
We would like to use ODI 11g to regularly to parse and load into Oracle DB 11g complex files that originate on the MVS mainframe.
Key file characteristics are:
1. EBCDIC encoding
2. file contains blocked records - each block starts with a 4-byte Block Descriptor Word (BDW). BDW bytes 1-2 specify the block length stored as a 16-bit unsigned integer, i.e. PIC (5) COMP in COBOL.
3. each file block contains multiple variable size records - BDW is followed by 1 or more variable length records. Each record starts with a 4-bytes Record Descriptor Word (RDW). RDW bytes 1-2 specify the record length stored as 16 bit unsigned integer, i.e. PIC (5) COMP in COBOL.
4. each file record contains number of scalar fields and several varying-size arrays - COBOL OCCURS DEPENDING ON. For example:
03 SAMPLE-ARRAY-CNT PIC S9(1) COMP-3.
03 SAMPLE-ARRAY OCCURS 0 TO 5 TIMES DEPENDING ON SAMPLE-ARRAY-CNT.
05 ARRAY-CD1 PIC X(5).
05 ARRAY-CD2 PIC X(7).
05 ARRAY-AMOUNT PIC S9(3)V9999 COMP-3.
5, file contains fields stored as COBOL COMPUTATIONAL and COMPUTATIONAL-3.
6. average record lengh is 1,000 bytes and each file is about 4GB
SQL*Loader/external table functionality can handle most of these requirements on one-off basis, but collectively they present a significant challenge. The file layout can't be reversed engineered as COBOL copybook into ODI.
Does ODI have complex file parsing capabilities that could be used to (pre-)process the file, in as few passes as possible?
Thanks
PetrHi,
there's a couple of options here, and I've included what I think is the simplest below (using TestStand 2.0.1).
It's not exactly elegant though. What I've done is to put in a step that finds out the number of steps to load (based on an earlier decision - in this case a message popup step). I read a number from the limits file, and use this in the looping options of the property loader step that's loading the values into the array. I've done it with a fixed size array target here, big enough to take any incoming data. (Otherwise, knowing how many items you're going to load from the limits file, you could start with an empty array and re-size it prior to loading).
I've cheated slightly by using the pre-expression on the property loader step to specify where th
e data is coming from and where it's going to in the sequence on each iteration of the loop based on the Runstate.Loopindex.
Another option is to go straight into the property loader step, and keep loading properties until the Step.Result.NumPropertiesRead = 0 (remember we're only doing this one at a time)
Another idea would be to load in a value, and check it isn't a "flag" value (i.e. you'd never use say 999 in your array, so set the last element in your limits file to this, and drop out of the loop when this happens.
Further still, you've got the source code for the property loader step, so you could re-write it to make a custom step that loads an array until it fails all on its own (no looping in TestStand).
Hope this gets you going
S.
// it takes almost no time to rate an answer
Attachments:
DynamicPropertyLoader.seq 32 KB -
Is it possible to change theme and font size at run time?
I want to create a project where user can change the theme and font size at run time? Is there any facility to do so in captivate 7?
Not as far as I am aware. A lot of the text objects (such as captions) in Captivate are actually converted to images at publish time. So they're not able to be changed via stylesheets or variables.
You can use Advanced Actions to hide or show images or captions with different sized text. But not change the size of the text that is already in the caption.
Even if you make all of the on screen text dynamic so that it's coming from some variable value, you still cannot change the font size at runtime. -
How do I change menu and icon sizes in elements 12
I have just installed elements 12 on my Lenovo Ultrabook which is running windows 8 - the icons and menus are so small I need a magnifying glass to read them.
ThanksThere's no option in PSE to change interface icon and menu sizes. You can change the Windows display font sizes (at least you can in W7), but that will affect all applications.
Cheers,
Neale
Insanity is hereditary, you get it from your children
If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks. -
How to change font and font size of textarea item
hi -- I have several form pages which for the most part have text items. However, I do
have a few textarea items, and the font and font size of these are defaulting to
something different than the text items.
How can I change the font and font size of the textarea items, preferably in such a
way that it will apply to all textarea items in my app?
(And, to take a step back, where can I find the font and size definitions for these
items? I assume it's in the CSS (??) but don't really know what to look for.)
Thanks,
Carol>
I do have one last thing I'd like to get resolved, if possible. Both the text and textarea items are
width 100 and height 1, but the textarea is a bit wider and taller than the text item. If possible,
I'd like to get at least the widths to match exactly, for aesthetics. (There was a much larger
discrepancy before the size and fonts matched...) Maybe it's just a characteristic of textareas
that they have that extra bit of width and height... I don't know
>
If you look at the generated HTML source you'll see that the APEX width value ends up in 2 different attributes: size for the text field and cols for the textarea. How each of these is transformed into the dimension used to render the control obviously differs, and how either is used will also differ across browsers and platforms. Where you want control over this the best idea appears to be to ignore the width value (APEX lets you blank this out, but resets it to 30 if the definition is subsequently edited) and explicitly set the width property in CSS, as I've now done on your example using HTML Form Element Attributes. This could also be done in a style sheet using the APEX-generated item IDs (P1_TEXT etc) as selectors.
The APEX height value is only applied to the textarea rows attribute: it has no effect on the text field. Again, how this works will be implementation-specific and is better handled explicity using CSS. (Anyway I'm doubtful about a 1 row high textarea? It doesn't affect the ability to enter more than 1 line of text. Looks confusing.)
cols and rows are required attributes for textareas, so APEX has to generate the attributes, but we're better off specifying width and height in CSS to override the browser's computed rendering.
(This is the first time I've put an app on apex.oracle.com... so hopefully it'll be smooth sailing for you.)Apart from not noticing that the region was cached and wondering why my changes weren't having any effect? Thought I was losing it... ;-)
Edited by: fac586 on Jul 8, 2009 9:14 AM -
TrackControl, Change Track, and others questions about AvTransmit
Hi there,
I've got multiples questions about JMF and AvTransmit, hope you will help
For a small student project, i'm developing a streaming server using JMF, i have used the AvTransmit example.
Streaming, etc... everything work fine, i stream music over web
But i need help with "playlist" :
// Get the tracks from the processor
TrackControl[] tracks = processor.getTrackControls();
First Question :
The Processor use a MediaLocator to get one track, is there a way to indicate multiples tracks, such as a directory containing multiples audio file ?
At this time, i can only set 1 file in the MediaLocator.
I'm using a simple class as Playlist (a File[]), and, when i want to change song, i stop the thread, change the MediaLocator with another file, and restart the thread.
It works on a Lan, but on Internet, Player (I use VLC for my test) lost the connection, i need to restart VLC to get audio again.
Second Question
Is there a more "elegant" way to change tracks ?
Last Question
I have think about building my own object Playlist... gasp...
I've look at the javadoc... but i'm a bit lost... does my class have to implement TrackControl ? what are the object inside etc...
If someone knows information about this...
That's all ;)
Thanks !
Tommy, french student (sorry for the english)First Question :
The Processor use a MediaLocator to get one track, is there a way to indicate multiples tracks, such as a directory containing multiples audio file ?
At this time, i can only set 1 file in the MediaLocator.No. The processor uses a MediaLocator to get one file. Files (can) contain multiple tracks.
You can, in fact, combine the tracks of multiple files together, but, there's no need to do that with your application. AVTransmit2 sends each track as a separate RTP stream, so you'd just be sticking them together just to pull them apart again.
In general, you want to keep your architecture as one processor per file, one RTP stream per track.
Second Question
Is there a more "elegant" way to change tracks ?Yes. It's what I refer to as a jukebox DataSource. I discuss it / explain the concept on this previous thread.
[http://forums.sun.com/thread.jspa?forumID=28&threadID=5400318]
What you're essentially doing when you change the MediaLocator is starting over from scratch. You end up with a whole new DataSource, whole new Processor, whole new RTP session. On the LAN, this isn't an issue because it looks like you paused the RTP session (because the IP/PORTs don't change).
Over the internet, though, when you stop sending and restart, you're very likely going to get a new public NAT port. And so when your stream gets to the client, it's going to look like it's from a different person than the original.
The solution is to use the jukebox datasource to change the media without restarting the Processor or the RTP streams. That'll ensure that your stream won't move between files from the perspective of the client...
Last Question
I have think about building my own object Playlist... gasp...
I've look at the javadoc... but i'm a bit lost... does my class have to implement TrackControl ? what are the object inside etc...
If someone knows information about this...Ummmm, your "Playlist" object should just be a Jukebox datasource, so follow the link and figure out how that's supposed to work. If you have questions about it, just ask 'em here (rather than on the older thread)...
Maybe you are looking for
-
Mac Pro 3, 1 Upgrading Graphics Card Help!
Hello to all and I first apoligize before hand incase there is a similar post. I am currently in the mix of getting myself a new graphics card and upgrading the RAM I have on my early 2008 (3, 1) Mac Pro and dont know what I am looking at. My current
-
hello, i am having problems with itunes store. it wont connect almost as if its hanging, any ideas how to fix this problem
-
BAPI for changing CONTRACTS.
Hi All, I want to update the short text for CONTRACTS in table EKPO from filed CDPOS-VALUE_NEW for this i was using function module BAPI_PO_CHANGE This Bapi is is succesfully updating the PO it is not updating the contracts.... Please help me with th
-
Sender agrmt, receiver agrmt
1. what is sender agrmt? and what is receiver agrmt? what it will do in IS? what is the functionality of this two? 2. what is the different between sender agrmt and receiver agrmt? Advance thanks?
-
My fonts are all slanted - what to do?
Something has caused all of my fonts to be slanted - almost as if they were all italic, but not quite. This is only in PS, not any other app. I'm using PS cc (2014) photographer edition - all up to date automatically. Any idea how to fix this - I'm a