How to avoid db_recover "file size not a multiple of the pagesize" error?

I am writing some backup and recovery scripts for a Berkeley DB application. I'm using the Oracle supplied db_hotbackup.exe and db_recover.exe executables (DB 4.5.20). My very first recovery unit test has resulted in the following error from db_recover:
"file size not a multiple of the pagesize"
What is the cause of this error, and how do I create my backup files to avoid this problem?

This error message indicates that a file that should be made up of pages of a certain size is not a multiple of that size. For example, if a database file configured with 4KB pages was found in a 10KB file, you would get this error message.
Can you check that however the scripts manipulate the database files, they don't add or remove any bytes from the end?
Regards,
Michael Cahill, Oracle.

Similar Messages

  • How to reduce jpg file size, not pixel dimensions?

    I am preparing images for the web and I really have 2 questions: one about gifs, and one about jpgs.
    My standard procedure is to reduce the image to the desired pixel dimensions at 600 dpi
    That gives me a crisp small image. then I either use it as is if the file size is low enough (I try for under 600 kb) or convert it to a gif with the save for web and devices tool.
    So here are my 2 questions (I will count this solved with either answer)
    1) When I convert to a gif I have the 4 boxes: one with original size, the other 3 with options but often the options are too low res for me How do I change my 3 options to start at a higher gif res?
    2) If I try to reduce the file size of the jpg in the image size box I set the resolution lower ( 400, 300), which lowers the pixel dimensions and the filesize, but I don't want to cahnge the pixel dimensions. And  If I reset the pixel dimensions back to the size I want them, even though it is a lower resolution the file size doesn't change. How to reduce jpg file size using only the resolution, not pixel dimensions?  PS I have tried messing with checking and unchecking the 3 little boxes( scale styles, constrain proportions, and resample) but nothing has worked.

    Gif is not a great filetype, especially if you want a crisp image. What are your pixel dimensions?
    For web, it makes no difference what the dpi is, only the final pixel dimensions so once you have that as you want, use 'Save for Web and Devices' and you can lower the quality - 100% being max and 0% being lowest. I wouldn't save anything below 55%. For a 600kb image, your dimensions must be rather big.

  • SSIS File System Task Move File Could not find part of the path error

    Hi All,
    I am getting error in production when try to move files from one folder to another folder. But on Dev environment working fine. 
    An error occurred with the following error message: "Could not find a part of the path 'C:\Archive\ABC.txt'
    My package configuration details.
    1) For Each loop Container 
               Prop’s:
    Enumerator: For Each File Enumerator
    Folder: C:\
    Files: *.txt
    Retrieve File name --> Fully qualified 
    In Tab Variable mapping: User::name --0
    2) File System task
    Props:
    Destination Connection: c:\archive\
    Overwrite destination: True
    Operation: Move file
    Is Source Path Variable: True
    Source Variable: User::name
    Please share your suggestions on this.
    Regards,
    Vaishu

    Hi Vaishu ,
    Try below links :
    http://www.allaboutmssql.com/2012/09/sql-server-integration-services-rename.html
    http://social.technet.microsoft.com/wiki/contents/articles/18776.ssis-move-a-folder-from-one-drive-to-another-drive-using-the-file-system-task.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • How can I get iTunes to not show multiples of the same podcasts in my iPhone?

    Not all, but some have the same episdoe multiple times. Every sync seems to add another one of them. This happens, through iTunes, in my iPhone 5. In iTunes, I show that I have 69 unplayed podcasts. When I sync, I can see it got to 68 for my phone (likely one is in the cloud), but then it flashes and now it shows 113. When I look at the unplayed podcasts, I show that some of them have as many as 17 of the same episode in my phone. When I go to my phone's podcast app, I see it once.
    It doesn't happen to all episodes, and I can't find anything in common between those that it does happen to. The newest update to the podcast app and itunes brought back some features that have been missing for over a year, but this is getting weird.
    iTunes 11.2.1 (1)
    IOS 7.1.1

    After a couple of days, I'm noticing that the repeat(ing) offenders have more than 10 episodes, and seem to keep repeating them every time I sync.
    They only show once in my phone and in the iTunes Podcasts, but through iTunes and looking at what's in my phone is when I see the repeats.
    Even after I've marked a podcast as played, and deleted it from within my phone, as well as telling iTunes to delete the played episodes, it still shows multiples of the played episodes.
    There doesn't seem to be any rhyme or reason to it either. They aren't the newest ones either.

  • VS 2010 This file could not be uploaded. The following error occured: External component has thrown an exception.

    I just started getting this error message from my VS 2010 VB code, earlier this code ran without the error message.  I suspect corruption since this error does not occur on another computer of mine.  I tried repairing the installation of VS
    2010 without results.  Then I uninstalled VS 2010 and reinstalled it, but the error continues. The error message is not very definitive so I do not know how to proceed. I could provide the code, but it is rather lengthy and I don't get this error
    with the VS 2010 installed on my laptop.  So, I don't think my code is the issue.  I would be very grateful for any suggestions you may care to offer for isolating and correcting this problem.  Thank you.  .......................Phil Hoop
    Phil Hoop

    Hi Phil,
    What’s the template type of the project? Is it a BI project? Based on my research, the issue may be related to the following factors:
    .NET Framework version of the project. If it targets .NET Framework 4.0 or higher, modify it to target .NET Framework 3.5 instead.
    Debug or Release Configurations. If the project is set to Release Configurations, try to set it to Debug. For more information, please see:
    http://msdn.microsoft.com/en-us/library/wx0123s5(v=vs.100).aspx 
    I noticed that you have asked another question in the asp .net forum, if the issue is not SQL Server BI project related, I suggest that you continue troubleshooting within the
    thread in the asp .net forum.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How to avoid db file parallel read for nestloop?

    After upgraded to 11gr2, one job took more than twice as long as before on 10g and 11gr1 with compatibility being 10.2.0.
    Same hardware. (See AWR summary below). My analysis points to that Nestloop is doing index range scan for the inner table's index segment,
    and then use db file parallel read to read data from the table segment, and for reasons that I don't know, the parallel read is very slow.
    AVG wait is more than 300ms. How can I fluence optimier to choose db file sequential read to fetch data block from inner table by tweaking
    parameters? Thanks. YD
    Begin Snap: 13126 04-Mar-10 04:00:44 60 3.9
    End Snap: 13127 04-Mar-10 05:00:01 60 2.8
    Elapsed: 59.27 (mins)
    DB Time: 916.63 (mins)
    Report Summary
    Cache Sizes
    Begin End
    Buffer Cache: 4,112M 4,112M Std Block Size: 8K
    Shared Pool Size: 336M 336M Log Buffer: 37,808K
    Load Profile
    Per Second Per Transaction Per Exec Per Call
    DB Time(s): 15.5 13.1 0.01 0.01
    DB CPU(s): 3.8 3.2 0.00 0.00
    Redo size: 153,976.4 130,664.3
    Logical reads: 17,019.5 14,442.7
    Block changes: 848.6 720.1
    Physical reads: 4,149.0 3,520.9
    Physical writes: 16.0 13.6
    User calls: 1,544.7 1,310.9
    Parses: 386.2 327.7
    Hard parses: 0.1 0.1
    W/A MB processed: 1.8 1.5
    Logons: 0.0 0.0
    Executes: 1,110.9 942.7
    Rollbacks: 0.2 0.2
    Transactions: 1.2
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %: 99.99 Redo NoWait %: 100.00
    Buffer Hit %: 75.62 In-memory Sort %: 100.00
    Library Hit %: 99.99 Soft Parse %: 99.96
    Execute to Parse %: 65.24 Latch Hit %: 99.95
    Parse CPU to Parse Elapsd %: 91.15 % Non-Parse CPU: 99.10
    Shared Pool Statistics
    Begin End
    Memory Usage %: 75.23 74.94
    % SQL with executions>1: 67.02 67.85
    % Memory for SQL w/exec>1: 71.13 72.64
    Top 5 Timed Foreground Events
    Event Waits Time(s) Avg wait (ms) % DB time Wait Class
    db file parallel read 106,008 34,368 324 62.49 User I/O
    DB CPU 13,558 24.65
    db file sequential read 1,474,891 9,468 6 17.21 User I/O
    log file sync 3,751 22 6 0.04 Commit
    SQL*Net message to client 4,170,572 18 0 0.03 Network

    Its not possible to say anything just by looking at the events.You must understand that statspacks and AWR actualy aggergate the data and than show the results.There may be a very well possibility that some other areas also need to be looked at rather than just focussin on one event.
    You have not mentioned any kind of other info about the wait event like their timings and all that.PLease provide that too.
    And if I understood your question corretly,you said,
    How to avoid these wait events?
    What may be the cause?
    I am afraid that its not possible to discuss each of these wait event here in complete details and also not about what to do when you see them.Please read teh Performance Tuning book which narrates these wait events and corresponding actions.
    Please read and follow this link,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/instance_tune.htm#i18202
    Aman....

  • How to read music file size?

    I have the third generation iPad. I've sync'd (via iTunes of course) a CD album in Apple Lossless and another CD album in AIFF. Most other audio that have already been sync'd is in MP3 format.
    So how can I see the file size of each song in the iPad?

    Well that's how to see the file size in iTunes. But I'm concerned (suspicious actually) that there's some background modification or something after getting sync'd with the iPad.
    So I'm curious about how to see the file size of each song IN THE iPAD directly.
    Or not possible?

  • How do I get my videos to upload from my sony handy cam when I get the message The following file could not be imported.  The file is in an unrecognized format. I am using a macbook pro version 10.9.3, I have 411 gb free space, it worked before I updated

    How do I get my videos to upload from my sony handy cam when I get the message The following file could not be imported.  The file is in an unrecognized format. I am using a macbook pro version 10.9.3, I have 411 gb free space, it worked before I downloaded the latest update for iphoto.

    You may be able to download and install the update from here: Digital Camera RAW Compatibility 6.01
    If I upgrade to Yosemite will I be forced to go to the new Photos program
    No. After upgrading (and of course make a back up first) you will need to update iPhoto to v9.6.1 (you won't be able to do this prior to upgrading). Here's how:
    Go to the App Store and check out the Purchases List. If iPhoto is there then it will be v9.6.1
    If it is there, then drag your existing iPhoto app (not the library, just the app) to the trash
    Install the App from the App Store.
    Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.
    Photos is v1 of a new app, as yes it's not as mature as iPhoto. It uses a different technology for working with external editors. That requires Adobe to write an extension to let it hook into the new app. Not done yet, neither has anyone else.
    Going forward: iPhoto will run on OS 10.10., but there is no guarantee for subsequent versions of the OS. You might want to factor that into your anger term thinking.

  • When converting a .pptx file of 6MB to .pdf, the file size ballooned to 25MB. The original file was created on a PC. What happened? Why? How to fix? Thx.

    When converting a .pptx file of 6MB to .pdf, the file size ballooned to 25MB. The original file was created on a PC. What happened? Why? How to fix? Thx.

    gssharpe wrote:
    What happened?
    Nothing much. Different formats.
    How to fix?
    Try editing the original file. Resample pics to a lower resolution, check out other graphics, check table borders (eliminate any dotted lines or borders), check font usage. When generating PDF, try Save As (instead of Print > Save As), although I don't expect that'll make much difference.
    Next, open the PDF in Preview, choose File > Save As, choose Format: PDF, Quartz Filterz: Reduce File Size. If that isn't enough, you can use ColorSync Utility to duplicate the Reduce File Size filter, and then edit it for a more aggressive size reduction. But keep in mind that size reduction means lower quality.

  • How to change archivelog file size in oracle 11g

    Hello,
    In my oracle 11g database inside flash recovery area how to increase each files size , now it 41 Mb per file iits name is o1_mf_1_161_8mfpwtbj_.arc how to change it to
    the understandable name.
    Thanks and regards

    Hi,
    As you know archived log is create when online log is switch. Archived log size might be maximum equal to online redo log size.
    Because archived log size is copied from online redo log file, if you want change archived redo log size, then you must change online redo log size.
    But you must think, what is advantages and disadvantages of change of online redo log size, it depends direct task LGWR process.
    You can change archived redo log name with change LOG_ARCHIVE_FORMAT parameter.
    See : http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams103.htm
    Regards
    Mahir M. Quluzade

  • Web Inspector how to see total file size transferred to browser

    Hi
    After seeing several tutorials with Safari 4/5 I have bin looking for the total file size that is transferred to the browser when loading a website.
    These statistics where easy to find on the old Web Inspector. Does anyone know where I can find this now?
    It would be a very big help! Thank you for your time!

    Does ScriptingListener.plugin record AM code for this specific step?
    No. When you specify the desired file size, PS immediately computes the required compression/quality value necessary to achieve that desired size. The AM code has only that computed Quality value and not the desired file size.
    In other words, you still can't programmatically specify the desired file size.
    As far as slices, I don't have a clue. I've never had the need to use them.

  • My files could not be used because the original files could not be found,how can I locate them?

    my files could not be used, because the original files could not be found, how do I locate them.  Help!!!!!

    Hello DBlake1,
    I suggest this article named iTunes: Finding lost media and downloads found here http://support.apple.com/kb/TS1408
    All the best,
    Sterling

  • SQL 2008 R2 - Mirror sys.master_files data file size not updating

    Hi,
    I have an odd issue where the primary server is SQL 2008 R2 SP1 and the secondary is SQL 2008 R2 SP2. I have databases mirroring between these servers. We recently moved the log file on the secondary to a different drive. The file sizes match and are updating
    exactly the same between both servers. The mirror monitor shows the mirroring successful and everything is up to date. When we check the sys.master_files tables on the mirror, the size of the data file has not updated since moving the log file. Tried restarting
    SQL but not joy.
    Anyone have any ideas?
    Thanks
    Rob

    Hi,
    I would say you wait for some time it would get reflected I have seen this with sys.master_files they are updated late. Like when you delete heavy data, data would be gone but space captured by data would be  released slowly due to internal ghost operation
    cleaning and after this operation completes sys.master_files catalog is updated I guess this is what happening here as well , this is pure speculation. I will stick to this thread please look for a day and then update again
    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

  • How do I get home share when it says: the selected files could not be copied because the machine is not a member of the home share?

    What do I do when it says the selected files could not be copied becasue the machine is not a member of the home share?

    You dont say how you are connected to PC .
    This is how i copy data .
    USB Mass Storage mode .
    Use Windows Explorer to open memory card and copy .
    Your free space problem if not resolved copy data off memory card to pc then back .
         jje

  • How to reduce image file size in spreadsheet

    I have created a spreadsheet that contains cells with small amounts of text, and images that I brought in from the Media Browser from iPhoto. This has caused the file size to become HUGE, on the order of 234 MB. Saving it as a pdf only reduces it to 220 MB.
    I have tried the Format>Image>Reduce Image File Size, as well as File>Reduce File Size, but in both cases, those options are grayed out.
    What am I doing wrong? All I really want is thumbnail versions of my image files.
    I don't understand what the Reduce Image File Size command would be used for, if it doesn't work for this?

    When you insert a picture in a cell, it's used as a background.
    To do that, the app keep it in a size allowing it to accomodate the larger cell size permitted.
    If you want to get small images matching the cell size which you use, you must reduce the picture by yourself before inserting it. For instance, cells are often 72 * 16 pixels ones so you may reduce your pictures so that thir width become 72 pixels.
    Of course, if the user enlarge the cell, the picture will become highly pixelated.
    Look at this example.
    In B4 is the original : 202 x 177 pixels
    In C3 is the reduced one : 72 x 63
    in B2 is the reduced one in a 202 x 177 pixels cell. It's awfully pixelized
    We must arbitrate between size and quality.
    Yvan KOENIG (VALLAURIS, France) samedi 10 septembre 2011 16:50:24
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

Maybe you are looking for

  • Filter Orientation is not working correctly

    Hello all, This is my first post so thanks in advance for any help and advice given. I have recieved a CD of images from one of our suppliers and i need to separate them into Portrait, Landscape and Square. I have open the CD in Adobe Bridge via CS5

  • How do I make a navigable PDF file?

    I have a few different PDF files that I want to make into one, navigable document.  It's sort of like an instruction manual.  It will have a table of contents, and if people want to jump to chapter 2, I would like for them to click the link in the ta

  • Photoshop Element Installation Problems

    As the installation wizard gets to the end, it stops and says that the wizard was interrupted and I need to run setup again.  It deletes all the files that was installed.  It happens when it says "rolling back actions".  I am running Vista Ultimate 6

  • Request bug

    Why is it that when I press the Create button on my report page to go to my form page to enter new row, the request does not change to 'CREATE' (I saw the session)? I count on it so that I can set proper conditions on my buttons (create, save, delete

  • Errors when loading Help section of LinkedIn

    I'm using Mac OS X 10.4.11 and when I login to LinkedIn and click the Help Center link at the bottom left of the page, it starts to take me to that section, but then a drop-down sheet appears with this error message: 's2.wordpress.com:443 uses an inv