SQL OR DIRECTORY STORAGE? - OPINIONS NEEDED!

Designing an app with many pages that will be viewed by
thousands. Of the two ways to go, creating html dynamically using
CF and SQL Server when user requests page -or- having the html
pages 'preloaded' onto the drive in various directories to display
when a user requests.
Less impact on the SQL server when using the directory method
but from a design aspect, it's not as dynamic.
Curious to know everyone's opinion.

You might consider a cache for some pages that are unlikely
to change very often.

Similar Messages

  • SQL Errors on storage tasks

    Hi, short intro on our setup:
    2x SOFS server in cluster + 3 MD1220 JBODS hosting SMB3 shares for library and workload for Hyper-V/SQL
    3x Hyper-V hosts in cluster for Tenants
    3x Hyper-V hosts in cluster for Fabric
    2x SQL 2012 in guest cluster with shared VHDX
    2x VMM 2012R2 in guest cluster
    2x FileServer functioning as library (also guest cluster)
    1x WAP for Tenant Self Service
    1x WAP for Administration
    1x SPF + 1X SMA + 2x SCO + 2x SCOM + 1x DPM + 1xSCCM
    We have found some issues between SQL and the storage part, I didn't find the trigger creating the issue but see below log for details
    ------------------- Error Report -------------------
    Error report created 7/10/2014 1:33:06 PM
    CLR is not terminating
    --------------- Bucketing Parameters ---------------
    EventType=VMM20
    P1(appName)=vmmservice.exe
    P2(appVersion)=3.2.7634.0
    P3(assemblyName)=Utils.dll
    P4(assemblyVer)=3.2.7634.0
    P5(methodName)=Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery
    P6(exceptionType)=Microsoft.VirtualManager.DB.CarmineSqlException
    P7(callstackHash)=9d33
    SCVMM Version=3.2.7634.0
    SCVMM flavor=C-buddy-RTL-AMD64
    Default Assembly Version=3.2.7634.0
    Executable Name=vmmservice.exe
    Executable Version=3.2.7510.0
    Base Exception Target Site=140722485938904
    Base Exception Assembly name=System.Data.dll
    Base Exception Method Name=System.Data.SqlClient.SqlConnection.OnError
    Exception Message=Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again.
    EIP=0x00007ffc950c5bf8
    Build bit-size=64
    ------------ exceptionObject.ToString() ------------
    Microsoft.VirtualManager.DB.CarmineSqlException: Unable to connect to the VMM database because of a general database failure.
    Ensure that the SQL Server is running and configured correctly, then try the operation again. ---> System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_tbl_ST_StoragePhysicalDiskToFileServerNodeMapping_tbl_ST_StoragePhysicalDisk".
    The conflict occurred
    The statement has been terminated.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       --- End of inner exception stack trace ---
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.ImageLibrary.StoragePhysicalDiskDBAccess.Remove(StoragePhysicalDiskData stData, ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.RemoveDeletedChildren(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.AddOrUpdateObjectInDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.UpdateChildObjects(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.Deployment.StrgRefresherBase.RefreshProvider(StrgProvider prov, Guid refresherOrTaskID, Boolean isLocked, Boolean forceDiscovery)
       at Microsoft.VirtualManager.Engine.Deployment.StrgRefresherBase.RefreshData(StrgProviderReference providerRef, Nullable`1& auditTaskId)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)
    *** Carmine error was: DatabaseFailure (2605); SQLServer; 547
    [s#15b499] ExecuteNonQuery()
    [s#15b496] LibObjectBase.UpdateDB(this: (StrgArray#10570), catalog: (ImgLibCatalog#18b4b))
    [s#15b484] LibObjectBase.UpdateDB(this: (StrgProvider#1056f), catalog: (ImgLibCatalog#18b4b))
    Full call stack from when the exception was thrown:   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at Microsoft.VirtualManager.DB.CarmineSqlException..ctor(SqlException sqlException)
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.ImageLibrary.StoragePhysicalDiskDBAccess.Remove(StoragePhysicalDiskData stData, ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.RemoveDeletedChildren(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.AddOrUpdateObjectInDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.UpdateChildObjects(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.Deployment.StrgRefresherBase.RefreshProvider(StrgProvider prov, Guid refresherOrTaskID, Boolean isLocked, Boolean forceDiscovery)
       at Microsoft.VirtualManager.Engine.Deployment.StrgRefresherBase.RefreshData(StrgProviderReference providerRef, Nullable`1& auditTaskId)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)
       at Microsoft.VirtualManager.Utils.Multithreading.ThrottledThreadPool.<>c__DisplayClass3.<ScheduleNextThread>b__2(Object dummy)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    --- SqlException details -----------------
    System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_tbl_ST_StoragePhysicalDiskToFileServerNodeMapping_tbl_ST_StoragePhysicalDisk". The conflict occurred
    The statement has been terminated.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    ClientConnectionId:60625fa5-b80b-49e1-bdd4-cefe54a942e4
     Error = 547
    Index #0
    Source: .Net SqlClient Data Provider
    Number: 547
    State: 0
    Class: 16
    Server: SEGOTN99016-002\SCVMMDB,1435
    Message: The DELETE statement conflicted with the REFERENCE constraint "FK_tbl_ST_StoragePhysicalDiskToFileServerNodeMapping_tbl_ST_StoragePhysicalDisk". The conflict occurred
    Procedure: prc_ST_RemoveStoragePhysicalDisk
    Line: 12
    Index #1
    Source: .Net SqlClient Data Provider
    Number: 3621
    State: 0
    Class: 0
    Server: SEGOTN99016-002\SCVMMDB,1435
    Message: The statement has been terminated.
    Procedure: prc_ST_RemoveStoragePhysicalDisk
    Line: 12
    --- Caller StackTrace -----------------
    FileName:; Method:ExecuteNonQuery(); lineNo:0; ilOffset:178.
    FileName:; Method:Remove(); lineNo:0; ilOffset:43.
    FileName:; Method:RemoveDeletedChildren(); lineNo:0; ilOffset:76.
    FileName:; Method:AddOrUpdateObjectInDB(); lineNo:0; ilOffset:14.
    FileName:; Method:UpdateDB(); lineNo:0; ilOffset:206.
    FileName:; Method:UpdateChildObjects(); lineNo:0; ilOffset:42.
    FileName:; Method:UpdateDB(); lineNo:0; ilOffset:206.
    FileName:; Method:RefreshProvider(); lineNo:0; ilOffset:806.
    FileName:; Method:RefreshData(); lineNo:0; ilOffset:163.
    FileName:; Method:RefreshThreadFunction(); lineNo:0; ilOffset:82.
    FileName:; Method:<ScheduleNextThread>b__2(); lineNo:0; ilOffset:27.
    FileName:; Method:RunInternal(); lineNo:0; ilOffset:112.
    FileName:; Method:Run(); lineNo:0; ilOffset:4.
    FileName:; Method:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem(); lineNo:0; ilOffset:0.
    FileName:; Method:Dispatch(); lineNo:0; ilOffset:162.
    -------- exception.InnerException.ToString() -------
    System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_tbl_ST_StoragePhysicalDiskToFileServerNodeMapping_tbl_ST_StoragePhysicalDisk". The conflict occurred
    The statement has been terminated.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
    ClientConnectionId:60625fa5-b80b-49e1-bdd4-cefe54a942e4
    --------------- exception.StackTrace ---------------
    at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.ImageLibrary.StoragePhysicalDiskDBAccess.Remove(StoragePhysicalDiskData stData, ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.RemoveDeletedChildren(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.AddOrUpdateObjectInDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.StrgLibObjectContainerBase.UpdateChildObjects(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(ImgLibCatalog catalog)
       at Microsoft.VirtualManager.Engine.Deployment.StrgRefresherBase.RefreshProvider(StrgProvider prov, Guid refresherOrTaskID, Boolean isLocked, Boolean forceDiscovery)
       at Microsoft.VirtualManager.Engine.Deployment.StrgRefresherBase.RefreshData(StrgProviderReference providerRef, Nullable`1& auditTaskId)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)
    ------------- StackTrace from handler --------------
    This is the call stack from where the exception was caught, not where it was thrown.
    at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
       at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
       at Microsoft.VirtualManager.Engine.TaskRepository.TaskRepository.HandleCriticalRefresherFailure(Object sender, CriticalRefreshFailureEventArgs eventData)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)
       at Microsoft.VirtualManager.Utils.Multithreading.ThrottledThreadPool.<>c__DisplayClass3.<ScheduleNextThread>b__2(Object dummy)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    Any ideas so far?
    MCITP SA - MCP Active Directory - MCP Infrastructure - MCP Server Virtualization www.it101.eu

    We're experiencing those issues, also - SCVMM 2012R2, both U1 and U2 (we had the errors on both versions).
    Similar setup:
    2 clustered SOFS servers presenting SMB3 - fronting clustered NetApp storage via iSCSI
    2 Hyper V hosts for management
    3 or more Hyper V hosts for tenants
    SCVMM 2012 R2 is in a guest cluster
    Clustered SQL 2012, running on bare metal, outside of HV environment
    Getting the Event ID 1001 errors frequently:
    Fault bucket , type 0
    Event Name: VMM20
    Response: Not available
    Cab Id: 0
    And the report.txt file is similar:
    ClientConnectionId:702c1686-a8f7-417a-89fd-a6382dd0bb33
     Error = 547
    Index #0
    Source: .Net SqlClient Data Provider
    Number: 547
    State: 0
    Class: 16
    Server: XXXXSQL05
    Message: The DELETE statement conflicted with the REFERENCE constraint "FK_tbl_ST_StoragePhysicalDiskToFileServerNodeMapping_tbl_ST_StoragePhysicalDisk". The conflict occurred
    Procedure: prc_ST_RemoveStoragePhysicalDisk
    Line: 12
    Index #1
    Source: .Net SqlClient Data Provider
    Number: 3621
    State: 0
    Class: 0
    Server: XXXXSQL05
    Message: The statement has been terminated.
    It's funny, I've set up a few different SCVMM environments, and seen this before - but I can't recall what the issue/outcome was.
    Could this thread be of service - similar, no?
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/6a09ed10-d915-427e-b0a8-03517aa5b502/scvmm-2012-r2-ur01-unable-to-refresh-storage-providers?forum=virtualmachingmgrhyperv

  • I have a hard drive for CD storage that needs to connect to the Ethernet router. sInce my router is not in this room, and in another room, I want to use my Mac as a router for the drive, and share the wifi. Ho do I do this

    I have a hard drive for CD storage that needs to connect to the Ethernet router. sInce my router is not in this room, and in another room, I want to use my Mac as a router for the drive, and share the wifi. Ho do I do this? I gace tried the System Preferences -> Sharing, shared internet to Ethernet, but can't se ethe device on Finder

    Djembe wrote:
    UEFI (unified extensible firmware interface) boot requires Global unique identifier Partition Table (GPT) as opposed to the older Master Boot Record (MBR). If your existing drive is formatted in MBR, you will need to adjust BIOS settings to enable legacy boot in order for it to work properly.
    Is there a performance difference between GPT and MBR? If GPT is better, I do not mind formatting the drive with it.
    5. No special drivers are needed.
    Thanks. What about the thunderbolt port?
    7. I think Lenovo estimates 6 hours.
    Lenovo says 6 hours with the 6-cell battery on its website.
    BrendaEM wrote:
    Hi,
    There was a serious BIOS/UEFI problem with that SSD . Perhaps this thread will save you some headaches. Someone is recomending shutting off Rapid Boot in the setup, which would probable mean little with a SSD, anyway.
    I read through this, and it looks like the problem was fixed in a BIOS update, which I plan to do. However, it also seems like Intel Rapid Start is not even worth it in the first place, as sleep consumes almost no power at all.
    W540: i7-4700mq, K2100m, 8 GB DDR3L, 512 GB SSD
    T510: i7-620m, NVS 3100m, 8 GB DDR3, 512 GB SSD

  • Not enough free space when there is - iTunes says I have over 9GB free but when I sync it says I can't as i don't have enough storage and need another 1.3GB!  it's driving me mad!!  help!!

    iTunes says I have over 9GB free but when I sync it says I can't as i don't have enough storage and need another 1.3GB!  it's driving me mad!!  help!!

    Check carefully. Perhaps you are trying to copy 9 GB plus 1.3 GB for a total of 10.3 GB. That would give you the message you see.

  • How much storage is needed to download the Creative cloud

    How much storage is needed to download the Creative cloud?

    Jacoedit you can see the size of the base installers at http://prodesigntools.com/adobe-cc-direct-download-links.html.  Please be aware that you will still need to download the updates for the applications as well.

  • Active Directory forest which need to be sync with Office 365 E1 plan

    we have multiple local Active Directory forest which need to be sync with Office 365 E1 plan, how we can do that?

    Hiya,
    you need to use either FIM or AAD. I would recommend the AAD, even though it's in beta, it will properly be a better choice.
    Windows Azure Active Directory Connector for FIM 2010 R2 Quick Start Guide
    http://technet.microsoft.com/en-us/library/dn511002%28v=ws.10%29.aspx
    New sync capabilities in preview: Password Write Back, New AAD Sync and Multi-forest support
    http://blogs.technet.com/b/ad/archive/2014/04/21/new-sync-capabilities-in-preview-password-write-back-new-aad-sync-and-multi-forest-support.aspx

  • What type of storage is needed for iTunes U

    We are getting up and running iTunes U on our University and we are running into the issue of what type of storage we need to provide for iTunes U, i.e. (web share, afp share, smb share. If you could let me know or point me in the direction i need to go it would be greatly appreciated.
    Thanks,
    Scott

    Hi Scott,
    The [administraton guide|http://deimos.apple.com/rsrc/doc//iTunesUAdministrationGuide/Introduction /chapter1_section1.html] doesn't explicitly state what type of server is necessary, but given that iTunes U is based on RSS feeds, a Web server would be a good choice for hosting your content (much like hosting any podcast).
    Hope this helps,
    Shawn

  • I have iphone 32gb how much icloud  storage y need

    I have iphone 32gb how much icloud storage i need?

    Music on your phone is either purchased from iTunes or synced from a computer. If from iTunes, it doesn't use your iCloud allocation and can be redownloaded from the store if necessary, if from your computer then it is already elsewhere.
    I'm not suggesting your use will be identical to mine but I have the 32 GB phone I use less than 1 GB for syncing documents and data, however I back up to iTunes rather than iCloud, but if I did back up to iCloud, I'd need about 4 GB.

  • How do I know how much iCloud storage I need?

    How do I know how much iCloud storage I need?  I bought 10 GB and it said not enough, I bought 25 GB and it still says not enough.  I'm only backing up Contacts, Calendars, Photo Stream & Find my iPhone.

    Are you sure it's storage on icloud that you're getting messages about, and not your device.  If your device's memory is getting full, try deleting video, photos (after syncing them to a computer - but you should always be doing that), and any other large files and try doing whatever you were doing that led to those errors/warnings.
    It would also help if you told us exactly what operation(s) led to the warnings.

  • SQL*PLUS 32 Bit Client needed for Windows 64 Bit

    Hi,
    I have got a 64 Bit Windows OS and an Oracle 11.
    With 32 Bit Applications ( Crystal Reports) I can not run SQL NET Thick, SQL NET Thin and JDBC.
    Oracle 32 Bit Installation is Missing.
    Oracles "Instant Client Downloads for Microsoft Windows (32-bit)" will not do it.
    http://www.oracle.com/technetwork/topics/winsoft-085727.html
    What else to use ?
    Thank You
    Martin Sautter

    Martin.Sautter wrote:
    Hi,
    i used:
    instantclient-basic-nt-11.2.0.2.0.zip (32BitClient)
    instantclient-sqlplus-nt-11.2.0.2.0.zip.
    I did not find an "old", "classic" SQL*PLUs client.What does that mean exactly, classic client?
    Did you unzip the ic sqlplus .zip (the one listed) in the same dir as ic basic?
    After dezipping waht than ?
    No installer, nothing ...That's the beauty of Instant Client, just unzip or move a few files, set PATH if needed, and you have client libraries all "installed" and ready.
    >
    You can give advice ?Generally, required lib files are (n Windows) oci.dll, oraociicusN.dll or oraocieiN.dll (N= e.g. 11). Then for Sql*plus add orasqlplusicN.dll and the .exe from ic-sqlplus package.
    C:\Users\Test\Ora-IClite>dir
    Volume in drive C is OS
    Volume Serial Number is 6E8F-186A
    Directory of C:\Users\Test\Ora-IClite
    2011-12-16  09:30    <DIR>          .
    2011-12-16  09:30    <DIR>          ..
    2011-08-31  11:39                38 ldap.ora
    2011-07-30  12:21           683 008 oci.dll
    2011-07-30  12:21        44 153 856 oraociicus11.dll
    2011-07-30  12:21         1 501 696 Orasqlplusic11.dll
    2011-07-30  12:21           869 376 sqlplus.exe
    C:\Users\Test\Ora-IClite>.\sqlplus user@'localhost/xe'
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Dec 16 09:34:13 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter password:Edited by: orafad on Dec 16, 2011 9:35 AM

  • RMAN Copy to DEV Procedure - Opinions Needed

    Hi All,
    Wanted some opinions/advice on a problem I'm having. My goal is to have a nice easy script (that I can give to an inexperienced DBA) that copies a prod database to DEV. I've been googling around and found similar problems but noe seem to apply to me, and the procedures given seem to be missing things...The details are:
    10.2.0.4 on both sides. Prod is in archivelogmode. Backups run to tape normally but since we have no netbackup license for DEV I'm doing a special backup to disk. Backup script is:
    export ORACLE_HOME=/u01/app/oracle/product/10.2
    export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=PLTPRD01
    rman nocatalog target=sys/prodpw@PLTPRD01 log=/home/oracle/logs/full_rman_to_disk.log <<-EOF
       configure backup optimization on;
       configure default device type to disk;
       configure device type disk parallelism 1 backup type to compressed backupset;
       configure datafile backup copies for device type disk to 1;
       configure maxsetsize to unlimited;
       run {
         allocate channel ch1 type Disk maxpiecesize = 1900M;
         allocate channel ch2 type Disk maxpiecesize = 1900M;
         allocate channel ch3 type Disk maxpiecesize = 1900M;
         allocate channel ch4 type Disk maxpiecesize = 1900M;
         allocate channel ch5 type Disk maxpiecesize = 1900M;
         allocate channel ch6 type Disk maxpiecesize = 1900M;
         backup full database noexclude
         include current controlfile
         format '/u10/PLTPRD01/backup/datafile_%s_%p.bak'
         tag 'datafile_daily';
       run {
         allocate channel ch1 type Disk maxpiecesize = 1900M;
         allocate channel ch2 type Disk maxpiecesize = 1900M;
         backup archivelog all
         format '/u10/PLTPRD01/backup/archivelog_%s_%p.bak'
         tag 'archivelog_daily';
       run {
          allocate channel ch1 type Disk maxpiecesize = 1900M;
          backup format '/u10/PLTPRD01/backup/controlfile_%s.bak' current controlfile;
       quit
    EOFThat gives me the following files:
    -rwxrwSrwt  1 oracle dba  494244352 Dec  6 01:43 archivelog_6007_1.bak
    -rwxrwSrwt  1 oracle dba  373885952 Dec  6 01:42 archivelog_6008_1.bak
    -rwxrwSrwt  1 oracle dba    2048000 Dec  6 01:43 controlfile_6010.bak
    -rwxrwSrwt  1 oracle dba 1990311936 Dec  6 00:54 datafile_5999_1.bak
    -rwxrwSrwt  1 oracle dba 1990213632 Dec  6 01:15 datafile_5999_2.bak
    -rwxrwSrwt  1 oracle dba 1990303744 Dec  6 01:35 datafile_5999_3.bak
    -rwxrwSrwt  1 oracle dba  388759552 Dec  6 01:39 datafile_5999_4.bak
    -rwxrwSrwt  1 oracle dba 1990254592 Dec  6 00:51 datafile_6000_1.bak
    -rwxrwSrwt  1 oracle dba 1990287360 Dec  6 01:12 datafile_6000_2.bak
    -rwxrwSrwt  1 oracle dba 1990328320 Dec  6 01:33 datafile_6000_3.bak
    -rwxrwSrwt  1 oracle dba  567746560 Dec  6 01:38 datafile_6000_4.bak
    -rwxrwSrwt  1 oracle dba 1990213632 Dec  6 00:52 datafile_6001_1.bak
    -rwxrwSrwt  1 oracle dba 1990221824 Dec  6 01:13 datafile_6001_2.bak
    -rwxrwSrwt  1 oracle dba 1990336512 Dec  6 01:36 datafile_6001_3.bak
    -rwxrwSrwt  1 oracle dba   60645376 Dec  6 01:37 datafile_6001_4.bak
    -rwxrwSrwt  1 oracle dba 1990230016 Dec  6 00:52 datafile_6002_1.bak
    -rwxrwSrwt  1 oracle dba 1990344704 Dec  6 01:12 datafile_6002_2.bak
    -rwxrwSrwt  1 oracle dba 1990311936 Dec  6 01:32 datafile_6002_3.bak
    -rwxrwSrwt  1 oracle dba  233996288 Dec  6 01:34 datafile_6002_4.bak
    -rwxrwSrwt  1 oracle dba 1371709440 Dec  6 00:45 datafile_6003_1.bak
    -rwxrwSrwt  1 oracle dba 1990361088 Dec  6 00:50 datafile_6004_1.bak
    -rwxrwSrwt  1 oracle dba 1990230016 Dec  6 01:11 datafile_6004_2.bak
    -rwxrwSrwt  1 oracle dba 1990230016 Dec  6 01:31 datafile_6004_3.bak
    -rwxrwSrwt  1 oracle dba  713326592 Dec  6 01:38 datafile_6004_4.bak
    -rwxrwSrwt  1 oracle dba    2048000 Dec  6 00:45 datafile_6005_1.bakSo, I move over to the target server and database (UAT in this case) and run a restore using those files. But, it won't restore the archlog files and gives the old "RMAN-06102: no channel to restore a backup or copy of log thread" error. I can recover by copying over the relevant archlogs and doing a "recover using backup controlfile until cancel", but I wondered why the restore didn't recover automatically for me? The restore is as follows:
    rman nocatalog target sys/prodpw@PLTPRD01 AUXILIARY sys/UATpw@UAT cmdfile='/home/oracle/scripts/oracle/duplicate_database.rman' log=/home/oracle/logs/UAT_restore_201112080930.log(script is)
    RUN
      ALLOCATE AUXILIARY CHANNEL aux1 TYPE DISK FORMAT '/u10/PLTPRD01/backup/datafile_%s_%p.bak';
      ALLOCATE AUXILIARY CHANNEL aux2 TYPE DISK FORMAT '/u10/PLTPRD01/backup/datafile_%s_%p.bak';
      ALLOCATE AUXILIARY CHANNEL aux3 TYPE DISK FORMAT '/u10/PLTPRD01/backup/datafile_%s_%p.bak';
      ALLOCATE AUXILIARY CHANNEL aux4 TYPE DISK FORMAT '/u10/PLTPRD01/backup/datafile_%s_%p.bak';
      ALLOCATE AUXILIARY CHANNEL aux5 TYPE DISK FORMAT '/u10/PLTPRD01/backup/datafile_%s_%p.bak';
      ALLOCATE AUXILIARY CHANNEL aux6 TYPE DISK FORMAT '/u10/PLTPRD01/backup/datafile_%s_%p.bak';
      ALLOCATE AUXILIARY CHANNEL aux7 TYPE DISK FORMAT '/u10/PLTPRD01/backup/archivelog_%s_%p.bak';
      SET NEWNAME FOR DATAFILE  1 TO '/u07/oradata/UAT/system01.dbf';
      SET NEWNAME FOR DATAFILE  2 TO '/u07/oradata/UAT/undotbs01.dbf';
      SET NEWNAME FOR DATAFILE  3 TO '/u07/oradata/UAT/sysaux01.dbf';
      SET NEWNAME FOR DATAFILE  4 TO '/u07/oradata/UAT/users01.dbf';
      SET NEWNAME FOR DATAFILE  5 TO '/u07/oradata/UAT/bidata_index.dbf';
      SET NEWNAME FOR DATAFILE  6 TO '/u07/oradata/UAT/bistage_constraint.dbf';
      SET NEWNAME FOR DATAFILE  7 TO '/u07/oradata/UAT/bistage_data.dbf';
      SET NEWNAME FOR DATAFILE  8 TO '/u07/oradata/UAT/bistage_index.dbf';
      SET NEWNAME FOR DATAFILE  9 TO '/u07/oradata/UAT/bss_constraint.dbf';
      SET NEWNAME FOR DATAFILE 10 TO '/u07/oradata/UAT/bss_data.dbf';
      SET NEWNAME FOR DATAFILE 11 TO '/u07/oradata/UAT/bss_index.dbf';
      SET NEWNAME FOR DATAFILE 12 TO '/u07/oradata/UAT/bussrules_constraint.dbf';
      SET NEWNAME FOR DATAFILE 13 TO '/u07/oradata/UAT/bussrules_data.dbf';
      SET NEWNAME FOR DATAFILE 14 TO '/u07/oradata/UAT/bussrules_index.dbf';
    (plus lots more lines of datafile mappings)
      SET NEWNAME FOR TEMPFILE 1 TO '/u07/oradata/UAT/temp01.dbf';
      SET NEWNAME FOR TEMPFILE 2 TO '/u07/oradata/UAT/temp02.dbf';
      DUPLICATE TARGET DATABASE TO UAT
      PFILE='/u01/app/oracle/product/10.2/dbs/initUAT.ora'
      NOFILENAMECHECK
      LOGFILE GROUP 1 ('/u03/redo/oradata/UAT/redo1a.dbf',
                       '/u04/redo/oradata/UAT/redo1b.dbf') SIZE 500M REUSE,
              GROUP 2 ('/u03/redo/oradata/UAT/redo2a.dbf',
                       '/u04/redo/oradata/UAT/redo2b.dbf') SIZE 500M REUSE,
              GROUP 3 ('/u03/redo/oradata/UAT/redo3a.dbf',
                       '/u04/redo/oradata/UAT/redo3b.dbf') SIZE 500M REUSE,
              GROUP 4 ('/u03/redo/oradata/UAT/redo4a.dbf',
                       '/u04/redo/oradata/UAT/redo4b.dbf') SIZE 500M REUSE,
              GROUP 5 ('/u03/redo/oradata/UAT/redo5a.dbf',
                       '/u04/redo/oradata/UAT/redo5b.dbf') SIZE 500M REUSE,
              GROUP 6 ('/u03/redo/oradata/UAT/redo6a.dbf',
                       '/u04/redo/oradata/UAT/redo6b.dbf') SIZE 500M REUSE,
              GROUP 7 ('/u03/redo/oradata/UAT/redo7a.dbf',
                       '/u04/redo/oradata/UAT/redo7b.dbf') SIZE 500M REUSE,
              GROUP 8 ('/u03/redo/oradata/UAT/redo8a.dbf',
                       '/u04/redo/oradata/UAT/redo8b.dbf') SIZE 500M REUSE;
      RELEASE CHANNEL aux1;
      RELEASE CHANNEL aux2;
      RELEASE CHANNEL aux3;
      RELEASE CHANNEL aux4;
      RELEASE CHANNEL aux5;
      RELEASE CHANNEL aux6;
      RELEASE CHANNEL aux7;
    }I tried this with and without the aux7 for the archlogs, along with adding a "set until time", but always get the same errors. The logfile is as follows, but truncated (I can put it all in if anyone really wants it):
    allocated channel: aux1
    channel aux1: sid=155 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=154 devtype=DISK
    allocated channel: aux3
    channel aux3: sid=153 devtype=DISK
    allocated channel: aux4
    channel aux4: sid=152 devtype=DISK
    allocated channel: aux5
    channel aux5: sid=151 devtype=DISK
    allocated channel: aux6
    channel aux6: sid=150 devtype=DISK
    allocated channel: aux7
    channel aux7: sid=149 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    (more set newname commands)
    Starting Duplicate Db at 08-DEC-11
    contents of Memory Script:
       set until scn  2076483089;
       set newname for datafile  1 to
    "/u07/oradata/UAT/system01.dbf";
       set newname for datafile  2 to
    "/u07/oradata/UAT/undotbs01.dbf";
       set newname for datafile  3 to
    "/u07/oradata/UAT/sysaux01.dbf";
       set newname for datafile  4 to
    "/u07/oradata/UAT/users01.dbf";
       set newname for datafile  5 to
    "/u07/oradata/UAT/bidata_index.dbf";
       set newname for datafile  6 to
    "/u07/oradata/UAT/bistage_constraint.dbf";
    (more set newname output)
       set newname for datafile  60 to
    "/u07/oradata/UAT/ibmslob_data4.dbf";
       restore
       check readonly
       clone database
    executing Memory Script
    channel aux1: starting datafile backupset restore
    channel aux1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u07/oradata/UAT/system01.dbf
    restoring datafile 00002 to /u07/oradata/UAT/undotbs01.dbf
    restoring datafile 00005 to /u07/oradata/UAT/bidata_index.dbf
    restoring datafile 00008 to /u07/oradata/UAT/bistage_index.dbf
    restoring datafile 00016 to /u07/oradata/UAT/customiz_data.dbf
    restoring datafile 00020 to /u07/oradata/UAT/galaxybe_data2.dbf
    restoring datafile 00023 to /u07/oradata/UAT/galaxydal_data.dbf
    restoring datafile 00026 to /u07/oradata/UAT/galaxy_data.dbf
    restoring datafile 00029 to /u07/oradata/UAT/ibmsarch_data.dbf
    restoring datafile 00037 to /u07/oradata/UAT/ibmstask_constraint.dbf
    channel aux1: reading from backup piece /u10/PLTPRD01/backup/datafile_6003_1.bak
    channel aux2: starting datafile backupset restore
    channel aux2: specifying datafile(s) to restore from backup set
    restoring datafile 00004 to /u07/oradata/UAT/users01.dbf
    restoring datafile 00007 to /u07/oradata/UAT/bistage_data.dbf
    restoring datafile 00015 to /u07/oradata/UAT/customiz_constraint.dbf
    restoring datafile 00022 to /u07/oradata/UAT/galaxydal_constraint.dbf
    restoring datafile 00028 to /u07/oradata/UAT/ibmsarch_constraint.dbf
    restoring datafile 00032 to /u07/oradata/UAT/ibmsaudit_index.dbf
    restoring datafile 00035 to /u07/oradata/UAT/ibmsdynm_index.dbf
    restoring datafile 00040 to /u07/oradata/UAT/mag_ctl.dbf
    restoring datafile 00043 to /u07/oradata/UAT/odyssey_constraint.dbf
    restoring datafile 00057 to /u07/oradata/UAT/ibmslob_data1.dbf
    channel aux2: reading from backup piece /u10/PLTPRD01/backup/datafile_6002_1.bak
    channel aux3: starting datafile backupset restore
    channel aux3: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to /u07/oradata/UAT/sysaux01.dbf
    restoring datafile 00010 to /u07/oradata/UAT/bss_data.dbf
    restoring datafile 00011 to /u07/oradata/UAT/bss_index.dbf
    restoring datafile 00012 to /u07/oradata/UAT/bussrules_constraint.dbf
    restoring datafile 00017 to /u07/oradata/UAT/customiz_index.dbf
    restoring datafile 00024 to /u07/oradata/UAT/galaxydal_index.dbf
    restoring datafile 00030 to /u07/oradata/UAT/ibmsarch_index.dbf
    restoring datafile 00038 to /u07/oradata/UAT/ibmstask_data.dbf
    restoring datafile 00041 to /u07/oradata/UAT/mag_data.dbf
    restoring datafile 00046 to /u07/oradata/UAT/pilatdba_constraint.dbf
    channel aux3: reading from backup piece /u10/PLTPRD01/backup/datafile_6001_1.bak
    channel aux4: starting datafile backupset restore
    channel aux4: specifying datafile(s) to restore from backup set
    restoring datafile 00006 to /u07/oradata/UAT/bistage_constraint.dbf
    restoring datafile 00014 to /u07/oradata/UAT/bussrules_index.dbf
    restoring datafile 00019 to /u07/oradata/UAT/galaxybe_constraint.dbf
    restoring datafile 00021 to /u07/oradata/UAT/galaxybe_index.dbf
    restoring datafile 00027 to /u07/oradata/UAT/galaxy_index.dbf
    restoring datafile 00034 to /u07/oradata/UAT/ibmsdynm_data.dbf
    restoring datafile 00036 to /u07/oradata/UAT/ibmslob_data.dbf
    restoring datafile 00044 to /u07/oradata/UAT/odyssey_data.dbf
    restoring datafile 00045 to /u07/oradata/UAT/odyssey_index.dbf
    restoring datafile 00060 to /u07/oradata/UAT/ibmslob_data4.dbf
    channel aux4: reading from backup piece /u10/PLTPRD01/backup/datafile_6004_1.bak
    channel aux5: starting datafile backupset restore
    channel aux5: specifying datafile(s) to restore from backup set
    restoring datafile 00009 to /u07/oradata/UAT/bss_constraint.dbf
    restoring datafile 00013 to /u07/oradata/UAT/bussrules_data.dbf
    restoring datafile 00018 to /u07/oradata/UAT/dbcc_repos.dbf
    restoring datafile 00025 to /u07/oradata/UAT/galaxy_constraint.dbf
    restoring datafile 00033 to /u07/oradata/UAT/ibmsdynm_constraint.dbf
    restoring datafile 00039 to /u07/oradata/UAT/ibmstask_index.dbf
    restoring datafile 00042 to /u07/oradata/UAT/mag_index.dbf
    restoring datafile 00048 to /u07/oradata/UAT/pilatdba_index.dbf
    restoring datafile 00050 to /u07/oradata/UAT/ratings_data.dbf
    restoring datafile 00058 to /u07/oradata/UAT/ibmslob_data2.dbf
    channel aux5: reading from backup piece /u10/PLTPRD01/backup/datafile_6000_1.bak
    channel aux6: starting datafile backupset restore
    channel aux6: specifying datafile(s) to restore from backup set
    restoring datafile 00031 to /u07/oradata/UAT/ibmsaudit_data.dbf
    restoring datafile 00047 to /u07/oradata/UAT/pilatdba_data.dbf
    restoring datafile 00049 to /u07/oradata/UAT/ratings_constraint.dbf
    restoring datafile 00051 to /u07/oradata/UAT/ratings_index.dbf
    restoring datafile 00052 to /u07/oradata/UAT/tools.dbf
    restoring datafile 00053 to /u07/oradata/UAT/undotbs02.dbf
    restoring datafile 00054 to /u07/oradata/UAT/workflow_constraint.dbf
    restoring datafile 00055 to /u07/oradata/UAT/workflow_data.dbf
    restoring datafile 00056 to /u07/oradata/UAT/workflow_index.dbf
    restoring datafile 00059 to /u07/oradata/UAT/ibmslob_data3.dbf
    channel aux6: reading from backup piece /u10/PLTPRD01/backup/datafile_5999_1.bak
    channel aux4: restored backup piece 1
    piece handle=/u10/PLTPRD01/backup/datafile_6004_1.bak tag=DATAFILE_DAILY
    channel aux4: reading from backup piece /u10/PLTPRD01/backup/datafile_6004_2.bak
    channel aux2: restored backup piece 1
    piece handle=/u10/PLTPRD01/backup/datafile_6002_1.bak tag=DATAFILE_DAILY
    channel aux2: reading from backup piece /u10/PLTPRD01/backup/datafile_6002_2.bak
    channel aux3: restored backup piece 1
    piece handle=/u10/PLTPRD01/backup/datafile_6001_1.bak tag=DATAFILE_DAILY
    channel aux3: reading from backup piece /u10/PLTPRD01/backup/datafile_6001_2.bak
    channel aux5: restored backup piece 1
    piece handle=/u10/PLTPRD01/backup/datafile_6000_1.bak tag=DATAFILE_DAILY
    channel aux5: reading from backup piece /u10/PLTPRD01/backup/datafile_6000_2.bak
    channel aux6: restored backup piece 1
    piece handle=/u10/PLTPRD01/backup/datafile_5999_1.bak tag=DATAFILE_DAILY
    channel aux6: reading from backup piece /u10/PLTPRD01/backup/datafile_5999_2.bak
    channel aux1: restored backup piece 1
    piece handle=/u10/PLTPRD01/backup/datafile_6003_1.bak tag=DATAFILE_DAILY
    channel aux1: restore complete, elapsed time: 01:48:13
    channel aux4: restored backup piece 2
    piece handle=/u10/PLTPRD01/backup/datafile_6004_2.bak tag=DATAFILE_DAILY
    channel aux4: reading from backup piece /u10/PLTPRD01/backup/datafile_6004_3.bak
    channel aux3: restored backup piece 2
    piece handle=/u10/PLTPRD01/backup/datafile_6001_2.bak tag=DATAFILE_DAILY
    channel aux3: reading from backup piece /u10/PLTPRD01/backup/datafile_6001_3.bak
    channel aux5: restored backup piece 2
    piece handle=/u10/PLTPRD01/backup/datafile_6000_2.bak tag=DATAFILE_DAILY
    channel aux5: reading from backup piece /u10/PLTPRD01/backup/datafile_6000_3.bak
    channel aux6: restored backup piece 2
    piece handle=/u10/PLTPRD01/backup/datafile_5999_2.bak tag=DATAFILE_DAILY
    channel aux6: reading from backup piece /u10/PLTPRD01/backup/datafile_5999_3.bak
    channel aux2: restored backup piece 2
    piece handle=/u10/PLTPRD01/backup/datafile_6002_2.bak tag=DATAFILE_DAILY
    channel aux2: reading from backup piece /u10/PLTPRD01/backup/datafile_6002_3.bak
    channel aux4: restored backup piece 3
    piece handle=/u10/PLTPRD01/backup/datafile_6004_3.bak tag=DATAFILE_DAILY
    channel aux4: reading from backup piece /u10/PLTPRD01/backup/datafile_6004_4.bak
    channel aux5: restored backup piece 3
    piece handle=/u10/PLTPRD01/backup/datafile_6000_3.bak tag=DATAFILE_DAILY
    channel aux5: reading from backup piece /u10/PLTPRD01/backup/datafile_6000_4.bak
    channel aux4: restored backup piece 4
    piece handle=/u10/PLTPRD01/backup/datafile_6004_4.bak tag=DATAFILE_DAILY
    channel aux4: restore complete, elapsed time: 02:49:24
    channel aux2: restored backup piece 3
    piece handle=/u10/PLTPRD01/backup/datafile_6002_3.bak tag=DATAFILE_DAILY
    channel aux2: reading from backup piece /u10/PLTPRD01/backup/datafile_6002_4.bak
    channel aux3: restored backup piece 3
    piece handle=/u10/PLTPRD01/backup/datafile_6001_3.bak tag=DATAFILE_DAILY
    channel aux3: reading from backup piece /u10/PLTPRD01/backup/datafile_6001_4.bak
    channel aux6: restored backup piece 3
    piece handle=/u10/PLTPRD01/backup/datafile_5999_3.bak tag=DATAFILE_DAILY
    channel aux6: reading from backup piece /u10/PLTPRD01/backup/datafile_5999_4.bak
    channel aux3: restored backup piece 4
    piece handle=/u10/PLTPRD01/backup/datafile_6001_4.bak tag=DATAFILE_DAILY
    channel aux3: restore complete, elapsed time: 02:57:18
    channel aux2: restored backup piece 4
    piece handle=/u10/PLTPRD01/backup/datafile_6002_4.bak tag=DATAFILE_DAILY
    channel aux2: restore complete, elapsed time: 02:57:20
    channel aux5: restored backup piece 4
    piece handle=/u10/PLTPRD01/backup/datafile_6000_4.bak tag=DATAFILE_DAILY
    channel aux5: restore complete, elapsed time: 02:57:45
    channel aux6: restored backup piece 4
    piece handle=/u10/PLTPRD01/backup/datafile_5999_4.bak tag=DATAFILE_DAILY
    channel aux6: restore complete, elapsed time: 02:58:50
    Finished restore at 08-DEC-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "UAT" RESETLOGS ARCHIVELOG
      MAXLOGFILES     48
      MAXLOGMEMBERS      3
      MAXDATAFILES      400
      MAXINSTANCES     8
      MAXLOGHISTORY     4674
    LOGFILE
      GROUP  1 ( '/u03/redo/oradata/UAT/redo1a.dbf', '/u04/redo/oradata/UAT/redo1b.dbf' ) SIZE 500 M  REUSE,
      GROUP  2 ( '/u03/redo/oradata/UAT/redo2a.dbf', '/u04/redo/oradata/UAT/redo2b.dbf' ) SIZE 500 M  REUSE,
      GROUP  3 ( '/u03/redo/oradata/UAT/redo3a.dbf', '/u04/redo/oradata/UAT/redo3b.dbf' ) SIZE 500 M  REUSE,
      GROUP  4 ( '/u03/redo/oradata/UAT/redo4a.dbf', '/u04/redo/oradata/UAT/redo4b.dbf' ) SIZE 500 M  REUSE,
      GROUP  5 ( '/u03/redo/oradata/UAT/redo5a.dbf', '/u04/redo/oradata/UAT/redo5b.dbf' ) SIZE 500 M  REUSE,
      GROUP  6 ( '/u03/redo/oradata/UAT/redo6a.dbf', '/u04/redo/oradata/UAT/redo6b.dbf' ) SIZE 500 M  REUSE,
      GROUP  7 ( '/u03/redo/oradata/UAT/redo7a.dbf', '/u04/redo/oradata/UAT/redo7b.dbf' ) SIZE 500 M  REUSE,
      GROUP  8 ( '/u03/redo/oradata/UAT/redo8a.dbf', '/u04/redo/oradata/UAT/redo8b.dbf' ) SIZE 500 M  REUSE
    DATAFILE
      '/u07/oradata/UAT/system01.dbf'
    CHARACTER SET UTF8
    contents of Memory Script:
       switch clone datafile all;
    executing Memory Script
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=769350658 filename=/u07/oradata/UAT/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=769350658 filename=/u07/oradata/UAT/sysaux01.dbf
    datafile 4 switched to datafile copy
    (etc)
    datafile 60 switched to datafile copy
    input datafile copy recid=59 stamp=769350674 filename=/u07/oradata/UAT/ibmslob_data4.dbf
    contents of Memory Script:
       set until scn  2076483089;
       recover
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 08-DEC-11
    starting media recovery
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u07/oradata/UAT/system01.dbf'
    released channel: aux1
    released channel: aux2
    released channel: aux3
    released channel: aux4
    released channel: aux5
    released channel: aux6
    released channel: aux7
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/08/2011 12:31:54
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101913 lowscn 2076390043
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101912 lowscn 2076281132
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101911 lowscn 2076093182
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101910 lowscn 2076023375
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101909 lowscn 2075932322
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101908 lowscn 2075932310
    RMAN-06102: no channel to restore a backup or copy of log thread 1 seq 101907 lowscn 2075896928
    (more no channel errors)
    Recovery Manager complete.Thoughts? Ideas? I'm thinking the backup script is wrong somehow.

    this is also an intereting way to open your DB (or should I say test DB)
    http://practicalappsdba.wordpress.com/2008/04/01/how-to-recover-and-open-the-database-if-the-archive-log-required-for-recovery-is-missing/

  • What directory/area is needed to delete files when your startup disk is warning it's getting full?

    Have the message that the startup disk is near full and I need to delete files.  What area or directory will directly clear this issue.  I have cleared out trash and deleted files....is there a specific directory that causes this issue.  thanks much

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • SQL*Plus directory

    Hi. Hope you can help me.
    I'm running Sql*Plus 8.0 in my client computer with NT, connecting to a 8.1.7 DB in Linux in another machine.
    I need to refer to local files (such like xml files) in my machine. When I run sqlplus and try to call files using procedures, the only way I can reach files is placing them in a directory in the server.
    Is there a way to call the files in my client computer?
    Thanx in advance.
    Eric.

    Hi Germaine
    if you prefere
    to launch sqlplus.exe from a script:
    begin of the script: myscript.cmd
    ----- begin ----
    cd c:\myApplication\mySqlDirectory
    d:\Orant\Bin\SQLPLUS.EXE id/pswd@instance "myscript.sql"
    echo It's over
    pause
    --- end ----
    myscript.sql must have an "EXIT" on last command.
    null

  • SQL Azure vs Storage

    Hi,
    I will be storing tens or hundreds of thousands of customer's webpages.  I will be storing the images within them as blobs in storage, but I need to store the HTML in searchable form.  The HTML text
    should be no more than 30-40MB
    I don't know whether the HTML text is best kept in a SQL table or in storage, linked by ID and metadata in the database.
    Scalability is a big concern, but I will also want to be able to do searches based on text as well the metadata (e.g. search for "some phrase" in all files linked to a user's ID and her friends' IDs).
    Advice on the correct approach would be much appreciated.
    Best,
       Jack.

    Hi Jack,
    You can use the New "Azure Search" Service to make the blobs searchable based on text inside blobs.
    Please refer :
    http://gauravmantri.com/2014/08/25/making-azure-blob-storage-searchable-using-azure-search-service/
    And for scalability concern with Azure storage, you may refer
    here.
    Regards,
    Manu Rekhar

  • IPod wants more storage than needed

    I have a iPod Nano 16GB 4th generation. My problem is that both iTunes and explorer says it has around 1GB free. But as soon as I try to transfer movies I get an error that says "needs more storage", I am using iTunes i swedish so I don't know the exact phrase.
    For example: If I sync as many movies possible, and I then have 865,9MB free in my iPod. When I try to transfer a movie which in this case is 98,7MB, I get the error and it says: Cannot sync (918,3MB needed)
    It's like the iPod needs some spare storage or something... so weird...
    Message was edited by: jimpalompa

    what if the movies your transferring is more then 1 gb?

Maybe you are looking for

  • Photo quality in Imovie

    I have Imovie HD 6 and Final Cut Express. I am creating the typical slideshow with photos from a digital camera and adding transitions and music, blah, blah. When I export in each application I get the same quicktime export screen. No matter what I d

  • Looking for advice on adding GPS data to pictures in iPhoto

    I'm thinking about beginning the process of adding GPS location data to my pictures in iPhoto. I've got about 9,000 pictures overall but was going to start with the ones from this year (about 1,500) as a trial. My digital camera is not GPS-enabled no

  • HT4796 My mac recognizes my pc but is stuck on "looking for other sources". Help!!

    My mac finds my pc but then keeps "looking for other sources". Help!

  • Apple Up-To-Date Program?

    My sister is buying a new previous generation iMac. Doesn't Apple have an offer we're they'll send you the latest programs for $9.95? I've looked everywhere, but I can't find any info on this. Thanks, Kelly

  • Basic questions about R 12.1.1 administrations fundamentals?

    Hi Forum - I am newbie in apps and I am trying to learn Administration fundamentals of Oracle Apps R 12.1.1 please bear with me for these novice questions: My Environment details: Have installed R 12.1.1 on Linux x86-64 using Rapid install. Location