Paging in Database

hello all,
Actually we have a database Oracle10G with RAC having 2 instances. but in one instance always showing a error that is :
'Significant virtual memory paging was detected on the host operating system.'
bcoz of this error the speed of databse gets slow.
Plz help me to solve this prob.

Let's have this problem straighten down. EM DB Control shows problem with pagination and swap (virutal memory access), it immediately is translated to performance degradation.
Going back to the basics:
SGA + OS Required memory + Dynamic Process Memory + OS Margin <= Physical RAM
If this inequation is not met, result immediatly will be use of VMem. VMem is just a mean for the OS not to panic in case it runs out of physical memory to run processes.
You must perform one out of two tasks (preferabily both):
Tune your SGA Memory Structures (Shared Pool, Java Pool, Large Pool, DBBuffCache), by reducing as much as possible their values, so you can make it fit according to the above inequation.
Increase physical RAM. No way Jose. If the above goal was not met, your Instance is consuming too much memory (compared with the physical installed memory).
Additioanally, are ther any other processes besides Oracle Processes, running concurrently? Do you have only one Oracle Instance, or do you have additional Instances?
Try to drop as much ballast as possible.

Similar Messages

  • Cfgrid with database paging

    Hello, I'm having some trouble with the cfgrid tag and I hope
    that you can help me, since I've been googling for hours looking
    for that and didn't find anything. Here's my problem:
    I'm shoing some data in a cfgrid, and everything's working
    perfectly, but I have a big table in my database and the page takes
    too long to load. I thought of the idea of paging my database
    queries, but now I must make the cfgrid show the total number of
    pages, instead of the number of pages based on the selected
    records, so I can switch pages executing other selects. Is this
    possible? If not, what else can I do to make my query
    faster?

    Look into using the bind attribute with a cfc.
    Ken

  • Scrolling recordsets for oracle 8.1.5

    Hi,
    Am working on a Jsp application which is in fact a forum application just like
    the one on which i am posting this question.
    Am using Jdbc thin connection But I find that it doesnot support scrolling recordsets at all , i can use only rs.next() and not rs.first() or rs.absolute()
    which i require for paging
    The database I am using is Oracle *i 8.1.5 and the drivers are bundled in classes111.zip .
    Now is there a way i can do acheive this somehow.
    Thanks in advance for any help

    rdbms 815 went out of support on dec. 31, 2000.
    you need to move to a currently supported version (i.e 816 or 817(recommended)).
    once a product goes out of support, patches are no longer created for it ..

  • ESE - Event Log Warning: 906 - A significant portion of the database buffer cache has been written out to the system paging file...

    Hello -
    We have 3 x EX2010 SP3 RU5 nodes in a cross-site DAG.
    Multi-role servers with 18 GB RAM [increased from 16 GB in an attempt to clear this warning without success].
    We run nightly backups on both nodes at the Primary Site.
    Node 1 backup covers all mailbox databases [active & passive].
    Node 2 backup covers the Public Folders database.
    The backups for each database are timed so they do not overlap.
    During each backup we get several of these event log warnings:
     Log Name:      Application
     Source:        ESE
     Date:          23/04/2014 00:47:22
     Event ID:      906
     Task Category: Performance
     Level:         Warning
     Keywords:      Classic
     User:          N/A
     Computer:      EX1.xxx.com
     Description:
     Information Store (5012) A significant portion of the database buffer cache has been written out to the system paging file.  This may result  in severe performance degradation.
     See help link for complete details of possible causes.
     Resident cache has fallen by 42523 buffers (or 27%) in the last 903 seconds.
     Current Total Percent Resident: 26% (110122 of 421303 buffers)
    We've rescheduled the backups and the warning message occurences just move with the backup schedules.
    We're not aware of perceived end-user performance degradation, overnight backups in this time zone coincide with the business day for mailbox users in SEA.
    I raised a call with the Microsoft Enterprise Support folks, they had a look at BPA output and from their diagnostics tool. We have enough RAM and no major issues detected.
    They suggested McAfee AV could be the root of our problems, but we have v8.8 with EX2010 exceptions configured.
    Backup software is Asigra V12.2 with latest hotfixes.
    We're trying to clear up these warnings as they're throwing SCOM alerts and making a mess of availability reporting.
    Any suggestions please?
    Thanks in advance

    Having said all that, a colleague has suggested we just limit the amount of RAM available for the EX2010 DB cache
    Then it won't have to start releasing RAM when the backup runs, and won't throw SCOM alerts
    This attribute should do it...
    msExchESEParamCacheSizeMax
    http://technet.microsoft.com/en-us/library/ee832793.aspx
    Give me a shout if this is a bad idea
    Thanks

  • Paging records in jsp_with sqlserver database

    hai ! developers
    can any one help me out , paging database records 10 per page
    using sql server 200 using tomcat 5.0 in windows xp

    Well your Oracle procedure is designed to load a file, so that's what it does. If you want it to load from a data stream such as an upload, you need to rewrite it accordingly.
    So far this is not a Java question at all.

  • A significant portion of the database buffer cache has been written out to the system paging file.

    Hi,
    We seem to get this error through SCOM every couple of weeks.  It doesn't correlate with the AV updates, so I'm not sure what's eating up the memory.  The server has been patched to the latest roll up and service pack.  The mailbox servers
    have been provisioned sufficiently with more than enough memory.  Currently they just slow down until the databases activate on another mailbox server.
    A significant portion of the database buffer cache has been written out to the system paging file.
    Any ideas?

    I've seen this with properly sized servers with very little Exchange load running. It could be a  number of different things.  Here are some items to check:
    Confirm that the server hardware has the latest BIOS, drivers, firmware, etc
    Confirm that the Windows OS is running the recommended hotfixes.  Here is an older post that might still apply to you
    http://blogs.technet.com/b/dblanch/archive/2012/02/27/a-few-hotfixes-to-consider.aspx
    http://support.microsoft.com/kb/2699780/en-us
    Setup a perfmon to capture data from the server. Look for disk performance, excessive paging, CPU/Processor spikes, and more.  Use the PAL tool to collect and analyze the perf data -
    http://pal.codeplex.com/
    Include looking for other applications or processes that might be consuming system resources (AV, Backup, security, etc)
    Be sure that the disk are properly aligned -
    http://blogs.technet.com/b/mikelag/archive/2011/02/09/how-fragmentation-on-incorrectly-formatted-ntfs-volumes-affects-exchange.aspx
    Check that the network is properly configured for Exchange server.  You might be surprise how the network config can cause perf & scom alerts.
    Make sure that you did not (improperly) statically set msExchESEParamCacheSizeMax and msExchESEParamCacheSizeMin attributes in Active Directory -
    http://technet.microsoft.com/en-us/library/ee832793(v=exchg.141).aspx
    Be sure that hyperthreading is NOT enabled -
    http://technet.microsoft.com/en-us/library/dd346699(v=exchg.141).aspx#Hyper
    Check that there are no hardware issues on the server (RAM, CPU, etc).  You might need to run some vendor specific utilities/tools to validate.
    Proper paging file configuration should be considered for Exchange servers.  You can use the perfmon to see just how much paging is occurring.
    These will usually lead you in the right direction. Good Luck!

  • SCOM reports "A significant portion of the database buffer cache has been written out to the system paging file. This may result in severe performance degradation"

    This was discussed here, with no resolution
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/bb073c59-b88f-471b-a209-d7b5d9e5aa28?prof=required
    I have the same issue.  This is a single-purpose physical mailbox server with 320 users and 72GB of RAM.  That should be plenty.  I've checked and there are no manual settings for the database cache.  There are no other problems with
    the server, nothing reported in the logs, except for the aforementioned error (see below).
    The server is sluggish.  A reboot will clear up the problem temporarily.  The only processes using any significant amount of memory are store.exe (using 53GB), regsvc (using 5) and W3 and Monitoringhost.exe using 1 GB each.  Does anyone have
    any ideas on this?
    Warning ESE Event ID 906. 
    Information Store (1497076) A significant portion of the database buffer cache has been written out to the system paging file.  This may result in severe performance degradation. See help link for complete details of possible causes. Resident cache
    has fallen by 213107 buffers (or 11%) in the last 207168 seconds. Current Total Percent Resident: 79% (1574197 of 1969409 buffers)

    Brian,
    We had this event log entry as well which SCOM picked up on, and 10 seconds before it the Forefront Protection 2010 for Exchange updated all of its engines.
    We are running Exchange 2010 SP2 RU3 with no file system antivirus (the boxes are restricted and have UAC turned on as mitigations). We are running the servers primarily as Hub Transport servers with 16GB of RAM, but they do have the mailbox role installed
    for the sole purpose of serving as our public folder servers.
    So we theroized the STORE process was just grabbing a ton of RAM, and occasionally it was told to dump the memory so the other processes could grab some - thus generating the alert. Up until last night we thought nothing of it, but ~25 seconds after the
    cache flush to paging file, we got the following alert:
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          8/2/2012 2:08:14 AM
    Event ID:      17012
    Task Category: Storage
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      HTS1.company.com
    Description:
    Transport Mail Database: The database could not allocate memory. Please close some applications to make sure you have enough memory for Exchange Server. The exception is Microsoft.Exchange.Isam.IsamOutOfMemoryException: Out of Memory (-1011)
       at Microsoft.Exchange.Isam.JetInterop.CallW(Int32 errFn)
       at Microsoft.Exchange.Isam.JetInterop.MJetOpenDatabase(MJET_SESID sesid, String file, String connect, MJET_GRBIT grbit, MJET_WRN& wrn)
       at Microsoft.Exchange.Isam.JetInterop.MJetOpenDatabase(MJET_SESID sesid, String file, MJET_GRBIT grbit)
       at Microsoft.Exchange.Isam.JetInterop.MJetOpenDatabase(MJET_SESID sesid, String file)
       at Microsoft.Exchange.Isam.Interop.MJetOpenDatabase(MJET_SESID sesid, String file)
       at Microsoft.Exchange.Transport.Storage.DataConnection..ctor(MJET_INSTANCE instance, DataSource source).
    Followed by:
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          8/2/2012 2:08:15 AM
    Event ID:      17106
    Task Category: Storage
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      HTS1.company.com
    Description:
    Transport Mail Database: MSExchangeTransport has detected a critical storage error, updated the registry key (SOFTWARE\Microsoft\ExchangeServer\v14\Transport\QueueDatabase) and as a result, will attempt self-healing after process restart.
    Log Name:      Application
    Source:        MSExchangeTransport
    Date:          8/2/2012 2:13:50 AM
    Event ID:      17102
    Task Category: Storage
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      HTS1.company.com
    Description:
    Transport Mail Database: MSExchangeTransport has detected a critical storage error and has taken an automated recovery action.  This recovery action will not be repeated until the target folders are renamed or deleted. Directory path:E:\EXCHSRVR\TransportRoles\Data\Queue
    is moved to directory path:E:\EXCHSRVR\TransportRoles\Data\Queue\Queue.old.
    So it seems as if the Forefront Protection 2010 for Exchange inadvertently trigger the cache flush which didn't appear to happen quick or thuroughly enough for the transport service to do what it needed to do, so it freaked out and performed the subsequent
    actions.
    Do you have any ideas on how to prevent this 906 warning, which cascaded into a transport service outage?
    Thanks!

  • Database Adapter and Paging

    Hi
    I would like to add paging (first row, number of rows) to the Database Adapter that are calling PL/SQL. I can't see any options for this. Is this is something that I have to do at the PL/SQL level to work with Database Adapter? How would I do this in PL/SQL?
    Regards

    Try something like this...
    SELECT * FROM
         SELECT a.*, rownum r__
         FROM
              SELECT * FROM ORDERS WHERE CustomerID LIKE 'A%'
              ORDER BY OrderDate DESC, ShippingDate DESC
         ) a
         WHERE rownum < ((pageNumber * pageSize) + 1 )
    WHERE r__ >= (((pageNumber-1) * pageSize) + 1)
    This was extracted from Frans Bouma's blog...
    http://weblogs.asp.net/fbouma/archive/2007/05/21/api-s-and-production-code-shouldn-t-be-designed-by-scientists.aspx
    Cheers,
    Vlad

  • Database Listing And Paging With Flash Builder

    Hello ;
    i trying to develop an android application with flash builder.
    i have a database and connected it, selected a table and created a service.
    my table have a four coloumn. id - img - tag - date
    id : as you know. table id coloumn auto increment.
    img : long text area. i want to listed to page when clicking the menu item.
    tag : tag is title of the img.
    date : standart date coloumn.
    i want to listing all data with menu style. i added to spinner list and it get to value at database tag (title) .
    how can i listing to text (long text area) in to the img coloumn when selected the tag (title) at spinner list. 
    thanks
    bye.

    i researched a many document but still can't find a insert data grid.
    it seems to under Components Panel all documents and videos
    but i can't see it?
    Anirudh SasikumarRangoraTodd_KoprivaJason San JoseSunilAdobeAmy_WongDatabase Listing And Paging With Flash BuilderUsing Flash BuilderFlex
    somebody help me please?
    thanks
    bye

  • Paging database records

    Hi all
    Can anyone send a complete code for implementing paging database records in jsp file
    Thx
    gbk

    I agree, you shouldn't expect anyone to write your code for you.
    If you want to see a sample of paging database records, see http://www.dotjonline.com/taglib/grid.jsp
    Good luck.

  • Implement paging (prev/next) for jtable data obtained from database

    Hello all, first time poster and relative newbie to java.
    I am trying to learn java and in the process have stumbled upon this issue.
    I have searched through the forum as well as googled my way around for answers. And though I am more informed than I was, I still am a little stumped.
    I would like to implement a table that pulls data from a database (mysql), limits the results, and include prev/next buttons to traverse through the records.
    I think this involves writing my own AbstractTableModel. And I have seen some examples as such. But could use a little more help.
    I will always be pulling 10 rows, but the columns will change depending on query I am using so implementing a more generic set of methods would be great.. To be specific...
    Table: users
    Columns: userid, ufname, ulname, utype, ustatus, etc....
    For selection purposes I only need to show: userid, ufname, ulname. So I figure I write a query like:
    select userid, ulname, ufname from users limit index, 10
    Where index tells the query where to start from then use the results to populate the jtable. I can do this statically but do not quite understand how to implement the next/prev buttons so that the table pulls the next or previous set of data.
    If this can happen without the need to repaint/refresh the frame that would be great.
    sudo code (with comments) would be ok, but a basic working example of this would be even better.
    thank you in advance, if more information is required please let me know.

    tumbleweeds roll by...........

  • Runtime paging with java for the database values.

    I m preparing a project in which i cant try to page the data etracted from the database in runtime. Plz Help me for this problem.

    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.sql.DriverManager;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class AttachFormPagination extends Action
      public AttachFormPagination()
      public ActionForward execute(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception
              try
                   int tot = 0;
                   String startIndex = request.getParameter("start");
                   String endIndex = request.getParameter("end");
                   System.out.println("---------start is>" + startIndex);
                   System.out.println("---------end is>" + endIndex);
                   int sIndex = Integer.valueOf(startIndex).intValue();
                   int eIndex = Integer.valueOf(endIndex).intValue();
                Class.forName("org.gjt.mm.mysql.Driver");
                   Connection con=DriverManager.getConnection("jdbc:mysql://localhost/","id","pw");
                   Statement st = con.createStatement();
                   // this is for getting the total records
                   Statement st1 = con.createStatement();
                   ResultSet rs1 = st1.executeQuery("select * from tablename");
                   while(rs1.next())
                        tot++;
                   System.out.println("total value is" + tot);
                   String total = ""+tot;
                   String query = "select * from tablename limit " + sIndex + "," + eIndex;
                   System.out.println("---------query is>" + query);
                   ResultSet rs = st.executeQuery(query);
                   List cusList = new ArrayList();
                   AttachFormBean afb = null;
                   while(rs.next())
                        afb = new AttachFormBean();
                        afb.setName(rs.getString(1));
                        afb.setActivity(rs.getString(2));
                        afb.setProduct(rs.getString(3));
                        afb.setCompetitor(rs.getString(4));
                        afb.setEnvironment(rs.getString(5));
                        afb.setCreatedBy(rs.getString(6));
                        cusList.add(afb);
                   request.setAttribute("custlist",cusList);
                   request.setAttribute("startIndex",startIndex);
                   request.setAttribute("endIndex",endIndex);
                   request.setAttribute("total",total);
              catch (Exception e)
                   System.out.println("Exception---------"+e);
              return mapping.findForward("success");
    }and
    this code to be placed in ur page
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
              <tr>
                   <td align="left">�</td>
                   <td nowrap align="right">
                   <a href="#" onclick="PagenationStart()">
                   <img src='images/start_off.gif' width='9' height='8' alt='Start'  border='0' align='absmiddle' href="#" >�Start��</a>
                   <a href="#" onclick="PagenationPrevious()">
                   <img src='images/previous_off.gif' width='4' height='8' alt='Previous'  border='0' align='absmiddle'>�Previous��</a>
                   <a href="#" onclick="PagenationNext()">
                   ��Next�<img src='images/next_off.gif' width='4' height='8' alt='Next'  border='0' align='absmiddle'></a>
                   <a href="#" onclick="PagenationEnd()">
                   ��End�<img src='images/end_off.gif' width='9' height='8' alt='End'  border='0' align='absmiddle'></a></td>
              </tr>
         </table>and put this in ur page inside script
    function PagenationStart()
         var a = 0;
         var b = 4;
         document.ownerPage.action="actionpagename.do?param="+param+"&start="+a+"&end="+b;
         document.ownerPage.submit();
    function PagenationPrevious()
         var a = eval('<c:out value="${requestScope.startIndex}"/>') - 4;
         var b = 4;
         document.ownerPage.action="actionpagename.do?param="+param+"&start="+a+"&end="+b;
         document.ownerPage.submit();
    function PagenationNext()
         var a = eval('<c:out value="${requestScope.startIndex}"/>')+4;
         var b = 4;
         document.ownerPage.action="actionpagename.do?param="+param+"&start="+a+"&end="+b;
         document.ownerPage.submit();
    function PagenationEnd()
         var a = eval('<c:out value="${requestScope.total}"/>')-4;
         var b = eval('<c:out value="${requestScope.total}"/>');
         document.ownerPage.action="actionpagename.do?param="+param+"&start="+a+"&end="+b;
         document.ownerPage.submit();
    }

  • Data Sliding/Paging using Pager Tag libs and Database Datasource

    Hello,
    I have implemented data sliding using the pager-tag libraries. This does not resolve the issue I have about getting a large number of row from my orable database.
    Everytime I hit the next link, my db query gets executed and gets all the rows since the url is pointed to my database bean.
    1) Is there a way to only get selected number of rows each time?
    2) Can I somehow store the list in my jsp page so that when I hit next and the url is set to my jsp page, it finds the data?
    I would prefer the method 1) since that would resolve the real reason why one needs data sliding?
    Thanks,
    Chhaya

    Well I am not very familiar with the display taglib but in my list I need to add a checkbox with every row displayed plus I need to make a link on a particular column for every row, not sure if I could achieve this with display taglib. Can I?

  • SAP ECC6 memory and paging issues

    Dear Experts
    I have recently upgraded my 4.6C systems to an ECC 6 system (DB2 LUW 9.5 on AIX 5.3 TL9 64 Bit OS)
    I have been running the LPAR with 14 GB of memory and we are around 100-200+ users using the system, I was monitoring using nmon and found that Physical Memory was around 99.8% Used   (14311.8MB and 22.6MB was free) also the paging space was around 37.2% in result causing the system at times to run slow which can have a very negative effect on the users.
    After further investigation I found that after a system restart the Physical Memory would start around 50.9% and increased at a steady pace until it reached 99.8% that is when the system would start using the paging space which would steadily increase, I found that the only solution was a system restart at least once a week to reduce the memory consumption.
    At first glance it looked like a database manger memory leak with the process db2sysc, so I searched the net with the search words u201Cdb2 memory leaku201D and found the following APARs and notes.
    APAR JR30285 - Pervasive memory leak when compiling SQL statements that use SQL/XML functions
    APAR IZ35230 - There is a pervasive unix-specific private memory leak in the security component
    Note 1288341 - Memory leak in APPLHEAPSZ -> SQL0954C 
    Note 1352361 - Memory leak in shared memory area abrfci
    Note 1147821 - DB6: Known Errors and available Fixes in DB2 9.5 LUW
    After reading the notes and APARs I decided to updated DB2 to the latest fix pack (5SAP), but after the fix pack was implemented it did not solve the memory problem
    I started look at different problems with SAP ECC6, db2 and AIX with paging/memory problems and I found the following notes to do with AIX memory and paging but none of them helped as all parameters and settings were set accordingly  
    789477 - Large extended memory on AIX (64-bit) as of Kernel 6.20
    191801 - AIX 64-bit with very large amount of Extended Memory
    973227 - AIX Virtual Memory Management: Tuning Recommendations
    884393 - AIX saposcol consumes large amount of memory.
    856848 u2013 AIX Extended Memory Disclaiming 
    1048686 u2013 Recommended AIX settings for SAP
    1121904 u2013 SAP on AIX: Recommendations for Paging
    1086130 u2013 DB6: DB2 Standard Parameter Settings
    After even more investigation I found the following evidence suggesting AIX Virtual Memory Manager might have a problem

    Shared memories inside of pool 40
    Key:       42  Size:    17792992 (  17.0 MB) DB TTAB buffer              
    Key:       43  Size:    53606392 (  51.1 MB) DB FTAB buffer              
    Key:       44  Size:     8550392 (   8.2 MB) DB IREC buffer              
    Key:       45  Size:     7014392 (   6.7 MB) DB short nametab buffer     
    Key:       46  Size:       20480 (   0.0 MB) DB sync table               
    Key:       47  Size:    10241024 (   9.8 MB) DB CUA buffer               
    Key:       48  Size:      300000 (   0.3 MB) Number range buffer         
    Key:       49  Size:     2769392 (   2.6 MB) Spool admin (SpoolWP+DiaWP) 
    Shared memories outside of pools
    Key:        3  Size:   114048000 ( 108.8 MB) Disp. communication areas   
    Key:        4  Size:      523048 (   0.5 MB) statistic area              
    Key:        6  Size:   692224000 ( 660.2 MB) ABAP program buffer         
    Key:        7  Size:       14838 (   0.0 MB) Update task administration  
    Key:        8  Size:   134217828 ( 128.0 MB) Paging buffer               
    Key:        9  Size:   134217828 ( 128.0 MB) Roll buffer                 
    Key:       18  Size:     1835108 (   1.7 MB) Paging adminitration        
    Key:       19  Size:   119850000 ( 114.3 MB) Table-buffer                
    Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer        
    Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory         
    Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf. 
    Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory 
    Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0
    Key: 58900114  Size:        4096 (   0.0 MB) SCSA area                   
    Nr of operating system shared memory segments: 16
    Shared memory resource requirements estimated
    ================================================================
    Total Nr of shared segments required.....:         16
    System-imposed number of shared memories.:       1000
    Shared memory segment size required min..:  692224000 ( 660.2 MB)
    System-imposed maximum segment size......: 35184372088832 (33554432.0 MB)
    Swap space requirements estimated
    ================================================
    Shared memory....................: 1654.8 MB
    ..in pool 10  328.6 MB,   58% used
    ..in pool 40  143.3 MB,   30% used
    ..not in pool: 1174.1 MB
    Processes........................:  413.4 MB
    Extended Memory .................: 6144.0 MB
    Total, minimum requirement.......: 8212.2 MB
    Process local heaps, worst case..: 3814.7 MB
    Total, worst case requirement....: 21882.9 MB
    Errors detected..................:    0
    Warnings detected................:    3

  • File name in msdb.dbo.backupset no longer matches the actual file name on the storage media. Error 3013 Restore Database is terminating abnormally.

    Thanks in advance for taking the time to read this and comment. Platform: Windows Server 2008 R2 Enterprise Edition SP1 (X64) Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Problem Description: The file name recorded in the msdb.dbo.backupset (sans the extension) no longer matches the actual file name written to the backup media which is
    in this case a NETAPP NAS storage share. Example:
    Mohave_backup_2014_03_14_233001_1158878.bak      (from NETAPP NAS filer)
    Mohave_backup_2014_03_16_233001_4167237             (from MSDB.dbo.backupset), as you can see, the last 7 digits (chars) of the file name are different, although the date and time are identical. The
    file names had previously been matching perfectly. The first occurance of this problem occured on 03/13/2014 at 5:00 AM MST. The error generated by the job was:
    Date  3/14/2014 10:29:23 AM
    Log  Job History (Refresh - Restore Mohave_93_DEV AD HOC)
    Step ID  1
    Server  OurDevServer
    Job Name  Refresh - Restore Mohave_93_DEV AD HOC
    Step Name  Restore Mohave_93_DEV
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  50000
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    Executed as user: OurDomain\OurNetworkServiceLogin. Restore Mohave Prod to Mohave_93_DEV - ERROR: 3013 RESTORE DATABASE is terminating abnormally. [SQLSTATE 01000] (Message 50000).  The step succeeded.

    Olaf:
    Thanks for your reply. Sorry, my bad. I inadvertently copied wrong [name] form the msdb.dbo.backupset. On 3/13 and 3/14, the two file names did not match. In trying to select another example to show you this morning, I found that the names are now matching!
    What I was doing was to create dynamic t-sql to retrieve the latest prod backup of the database, and then restore it with move to the development server. This is an ad-hoc job that the developers can run by themselves whenever they require a refresh. Unfortunately,
    we only keep 3 days worth of backups for these databases, so the original disk file I was trying to use to restore no longer exists. Researching the original error, one of the error descriptions was that the restore could not find the file requested.
    I thought this very strange since I get the file name directly from the backupset table. Further research did indeed show that the file names were different, but unfortunately, I failed to save the details of the file names. Anyway, in looking for a new example
    to show you this morning, I have found that the file names are indeed matching exactly again. If this error pops up again, I will be sure to save all details and re-post.
    Thanks, regards and best wishes to you and yours, 

Maybe you are looking for

  • My SLi issue and what seems to have solved it.

    I've had my new xpower  motherboard for a few weeks now.  From the very first day everything has worked with one exception.  When I put a second GTX 460 Hawk on the system for SLi problems began.  The first thing I noticed was the computer would take

  • Cash Advance report

    Dear All, Please provide me with the standard  cash advance report for Travel management. Regards, Raziq

  • Report footer

    can any one please guide me how to adda filed say "date" o soem text filed in a report footer. through Scripting only.<BR>thanks for hte help

  • Indesign Portfolio SWF Question

    I followed this tutorial: http://blogs.adobe.com/indesignpost/2011/01/creating-an-interactive-portfolio-with-indesig n/ When I open my swf file the first page has the button I created and is awesome, then I click on the button and it shows the first

  • How to verify user LDAP group membership

    Hi, we are attempting to determine if a user is a member of a specific LDAP group in our directory and if the user is a member it should return TRUE else FALSE (this is done by defining the LDAP attribute 'CN' (property) which returns a result 'CN=<U