Snapshot problem

hi,
i want to replicate between two databases of different servers.
i want to run reports on 2nd server.
for this,i implement snapshot on 2nd server.
i get the data well but there are extreme performance problem.
when i run report on 2nd server(snapshot) it responds very slow.
moreover, i have a table with 4 gb data and run reports based on that table.
but reports on 1st server dont take so much time.why?
plz advice me.

hi experts,
plz respond.
i am waiting for it.
thanks

Similar Messages

  • Xcode snapshots problems

    It seems in Xcode I'm at a point where the snapshots will no longer work for me. When I make a new snapshot, it always shows every file in the project in the "Files Added" category and there will not ever be files in the "Files Changed" category. Older snapshots a few files in the "Files Changed" category but no new ones do.
    Does anyone know what to do here?
    I've tried removing directories in ArchiveDirectories, editing the Snapshots plist file, removing the snapshots image (~Library/Application Support/Developer/Shared/SnapshotRepository.sparseimage), among other things.

    That was easy. The DU output appears in the console log. Here it is:
    12/23/08 12:30:27 AM Disk Utility[9894] Repairing permissions for “Hina”
    12/23/08 12:30:27 AM Disk Utility[9894] Reading permissions database.
    12/23/08 12:30:27 AM Disk Utility[9894] Reading the permissions database can take several minutes.
    12/23/08 12:36:13 AM Disk Utility[9894] Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r----- .
    12/23/08 12:37:03 AM Disk Utility[9894] Permissions differ on "System/Library/LaunchDaemons/com.apple.usbmuxd.plist", should be -rw-r--r-- , they are -rwxr-xr-x .
    12/23/08 12:37:04 AM Disk Utility[9894] Warning: SUID file "System/Library/Filesystems/AppleShare/afpLoad" has been modified and will not be repaired.
    12/23/08 12:37:04 AM Disk Utility[9894] Warning: SUID file "usr/bin/setregion" has been modified and will not be repaired.
    12/23/08 12:37:12 AM Disk Utility[9894] Warning: SUID file "System/Library/PrivateFrameworks/Install.framework/Versions/A/Resources/runner " has been modified and will not be repaired.
    12/23/08 12:37:12 AM Disk Utility[9894] Warning: SUID file "System/Library/Printers/IOMs/LPRIOM.plugin/Contents/MacOS/LPRIOMHelper" has been modified and will not be repaired.
    12/23/08 12:37:12 AM Disk Utility[9894] Group differs on "private/etc/cups", should be 0, group is 26.
    12/23/08 12:37:12 AM Disk Utility[9894] Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x .
    12/23/08 12:37:22 AM Disk Utility[9894]
    12/23/08 12:37:22 AM Disk Utility[9894] Permissions repair complete
    Doesn't look like it should have helped Xcode at all. This is what I remember with certainty:
    1. I made a snapshot days after installing the 10.5.6 update (directly from Software Update.)
    2. I got the "(no changes)" message when comparing that snapshot with the previous one.
    3. I quit Xcode, relaunched, and the problem had disappeared. All diffs showed up.
    4. Days later, I made another snapshot and "(no changes)" appeared when comparing any snapshots. This time, quitting and relaunching Xcode didn't help at all. The 12-15 and 12-20 folders contained identical files despite my having made many changes.
    5. I tried restoring the SnapshotRepository.sparseimage via Time Machine, mounting the image and looking for missing files, etc. Couldn't find any signs of corruption. Never touched any preferences files though. Nothing helped. This is when I made my original post.
    6. Ran DU "repair permissions" just for grins, and suddenly "it just worked." The latest snapshot that I had made (the one that that seemed to trigger the problem) and all others now show the expected diffs, some of which are quite extensive changes.
    7. Subsequent snapshots also show the correct diffs. So I thought DU had fixed the problem. Maybe not.
    Now, here are some things that I did that directly affected the repository image. I just can't remember exactly when I did them:
    - At some point I deleted a snapshot using the Xcode interface by choosing a snapshot and clicking Delete. I can't remember exactly, but I'm pretty sure I deleted the last one at the time (dated 12-20, which, when I mounted the image, contained files that were physically identical to the 12-15 snapshot's.) This would have probably happened at some point between steps 5 and 6 above, but I'm not sure.
    - I'm pretty sure I made at least one other snapshot on the 20th, got the same "no changes" message, and just gave up fiddling around. Waited a few days, made a few more changes, then posted here.
    Sorry for burning up all that bandwidth. It really doesn't look like permissions could have caused the original problem (the 12-15 and 12-20 snapshots containing identical files despite my changes in Xcode.) But somehow things are fine now.

  • UFS snapshot problems

    Hello all,
    I seem to be having random problems with UFS snapshots. Infrequently our server will completly lock up when I do a UFS snapshot of root and the /var file systems. Sometimes it will happen several times a month, or I may go a couple months between problems. The only thing different about this box versus the other 25 Sun servers I am running is that is has Sun's JES 2005Q4 mail server installed on it. The systems are are this, process stop responding, you can login to the box in that it accepts your username and password and then hangs. Console access is the same, the only way to get the system functional again is poweroff the system. The problems start happening right after the snapshots are attempted. I know this, because the last thing in the logs is the messages from disabling ntp, because ntp locks the file system and has to be disabled before root and /var will work the UFS snapshot.
    Anybody else seen this or have any ideas? The 1:30am phone calls are starting to get old.
    Running Kernel 127111-05 on a V890.
    Thanks,
    Gary

    No one else having any problems with snapshots or am I just the lucky one?
    Gary

  • WEBCAM SNAPSHOT PROBLEM!!

    Everytime I try to take a picture, an old snapshot keeps appearing. It refuses to save my new picture.? basically all the pictures I take on my webcam saves as this old snapshot!!! Anyone can help??!!

    Just remove the "IMAQ Dispose" and it will certainly work better.
    What flows in the image wire is ot the actual image data, but a pointer to the image, so the display on the front panel receives the pointer and go get the image data to display it.
    The issue in the VI you posted is that you don't really know when the "IMAQ dispose" will execute, so if if it executes after the "IMAQ create image", the image buffer is released and there is no image data to be displayed.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • MainStage 2 and Oxygen 49 "snapshot" problem

    Hello,
    I have an M-Audio Oxygen 49 controller, and prior to upgrading to MainStage 2, I would frequently use the "snapshot" function on my controller to send all current hardware slider states to the screen controls. Now, every time I use snapshot, it switches to the very first patch in my list, regardless of what patch I am on. So, if I switch from say, patch 3 to patch 4 (using different buttons on my controller) then hit the snapshot buttons, it switches back to patch #1. It's very annoying, any ideas on how to fox this????
    Thanks!!

    Because the Oxygen 49 probably sends a program change message to MainStage. Because you probably can't disable that on the Oxygen 49, you can only disable listening to program change in MainStage: select the concert level and in the inspector you can disable program change listening.

  • Java 3d rotating text snapshot problem

    Hi guys !
    I have searched for a method which captured a 3d rotating text and print it on the screen ,but i didn`t found it.
    I have to this exercise :
    Write a Java 3D program showing two panels and a button. The first panel displays a scene of a rotating 3D text string. When the button is clicked, the image of the 3D scene is captured and the still image is displayed in the second panel.
    Can anybody help me or write me the source code???
    thank you

    Only a fool will do your homework for you.
    But I can't help noticing that the assignment specifically mentions Java3d, and you're asking on an applet forum. It seems unlikely that you're supposed to implement your assignment as an applet.
    Most likely, the assignment tells you how to obtain Java3d. Either that or an earlier hand-out in your class says how to.
    You should re-read your assignment and other class notes, get the Java3D library, and then read the Java3D documentation. Write a simple "hello world" type program using Java3d. At that point, this assignment will probably be pretty simple for you.

  • Profile - Snapshot problem

    Hi All,
    When I drop task flow on page in design time or in runtime I am getting this error. What I did wrong?
    java.net.URISyntaxException: Illegal character in opaque part at index 16: zip:C:/Documents and Settings/yyyy/Application Data/JDeveloper/system11.1.1.6.38.61.92/DefaultDomain/servers/DefaultServer/tmp/_WL_user/oracle.webcenter.framework.view/qvdb18/WEB-INF/lib/peopleconnections-profile-view.jar!/oracle/webcenter/peopleconnections/profile/default-profile-config.xml
    Please, if someone succeeded with Working with the People Connections Service give me some clue.
    I use IDE 11.1.1.6 the same happened on 11.1.1.5.
    Thanks,
    SNikiforov

    The error is pointing to the space in the file path. The docs state to install jdev so that the app and its config paths do not use spaces in the path.
    you'll need to update the configs to allow the WLS defaultDomain to be recreated in an acceptable path (i.e., no spaces).
    -ryan

  • Diagnosing ORA-01555: what table had the unreconstructable block?

    We have some very long-running batch processes (i.e. > 20 hours for a single INSERT statement) and we sometimes get  ORA-01555 (snapshot too old) failures. Our undo_retention is 10800 seconds=3 hours.
    We have discussed (with the development team) the combination of events that are needed for this situation to arise. They are unable to think of a situation where any of the tables (in today's incident, there are 7 of them) would have been updated after this job started.
    Is there a method for analyzing the trace file to determine which table had the block that could not be reconstructed due to overwritten UNDO? This might give us ideas for how to avoid this via operational changes (i.e. changing the job schedule).
    Of course, we are also pursuing tuning efforts for this query.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for Solaris: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Thanks,
    Mike

    Well you could still check to see if there are any uncommitted transactions for those tables:
    Query the DBA_DML_LOCKS view (and/or DDL view)
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_3157.htm
    select * from DBA_DML_LOCKS
    SESSION_ID,OWNER,NAME,MODE_HELD,MODE_REQUESTED,LAST_CONVERT,BLOCKING_OTHERS
    10,SCOTT,EMP_READ_ONLY,Row-X (SX),None,1163,Not Blocking
    69,SCOTT,EMP_READ_ONLY,Row-X (SX),None,1648,Not Blocking
    That shows that two session are holding exclusive row lock on the EMP_READ_ONLY TABLE. As a test I inserted a row from two different sessions but did NOT commit it yet.
    The DDL version of the view can be used in addition.
    See my reply Sep 4, 2013 12:23 AM  in this thread from yesterday for more info.
    https://forums.oracle.com/message/11174417#11174417
    At least in 10g you can tell before you start if there are any issues to resolve. If there are no issues then once you start your query there won't be any issues that could cause the snapshot problem since your query will be first in line.

  • BTRFS mkinitcpio hook

    UPDATE (6/10/10): http://bbs.archlinux.org/viewtopic.php? … 51#p772651
    THIS POST DEPRECATED UNTIL I UPDATE IT, USE THE UPDATED POST ABOVE
    available:
    http://aur.archlinux.org/packages.php?ID=33376
    this package will install a mkinitcpio hook intended for those who wish to have a single or multi-drive BTRFS file system as their / (root).  the hook will ensure that the chosen root device from the kernel command line is intact and safe to boot.  if root is not a BTRFS device, the hook is quietly skipped.
    it requires btrfs-progs from here:
    http://aur.archlinux.org/packages.php?ID=15635
    hook supports both UUID or device based root names.  UUID is safer; the entire BTRFS array only has one UUID, so referring to it means no problems. use /dev/device/by-uuid on kernel boot.
    hook supports hot spares by using a dummy, spare BTRFS file system to steal devices from as needed.  the spare pool can be referenced by label or UUID.**
    hook supports automatic repairing of the array if possible, automatic dropping of missing/failed devices if possible, and booting the array to a degraded state (one or more devices missing) if possible.**
    **NOTE: there are some bugs that may be in the hook/btrfs module/btrfs-progs that prevent raid1 (maybe others) arrays from being repaired (see http://pastebin.com/m5706f47f) however, this hook will work fine as is for single/multi-device arrays that are intact.  enable experimental options manually by editing options in the hook itself (/lib/initcpio/hooks/btrfs).  USE WITH CAUTION ON MULTI-DEVICE SETUPS.
    the initramfs script can be seen here:
    http://aur.archlinux.org/packages/mkini … btrfs_hook
    its fairly commented, although there are a few things i'll point out for others who want to edit:
    1) i plan to rework _btrfs_scandev() to be more flexible in the variables it produces.  that function simply parses "btrfs-show" and gleans valuable information from it.  it will be used to verify array states with certainty.
    2) seems that btrfsctl does not have meaningful exit codes right now, do not rely, see _btrfs_register().
    3) seems that after legitimately removing a device from an array (NOT using "missing" special keyword), the mount needs a "mount -o remout [mnt]" for the ***missing flag to be removed from btrfs-show.  not sure the ramification of this or if its necessary.
    4) some or all of this functionality may someday be provided by module/kernel
    needs work + comments
    add "btrfs" to HOOKS in mkinitcpio.conf
    Last edited by extofme (2010-06-10 06:09:10)

    bleh, sorry about the late response, i usually subscribe to topics i create/join, i must have missed this one.
    resi wrote:After minor problems with the mkinitcpio (lvm hook seems to conflict with the btrfs one) image and fstab (why do I have to specify the root fs there? its already mounted when fstab is examined)
    i could be mistaken here, but initially your / is mounted read-only.  during the init process, one of the primary scripts issues a "mount -o remount,rw /" to remount the root device as read-write.  i _think_ using the mount command in this way (against a mount point and not a device) requires the mount point to exist in the fstab.
    resi wrote:But what happens if I really screw it up? I'm on 2.6.33 (.2-1) and read about missing ioctl()s regarding btrfs, meaning I can't replace the "default" subvolume (whats the difference between a subvolume and a snapshot anyway?). Its also not possible to list available subvolumes/snpshots, meaning your script (or organizing snapshots in similar ways) is the only chance to keep track of them, right?
    the inability to set the default subvolume is kind of a non-issue after i thought about it more, and some of the discussion on arch-general.  i plan to update the hook soon to allow the "promotion" of the rollback to become the new active subvolume.  ill do this by snapshotting your current / to a new subvolume called /__active, and then permanently booting into that [__active] instead of / or "." (a period is the default subvolume, like current directory).
    there is no difference internally, whatsoever (AFIAK), between a subvolume and a snapshot.  its just a matter of context: a subvolume starts out empty (explicitly created via a command/etc.), and a snapshot starts out with content (COW operation against an existing subvolume, i.e. "copy")
    yeah without the ability to list available subvolumes, we have to make up some structure, and assume everything goes well.  my script simply assumes anything within /snapshots is indeed a snapshot that can be copied (to /__rollback) and booted.  even if we can list subvolumes, we'll still need some kind of predefined structure (so the script knows which snapshots are bootable, and which are not, i.e. snapshots of /home are not bootable).
    resi wrote:I guess a plain "mount -t btrfs /dev/xyz" will mount the "default" subvolume then.
    correct.
    resi wrote:
    Once I really screw up I will have to boot into a snapshot, mount the default subvolume somewhere and restore it using a full copy from the snapshot (a la rsync --delete), then reboot and I'm back at the start again.
    Is this correct?
    unfortunately, without modifying the script, a manual copy is necessary :-( totally defeating the advantages of btrfs.  so, yes.  the problem is that the default subvolume itself cannot be replace by another... note this is different from SETTING the default subvolume.  i'm not sure if the real default subvolume ("." the period) will ever be replaceable/removable, i'd have to ask the btrfs list.  this is why i advocate installing your system into a subvolume FROM THE BEGINNING.  this gives us more flexibility.
    resi wrote:Is there some way to permanently change the subvolume mounted by your hook (i.e. not running in a volatile snapshot, but actually drop the default one and always boot into a given snapshot until further notice - a new snapshot)?
    this is actually how i intend to implement non-volatile rollback abilities in the hook.  instead of booting the default "." subvolume, my hook will ALWAYS boot the subvolume called "__active", located at /__active.  this way you can put whatever you want there, and it will be booted at the next reboot.  therefore, you can boot into rollback mode (essentially booting into /__rollback), update/add/remove whatever you want, and when your satisfied, you simply snapshot /__rollback to /__active and your done.  reboot, and your new __active will be in the same state as the point it was created in rollback mode.
    does all this make sense?  i'm told i tend to over explain/complicate things :-).
    resi wrote:Before every -Syu I have to check for kernel/xorg updates, read about them, check the mailing list, wait ... wait ... wait ... loose patience, give it a shot, recompile/reinstall the necessary stuff (at least I've got PKGBUILDs prepared) and hope for the best. With btrfs, this is just a non-issue. Or at least will be once the integration is better.
    i hear ya.  i like the idea of riding the edge without the fear of being cut by it.  unfortunately, until btrfs is supported by grub2, kernel rollbacks aren't possible (you'd have to manually backup your old kernel+initrd).  something to keep in mind.
    hunterthomson wrote:However, if I can just tell my clients to reboot into a snapshot "problem solved." Then I can spend the time to solve the problem, without the client siting around with a broken system.
    bingo.  that is pretty much my primary motivation here... less time freaking out about down time/whatever; everybody wins.
    hunterthomson wrote:Did you know Fedora 13 supports Btrfs Snapshotting and Roll-Back. Super cool.
    i know they have some support but i haven't tried it; from what i've read, the support is pretty weak... you can get yum to create the snapshot by installing a package, but there is no utility to actually use them later on.  i could be mistaken as i don't use fedora, this is only what i've read.
    what sucks is pacman doesnt have any ability to use hooks... i dont think we will see automatic snapshots by the package manager without a wrapper like clyde/powerpill/packer/etc.
    C Anthony

  • Problem while dropping snapshot

    Dear sir
    I am a junior dba, now I have a problem while I drop a customerinfo snapshot from Oracle 9.2.0.4 database. It seem to be the snapshot has been dropped correctly. But I found it's still remained in user's schema and looks like normal table.
    I tried to drop it again but I got error ORA-12083: must use DROP MATERIALIZED VIEW to drop "customerinfo". But when I used command DROP SNAPSHOT CUSTOMERINFO; and DROP MATERIALIZED VIEW CUSTOMETINFO; It's still error ORA-12003 : materialized view "CUSTOMERINFO" does not exist.
    Please give me some advice.
    PS. Our system is Linux RHAS3 and Oracle 9.2.0.4 Database.

    It could be that the MV was created on a prebuilt table.
    If that is the case, the table must be dropped separately.
    First make sure that you actually want to drop the table and lose the data.
    Look for 'PREBUILT' under 'CREATE MATERIALIZED VIEW' in the docs.

  • Problem with refresh of snapshot

    I am facing one problem with refresh of a snapshot. In the front end (developed in D2K) there is a PL/SQL code written which loops through user_snapshots and refreshes each snapshots one by one.
    With one particular snapshot its giving the error. I traced the session and found the problematic snapshot. I tried to refresh the same snapshot with some other user with DBA role granted to it and its working fine.
    Now I logged in to SQL Plus with the user Z0000 ( This is the user with which the application user logs in to the application) and tried to rerfresh the snapshot. Its giving me ORA-03113 end-of-file on communication channel. Then I granted DBA role to user Z000 and then tried to refresh its again giving the same error.
    I tried with many different users and its working fine.
    Any ideas where could be the problem.
    Thanks
    Sidhu
    Database is 10gR2 on AIX 5.3
    Message was edited by:
    Sidhu

    Hi,
    did you try to do it locally?
    Maybe a possible problem on the network.
    This issue remembers me a bug on older versions.
    It is strange on a 10.2
    Acr

  • Problem Converting standby database from snapshot to physical

    Any help willl be greatly appreciated...
    I am trying to convert a standby database that is in "snapshot" mode back to "physical" standby and I am encountering problems in the process from the "DGMGRL" command line.
    Both instances are on the same physical machine. Everything was working fine untill I tried to change the db from snapshot to physical. The DGMGRL starts the conversion process and is able to shutdown but when trying to restart the instance is fails and reports that the service is not defined.
    Here is the issue I am facing:
    C:\app\MMJ\product\11.1.0\db_1\BIN>
    C:\app\MMJ\product\11.1.0\db_1\BIN>set ORACLE_SID=I11G1 <======= the primary database
    C:\app\MMJ\product\11.1.0\db_1\BIN>dgmgrl
    DGMGRL for 32-bit Windows: Version 11.1.0.6.0 - Production
    Copyright (c) 2000, 2005, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect sys/password@i11g1sb <===== the standby database currently in snapshot mode
    Connected.
    DGMGRL> connect sys/password@i11g1 <==== the primary database
    Connected.
    DGMGRL> convert database 'i11g1sb' to physical standby;
    Converting database "i11g1sb" to a Physical Standby database, please wait...
    Operation requires shutdown of instance "i11g1sb" on database "i11g1sb"
    Shutting down instance "i11g1sb"...
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Operation requires startup of instance "i11g1sb" on database "i11g1sb"
    Starting instance "i11g1sb"...
    Unable to connect to database
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Failed.
    You are no longer connected to ORACLE
    Please connect again.
    Unable to start instance "i11g1sb"
    You must start instance "i11g1sb" manually
    Failed to convert database "i11g1sb"
    DGMGRL> show configuration
    Configuration
    Name: DGConfig1
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    i11g1 - Primary database
    i11g1sb - Snapshot standby database (disabled)
    Fast-Start Failover: DISABLED
    Current status for "DGConfig1":
    SUCCESS
    DGMGRL> exit
    C:\app\MMJ\product\11.1.0\db_1\BIN>set ORACLE_SID=I11G1SB
    C:\app\MMJ\product\11.1.0\db_1\BIN>sqlplus /nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Mar 25 11:40:16 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SQL> connect / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 426852352 bytes
    Fixed Size 1333648 bytes
    Variable Size 369100400 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 6086656 bytes
    Database mounted.
    Database opened.
    ==============>>>> as you can see I can start the standby database without any problems and even query the table in which I made some changes. I had added the record with "Region_ID"=30. I have
    SQL> select * from hr.regions;
    REGION_ID REGION_NAME
    30 JAPAC
    1 Europe
    2 Americas
    3 Asia
    4 Middle East and Africa
    SQL>
    The same table on the primary database has the following records in the same table:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\MMJ>set ORACLE_HOME=c:\app\mmj\product\11.1.0\db_1
    C:\Documents and Settings\MMJ>set ORACLE_SID=i11g1
    C:\Documents and Settings\MMJ>
    C:\Documents and Settings\MMJ>cd %ORACLE_HOME%
    C:\app\MMJ\product\11.1.0\db_1>cd bin
    C:\app\MMJ\product\11.1.0\db_1\BIN>
    C:\app\MMJ\product\11.1.0\db_1\BIN>
    C:\app\MMJ\product\11.1.0\db_1\BIN>sqlplus /nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Mar 25 11:43:10 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SQL> connect / as sysdba
    Connected.
    SQL>
    SQL> select * from hr.regions;
    REGION_ID REGION_NAME
    1 Europe
    2 Americas
    3 Asia
    4 Middle East and Africa
    20 JAPAC
    40 JAPAC
    6 rows selected.
    SQL>
    =======> The TNSPING works fine against both the databases.
    C:\app\MMJ\product\11.1.0\db_1\BIN>set O
    ORACLE_HOME=c:\app\mmj\product\11.1.0\db_1
    ORACLE_SID=I11G1SB
    OS=Windows_NT
    C:\app\MMJ\product\11.1.0\db_1\BIN>
    C:\app\MMJ\product\11.1.0\db_1\BIN>tnsping i11g1sb
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-MAR-2009 16:56:42
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    c:\app\mmj\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = MHost)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAM
    E = I11G1SB)))
    OK (230 msec)
    C:\app\MMJ\product\11.1.0\db_1\BIN>tnsping i11g1
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-MAR-2009 16:56:47
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    c:\app\mmj\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = MHost)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAM
    E = I11G1)))
    OK (30 msec)
    C:\app\MMJ\product\11.1.0\db_1\BIN>lsnrctl
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-MAR-2009 16:57:01
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> set current_listener i11g1
    Current Listener is i11g1
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MHost)(PORT=1523)))
    Services Summary...
    Service "I11G1" has 1 instance(s).
    Instance "I11G1", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0
    LOCAL SERVER
    Service "I11G1SB" has 1 instance(s).
    Instance "I11G1SB", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:55 refused:1
    LOCAL SERVER
    Service "I11G1SB_DGMGRL" has 1 instance(s).
    Instance "I11G1SB", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "i11g1.mhost" has 1 instance(s).
    Instance "i11g1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:6 refused:0 state:ready
    LOCAL SERVER
    Service "i11g1XDB.mhost" has 1 instance(s).
    Instance "i11g1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: MHost, pid: 3944>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MHost)(PORT=1430))
    Service "i11g1_DGB.mhost" has 1 instance(s).
    Instance "i11g1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:6 refused:0 state:ready
    LOCAL SERVER
    Service "i11g1_XPT.mhost" has 1 instance(s).
    Instance "i11g1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:6 refused:0 state:ready
    LOCAL SERVER
    Service "i11g1sb.mhost" has 1 instance(s).
    Instance "i11g1sb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "i11g1sbXDB.mhost" has 1 instance(s).
    Instance "i11g1sb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: MHost, pid: 7336>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MHost)(PORT=1931))
    Service "i11g1sb_DGB.MHost" has 1 instance(s).
    Instance "i11g1sb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "i11g1sb_XPT.mhost" has 1 instance(s).
    Instance "i11g1sb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    LSNRCTL>

    Thanks for the response.
    So, here is the status now....with a little background...
    After my original post, I started to read the manuals and I found the sql command to convert the database back from snapshot to physical standby (sb).
    That worked fine and I had my snapshot sb back to physical sb.
    So when you posted the suggestion, I already had my db in physical sb mode. I said no problem, I will convert it back to snapshot and then back again using dgmgrl instead of sql+
    Well here is how my listener is configured now.
    SID_LIST_I11G1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = I11G1.MHOST)
    (ORACLE_HOME = c:\app\mmj\product\11.1.0\db_1)
    (SID_NAME = I11G1)
    (SID_DESC =
    (GLOBAL_DBNAME = I11G1SB.MHOST)
    (ORACLE_HOME = c:\app\mmj\product\11.1.0\db_1)
    (SID_NAME = I11G1SB)
    (SID_DESC =
    (GLOBAL_DBNAME = I11G1SB_DGMGRL)
    (ORACLE_HOME = c:\app\mmj\product\11.1.0\db_1)
    (SID_NAME = I11G1SB)
    Then using dgmgrl I tried to change the db from p-sb to s-sb and the results are not good....
    "i11g1 >"dgmgrl
    DGMGRL for 32-bit Windows: Version 11.1.0.6.0 - Production
    Copyright (c) 2000, 2005, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL>
    DGMGRL> connect sys/[email protected]
    Connected.
    DGMGRL>
    DGMGRL>
    DGMGRL> convert database 'i11g1sb' to snapshot standby;
    Converting database "i11g1sb" to a Snapshot Standby database, please wait...
    Database "i11g1sb" converted successfully
    DGMGRL> show configuration
    Configuration
    Name: DGConfig1
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    i11g1 - Primary database
    i11g1sb - Snapshot standby database
    Fast-Start Failover: DISABLED
    Current status for "DGConfig1":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show configuration
    Configuration
    Name: DGConfig1
    Enabled: YES
    Protection Mode: MaxPerformance
    Databases:
    i11g1 - Primary database
    i11g1sb - Snapshot standby database
    Fast-Start Failover: DISABLED
    Current status for "DGConfig1":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database 'i11g1sb';
    Database
    Name: i11g1sb
    Role: SNAPSHOT STANDBY
    Enabled: YES
    Intended State: APPLY-OFF
    Instance(s):
    i11g1sb
    Current status for "i11g1sb":
    SUCCESS
    DGMGRL> show database 'i11g1';
    Database
    Name: i11g1
    Role: PRIMARY
    Enabled: YES
    Intended State: TRANSPORT-ON
    Instance(s):
    i11g1
    Current status for "i11g1":
    Error: ORA-16778: redo transport error for one or more databases
    DGMGRL> exit
    Not sure if the following (notice the typo in the service name) in the parameter (log_archive_dest_2) definition on the standby d/b has anything to do with this. I did not get this error when I initially converted to s-sb.
    also I checked all my session notes, I did not type the command to set this parameter on the standby d/b and so it was not a typo on my part. However, it seems to have come from the rman script supplied with the obe. This script is supposed to clone the primary d/b to a standby db and in the process replace the string /i11g1/ with /i11g1sb/.
    SQL> show parameter log_archive_dest_2
    NAME TYPE VALUE
    log_archive_dest_2 string service=i11g1sbsb async valid_
    for=(online_logfile,primary_ro
    le) db_unique_name=i11g1sb
    SQL>
    SQL>
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    i11g1sb
    SQL>
    Given all this, the archive logs seem to be shipping correctly to the sby d/b.
    "i11g1sb >"cd C:\app\MMJ\flash_recovery_area\i11g1sb\ARCHIVELOG\2009_03_30
    "i11g1sb >"dir
    Volume in drive C is Local Disk
    Volume Serial Number is 3189-6472
    Directory of C:\app\MMJ\flash_recovery_area\i11g1sb\ARCHIVELOG\2009_03_30
    30/03/2009 09:05 PM <DIR> .
    30/03/2009 09:05 PM <DIR> ..
    30/03/2009 05:41 PM 35,627,008 O1_MF_1_137_4X2H4JJM_.ARC
    30/03/2009 05:41 PM 1,910,784 O1_MF_1_138_4X2H4LVC_.ARC
    30/03/2009 09:04 PM 10,447,360 O1_MF_1_139_4X2V03RW_.ARC
    30/03/2009 09:05 PM 8,654,848 O1_MF_1_140_4X2V3BWB_.ARC
    4 File(s) 56,640,000 bytes
    2 Dir(s) 39,716,225,024 bytes free
    "i11g1sb >"
    "i11g1 >"dir
    Volume in drive C is Local Disk
    Volume Serial Number is 3189-6472
    Directory of C:\app\MMJ\flash_recovery_area\I11G1\ARCHIVELOG\2009_03_30
    30/03/2009 09:05 PM <DIR> .
    30/03/2009 09:05 PM <DIR> ..
    30/03/2009 04:09 PM 35,627,008 O1_MF_1_137_4X29QHTV_.ARC
    30/03/2009 04:24 PM 1,910,784 O1_MF_1_138_4X2BMOC7_.ARC
    30/03/2009 06:32 PM 10,447,360 O1_MF_1_139_4X2L4J3X_.ARC
    30/03/2009 09:05 PM 8,654,848 O1_MF_1_140_4X2V37KL_.ARC
    4 File(s) 56,640,000 bytes
    2 Dir(s) 39,716,229,120 bytes free
    I am tempted to start all over again, but I'd rather use this opportunity to debug this issue (as a learning exercise). I can always start from scratch. That brings up another Q: What do I need to do to blow away all traces of the stand by database (including all the archive logs etc...) keeping my primary intact. I'd also like to blow away all snapshot and archive logs for the primary as well.

  • Problem (?) with LVM snapshots since Feb 12 updates

    After the update, I'm seeing some LVM snapshot errors during boot. In context:
    :: running hook [udev]
    :: Triggering uevents
    [ x.xxx ] device-mapper: table: 254:9: snapshot: Snapshot cow pairing for exception table handover failed
    [ x.xxx ] device-mapper: table: 254:14: snapshot: Snapshot cow pairing for exception table handover failed
    :: running hook [keymap]
    :: performing fsck on <root LV>
    arch: clean ...
    :: mounting '<root LV>' on real root
    :: running cleanup hook [shutdown]
    :: running cleanup hook [lvm]
    :: running cleanup hook [udev]
    Welcome to Arch Linux!
    The number of errors varies between zero and three, the latter being the number of snapshots I have. 
    The corresponding info in the journal is:
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: table: 254:9: snapshot: Snapshot cow pairing for exception table handover failed
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: ioctl: error adding target to table
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: table: 254:14: snapshot: Snapshot cow pairing for exception table handover failed
    Feb 15 09:29:17 caddywhompus kernel: device-mapper: ioctl: error adding target to table
    Since the errors seem to occur during initramfs, here's some info on that:
    # cat /etc/mkinitcpio.conf
    MODULES="nouveau ext4"
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect block keymap lvm2 keyboard fsck shutdown"
    COMPRESSION="xz"
    COMPRESSION_OPTIONS="-e -9"
    # lsinitcpio -a /boot/caddywhompus.img
    ==> Image: /boot/caddywhompus.img
    ==> Created with mkinitcpio 0.13.0
    ==> Kernel: 3.7.7-1-ARCH
    ==> Size: 3.29 MiB
    ==> Compressed with: xz
    -> Uncompressed size: 12.37 MiB (.265 ratio)
    -> Estimated extraction time: 0.402s
    ==> Included modules:
    ahci dm-mirror ehci-hcd libahci pata_marvell usb-common
    ata_generic dm-mod ext4 [explicit] libata scsi_mod usbcore
    button dm-region-hash hid mbcache sd_mod usbhid
    cdrom dm-snapshot i2c-algo-bit mxm-wmi sr_mod usb-storage
    crc16 drm i2c-core nouveau [explicit] ttm video
    dm-log drm_kms_helper jbd2 pata_acpi uhci-hcd wmi
    ==> Included binaries:
    blkid cp findmnt fsck.ext4 lsblk lvmetad switch_root udevd
    busybox dmsetup fsck kmod lvm mount udevadm
    ==> Early hook run order:
    udev
    lvm2
    ==> Hook run order:
    udev
    keymap
    ==> Cleanup hook run order:
    shutdown
    lvm2
    udev
    Initially I missed the news to enable lvm-monitoring.service. I have since enabled the service, rebooted to another install of Arch which doesn't use LVM (all lvs are prevented from being activated with empty auto_activation_volume_list), and deleted and recreated the snapshots in case they had gotten borked. FWIW, the SSs now only exist for the purpose of troubleshooting this issue, so I'm not worried about their integrity.
    I've done numerous boots and seen instances where both lvm-monitoring.service and dmeventd.service start, where both fail, and where one starts but the other fails. This doesn't seem to correspond with the occurence of the errors during boot. On my most recent boot both failed:
    # systemctl status lvm-monitoring.service dmeventd.service
    lvm-monitoring.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
    Loaded: loaded (/usr/lib/systemd/system/lvm-monitoring.service; enabled)
    Active: failed (Result: exit-code) since Fri 2013-02-15 09:49:25 EST; 2min 10s ago
    Docs: man:dmeventd(8)
    man:lvcreate(8)
    man:lvchange(8)
    man:vgchange(8)
    Process: 237 ExecStart=/usr/sbin/lvm vgchange --monitor y (code=exited, status=5)
    Feb 15 09:49:18 caddywhompus lvm[237]: 2 logical volume(s) in volume group "VG1" monitored
    Feb 15 09:49:25 caddywhompus lvm[237]: No input from event server.
    Feb 15 09:49:25 caddywhompus lvm[237]: VG0-ss_var: event registration failed: Input/output error
    Feb 15 09:49:25 caddywhompus lvm[237]: VG0/snapshot1: snapshot segment monitoring function failed.
    Feb 15 09:49:25 caddywhompus lvm[237]: 8 logical volume(s) in volume group "VG0" monitored
    Feb 15 09:49:25 caddywhompus systemd[1]: lvm-monitoring.service: main process exited, code=exited, status=5/NOTINSSTALLED
    Feb 15 09:49:25 caddywhompus systemd[1]: Failed to start Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
    Feb 15 09:49:25 caddywhompus systemd[1]: Unit lvm-monitoring.service entered failed state
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    dmeventd.service - Device-mapper event daemon
    Loaded: loaded (/usr/lib/systemd/system/dmeventd.service; static)
    Active: failed (Result: core-dump) since Fri 2013-02-15 09:49:35 EST; 2min 0s ago
    Docs: man:dmeventd(8)
    Process: 469 ExecStart=/usr/sbin/dmeventd (code=exited, status=0/SUCCESS)
    Main PID: 470 (code=dumped, signal=SEGV)
    CGroup: name=systemd:/system/dmeventd.service
    Feb 15 09:49:25 caddywhompus systemd[1]: Starting Device-mapper event daemon...
    Feb 15 09:49:25 caddywhompus dmeventd[470]: dmeventd ready for processing.
    Feb 15 09:49:25 caddywhompus systemd[1]: Started Device-mapper event daemon.
    Feb 15 09:49:25 caddywhompus lvm[470]: Monitoring snapshot VG0-ss_var
    Feb 15 09:49:25 caddywhompus lvm[470]: Monitoring snapshot VG0-ss_root
    Feb 15 09:49:25 caddywhompus lvm[470]: Monitoring snapshot VG0-ss_home
    Feb 15 09:49:35 caddywhompus systemd[1]: dmeventd.service: main process exited, code=dumped, status=11/SEGV
    Feb 15 09:49:35 caddywhompus systemd-coredump[676]: Process 470 (dmeventd) dumped core.
    Feb 15 09:49:35 caddywhompus systemd[1]: Unit dmeventd.service entered failed state
    But in all cases, lvdisplay seems to indicate that the snapshots are working fine:
    # lvdisplay VG0/ss_root VG0/ss_var VG0/ss_home
    --- Logical volume ---
    LV Path /dev/VG0/ss_root
    LV Name ss_root
    VG Name VG0
    LV UUID jQo9aS-392r-VEX4-36ra-LNS8-BfIJ-0d8NyL
    LV Write Access read/write
    LV Creation host, time recover, 2013-02-14 17:37:31 -0500
    LV snapshot status active destination for lv_root
    LV Status available
    # open 0
    LV Size 5.00 GiB
    Current LE 1280
    COW-table size 5.00 GiB
    COW-table LE 1280
    Allocated to snapshot 0.01%
    Snapshot chunk size 4.00 KiB
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 254:5
    --- Logical volume ---
    LV Path /dev/VG0/ss_var
    LV Name ss_var
    VG Name VG0
    LV UUID SPEFKY-nOYY-3B2L-GpAq-3eSe-aLtY-jlGLQJ
    LV Write Access read/write
    LV Creation host, time recover, 2013-02-14 17:37:32 -0500
    LV snapshot status active destination for lv_var
    LV Status available
    # open 0
    LV Size 5.71 GiB
    Current LE 1462
    COW-table size 5.71 GiB
    COW-table LE 1462
    Allocated to snapshot 0.51%
    Snapshot chunk size 4.00 KiB
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 254:14
    --- Logical volume ---
    LV Path /dev/VG0/ss_home
    LV Name ss_home
    VG Name VG0
    LV UUID MzJVwN-i49J-1nto-6UM4-bq0P-6jD9-F21ok2
    LV Write Access read/write
    LV Creation host, time recover, 2013-02-14 17:37:32 -0500
    LV snapshot status active destination for lv_home
    LV Status available
    # open 0
    LV Size 10.00 GiB
    Current LE 2560
    COW-table size 10.00 GiB
    COW-table LE 2560
    Allocated to snapshot 0.25%
    Snapshot chunk size 4.00 KiB
    Segments 1
    Allocation inherit
    Read ahead sectors auto
    - currently set to 256
    Block device 254:7
    I made the suggested change to global_filter in lvm.conf, though I never had any problems booting; I just saw the occasional warning about fd0 and/or cdrom when running lvscan after boot, and figured it couldn't hurt.
    And... I have no idea where to go from here.

    Hi,
    I've had the same problem for a few months now and the computer has been rebooted many times. This time an endpoint engine has been updated so requires a reboot.
    I've rebooted now and still don't see any updates for this windows 8 machines. On some of the W8 machines I have seen working, the updates don't appear in software centre, but when I go to view updates in programs and features, they do
    appear there which is also a bit strange.
    All the windows 7 machines work fine.
    Jaz

  • Problem printing static images vs camera tool snapshots

    Hi.
    This question might be a matter of formatting instead of a developer question but since it is related to some VBA code I am using I thought it would be appropriate to post here.  If it isn't, can someone let me know which forum would be more appropriate?
    Here's the situation.  I have a workbook that has many tables on separate worksheets.  Then I have couple "summary" type of worksheets which contain camera tool snapshots of tables from different worksheets for easier viewing/printing. 
    Because of the heavy lag in recalculation time created by using camera tool snapshots, I have turned the snapshots into static images by removing the source range from their formula.  Instead, after making whatever changes I need in the data, I use a
    VBA macro to loop through each snapshot and briefly restore the source range formula so that it updates to reflect the latest table changes then clear the source range formula again, returning the snapshot to a static image.  This seems to work fine when
    I view the worksheets and makes the recalculation of the tables much faster when changing the data.
    However, I have encountered a new problem.  If I print the summary worksheets with the static images, each table is printed as smaller than when they are snapshots.  In other words, when the source range formula is set to the appropriate range
    and I print the sheet, everything looks fine.  When I clear the source range formula and print the sheet, each table is now horizontally smaller and some information in the last column is being cut off.  The images/snapshots have their size set to
    100% of the original and I have tried keeping "Relative to the original" checked and unchecked with no difference.  Does anyone know why this is happening?

    It may not be the images.  It may be the print options are set to auto scale the worksheet.  Try manually printing a one test page and try different print scale options.  Use Print Preview which will allow you to scale page sizes. 
    Often issues like this occur when you are trying to print more than one page at a time.  The scale on one page may be different from a second page.  Sometimes adding page breaks (horizontal and vertical) helps solves these issues.
    jdweng

  • Problems Implementing SnapShots Scenario for Stock Management

    Hello All,
    I am trying to configure the Inventory Management with snapshots and I am using the snapshot scenario. According to the document I have created alternative ODS ODSSNAP and infocubes to accumulate 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    My problem is with the key figures ZTOTALST,ZVALSTCKV and ZVALSTCKQ.
    I am facing this problem in the ODS when i try to create the update rule for 2LIS_03_BX. I have the two Characteristics Unit and Currency automatically mapped but i don´t see the key figures of the ODS. I supposed that my key figures may appear without assignment but they don´t appear.
    I should have my key figures non mapped but instead I cannot see them.I tried with another standard infosource 2LIS_03_BF and I see my key figures.
    I have BW 3.5 patch level 20.
    Can you please let me know any ideas?
    Thanks
    TK

    OK, non cumulative are not stored in your provider but calculated on the fly:
    NonCum = InFlow - OutFlow.
    then you have to work with your good receipts and goods issue flow key figures....
    For your scenario, as far as I understood you just need to see a "snapshot" (latest know stock values) you just need to update your receipts and issues with summation in your ODS; your stock will then be calculated.
    Usually a "snapshot" scenario means that you want to store your stock at the end of each month for example; in this case you need to use cumulatives with exception aggregation "LAST" on your time period so that the stocks aren't summarized over time. This way you update your cumulative Stk KF is updated with goods receipts - good issues. Also remind that in this scenario you'll have to load the previous month stock into the next
    Stock July = Stock June + Receipts July - Issues July.
    As you realize, it can get quite complex...
    Please precise your requirement and we'll help you further since I am doing all kind of scenario re stocks...
    hope this helps...
    Olivier.

Maybe you are looking for