Backup-restore vs running the same SSIS datacopy project twice
I have 2 different applications which need the same source data which is copied from a production database. The 2 applications run on different servers, so they can not use the same source database. The way I see it, I have the following two options:
1. I develop a SSIS solution to load the required data into the source database and run the same project on both servers, creating 2 identical source databases.
2. I develop a SSIS solution to load the required data into the source database, run this solution on one of the servers. I then create a job on this server to make a backup after this process is done and restore it on the second server, also creating for
me 2 identical source databases.
Which method would be more efficient and why? (what also might be relevant is that one of the two sourcedatabases needs to refresh every night, the other one only once a week)
I would definitely use backup and restore. It will consume fewest resources and you *know* that the data is identical.
Tibor Karaszi, SQL Server MVP |
web | blog
Similar Messages
-
Can I restore OSX to a disk, from a backup that's on the same disk?
I have a Powermac G5 Quad, that has two internal drives. (a 250gb system drive, and a 500gb spare).
Both drives are now out of space. I want to purchase a 1TB drive to replace the 250 system drive.
Tell me if this plan makes any sense:
1. Remove the 500gb spare drive.
2. Install the 1 TB drive, format, & use it as the Time Machine backup disk for the system drive.
3. Once the backup is complete, Remove the 250gb system drive.
4. Boot to the 10.5 Install DVD, and select "restore from backup"
5. Use the Backup on the 1 TB Drive, to install the OS on the same disk.
It's step # 5 that I'm not sure will work. Can I install an OS to a disk, from a backup that's on the same disk?Sorry it took me so long. I had a baby. Anyway, here's how it went down:
I attempted to use the disk utility to "Clone" the original 250gb system disk to the new 1tb Hard drive.
It did not work. Tried booting to the Leopard install disk, and doing it from there, no dice.
So, I went ahead and created 2 partitions on the new 1TB disk. One I called "Time Machine" and it was 300 gigs. The other I called "New System Disk".
I booted to the "Old" System disk, and set up Time Machine to back-up to the "Time Machine" partition. It took 5 hours to back up 250 gigs, but it worked.
I then booted to the 10.5 Install DVD. one of the utilities you can use is "Install from Time Machine Backup" This worked. Took about 5 hours to copy everything to the new "New System Disk".
When that was done, I removed the old system disk. It booted to the new system disk without any trouble.
I was now stuck with a "Time Machine" partition that I did not want. It was EXTRAORDINARILY EASY to delete that partition, then re-size the other one so it took up the entire 1 Terabyte of available space.
So, the answer to the question is: Yes, you can use Time Machine to restore to the same disk, provided that the disk is using two partitions. -
Hi All,
DB:11.2.0.3.0
OS: Sun Solaris SPARC 64 bits
I am facing an issue - RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
<p mcekeep="true"> $ sqlplus / as sysdba
<p mcekeep="true"> SQL*Plus: Release 11.2.0.3.0 Production on Sun Oct 6 09:31:28 2013
<p mcekeep="true"> Copyright (c) 1982, 2011, Oracle. All rights reserved.
<p mcekeep="true"> Connected to an idle instance.
<p mcekeep="true">
SQL> startup
ORACLE instance started.
Total System Global Area 4277059584 bytes
Fixed Size 2166160 bytes
Variable Size 1493176944 bytes
Database Buffers 2768240640 bytes
Redo Buffers 13475840 bytes
ORA-00600: internal error code, arguments: , , ,
SQL> exit
DB test2 database validated:
RMAN> validate Database;
No issues reported.
Could anyone please let me the what's the cause of this error
Thanks for your time
Regards,
user10088255HI,
CASE : I
C:\>set ORACLE_SID=xxxx
C:\>sqlplus sys/XXXXX@rosen as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
Solution: AFTER GETTING ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE AND THEN ALTER DATABASE TO OPEN STAGE .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter database open;
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROSEN READ WRITE
CASE :: II
C:\>sqlplus sys/XXXX@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 1979714112 bytes
Database Buffers 1426063360 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
Solution : As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
C:\>set ORACLE_SID= royalton
C:\>sqlplus sys/xxxxxxxx@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter system flush shared_pool;
SQL> alter database open
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROYALTON READ WRITE
Conclusion : Though this is not the solution but a workaround to solve ORA-00600 which is having same argument as above, then you may follow the above steps.
Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f… -
Is restoring an iphone the same as resting an iphone
is restoring an iphone the same as resting an iphone
Reseting an iPhone means holding the Sleep/Wake button and the Home button at the same time for approximately 10 seconds until the Apple logo appears. Restart or reset your iPhone, iPad, or iPod touch - Apple Support
Restoring an iPhone means restoring a backup that was saved to iCloud or iTunes: Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support -
Can the 4th gen iPod Touch run the same apps as iPhone 4?
I am sorry, I'm not much informed about stuff like this, so I'm pretty much a noob.
I got my eye on the new iPod Touch, especially because it is (from what I've read) an iPhone 4 without the phone and the GPS and a somewhat slightly inferior camera and display. I like the iPhone, too, of course, but the price is something that is really important to me, so it's iPod Touch for me.
I read about all the new features for the new iPod, such as games and other apps, but I'm wondering - can it run the same games apps as the iPhone?
From the fact they operate on the same OS and that they're very similar hardware wise (same processor) I concluded that they can run the same apps, but as I never seen it officially and as there only "iPhone apps" on iTunes store (not iPod Touch apps) I got the impression that might not be true.
So I am asking here now, does the latest iPod Touch run the same apps (games etc.) as the latest iPhone? And can I run the iPhone apps I buy from the appstore on the iPod Touch 4th gen?
I am sorry for my uninformativeness and I thank you in advance.Most of the iPhone apps will work the same way on the 4G iPod as they do on the phone. However, other that rely on the specific feature unique to the phone may install but will not work well if at all. The App Store should identify the system/device requirements.
-
Can I use the same SSI twice in same page?
Hey all,
i'm having a problem whereby several SSI's are not showing on my page.
I'm wondering if it's because the instances that are not showing are the ones called the second time round.
Before i start posting code etc, i just wondered if it was actually not possible to call the same SSi more than one time on a page.
I can't seem to find documentation stating this anywhere.
Thanks in advance,
Katrina
Edit 1: I tested using a new unique SSI (i.e. one that wasn't called anywhere else on teh page, and it doesn't show either... so I've started a new thread where i post my code here: http://forums.adobe.com/message/5345250#5345250
Edit 2: I guess i didn't test properly initially. It seems it is NOT possible to use the same SSI twice on a page... What a bummer!!!This issue was resolved in a different thread where s member supplied the following information...
t's certainly possible depending on the PHP command which you use as the include directive.
<?php require_once('includes/include-address.php'); ?> will only include the file once
<?php require('includes/include-address.php'); ?> will include the file more than once
<?php include('includes/include-address.php'); ?> will include the file more than once
Each has its own rules and quirks.
http://php.net/manual/en/function.require-once.php
http://www.php.net/manual/en/function.include.php
http://www.w3schools.com/php/php_includes.asp -
Re: Running the same (Forte) application multiple times -for different
Hi
We had the same problem - how to deploy a number of identical applications, using each their own db.
(for training).
The solution we used is to wrap the entire application into different applications by using a very small
module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
Then in the dbsession connect, we made a call appname to get the application name, and appended the
first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
I also think this is a kludge - but it works nicely!
Jens Chr
KAD/Denmark
-----Original Message-----
From: Haben, Dirk <[email protected]>
To: 'Soapbox Forte Users' <[email protected]>
Date: 15. januar 1999 09:41
Subject: Running the same (Forte) application multiple times - for different business clients.
Hi All
We have a number of different business clients all willing to use our
application.
The (forte) application is to run on our machines etc for these (business)
clients.
All (business) clients will have their data kept in separate Oracle DBs
(instance).
The problem now is that the entire (forte) application is written using
DBSessions.
Now, depending on what business client needs to be serviced (so to speak) we
need to attach to the right DB - or use the "right" SO.
The two options we can think of are:
Option1:
Programatic change to somehow "know" what (business) client (DB) I'm talking
about and then use the right DB.
Pro:
Only one forte environment to maintain
Can run multiple (business) clients on same PC at the same time
Con:
Requires many program changes
bending O-O rules(?)
can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
Option2:
Use separate environments! One for each business client.
Pro:
More defined separation of app and data,
SLA-easy
Con:
Maintain "n" number of environments
Can only run the application for one environment (business client) at a time
on one PC - Big Negative here!
Not knowing any feasible solution to option 1 (without much code changes and
developer moaning) I would go for option two; as I have already worked on
multi-environment setups on VMS back at the Hydro (hi guys).
I would appreciate any comments from anyone who has solved this problem.
How, Why Pro Con etc.
TIA,
Dirk Haben
Perth, WA
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi
We had the same problem - how to deploy a number of identical applications, using each their own db.
(for training).
The solution we used is to wrap the entire application into different applications by using a very small
module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
Then in the dbsession connect, we made a call appname to get the application name, and appended the
first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
I also think this is a kludge - but it works nicely!
Jens Chr
KAD/Denmark
-----Original Message-----
From: Haben, Dirk <[email protected]>
To: 'Soapbox Forte Users' <[email protected]>
Date: 15. januar 1999 09:41
Subject: Running the same (Forte) application multiple times - for different business clients.
Hi All
We have a number of different business clients all willing to use our
application.
The (forte) application is to run on our machines etc for these (business)
clients.
All (business) clients will have their data kept in separate Oracle DBs
(instance).
The problem now is that the entire (forte) application is written using
DBSessions.
Now, depending on what business client needs to be serviced (so to speak) we
need to attach to the right DB - or use the "right" SO.
The two options we can think of are:
Option1:
Programatic change to somehow "know" what (business) client (DB) I'm talking
about and then use the right DB.
Pro:
Only one forte environment to maintain
Can run multiple (business) clients on same PC at the same time
Con:
Requires many program changes
bending O-O rules(?)
can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
Option2:
Use separate environments! One for each business client.
Pro:
More defined separation of app and data,
SLA-easy
Con:
Maintain "n" number of environments
Can only run the application for one environment (business client) at a time
on one PC - Big Negative here!
Not knowing any feasible solution to option 1 (without much code changes and
developer moaning) I would go for option two; as I have already worked on
multi-environment setups on VMS back at the Hydro (hi guys).
I would appreciate any comments from anyone who has solved this problem.
How, Why Pro Con etc.
TIA,
Dirk Haben
Perth, WA
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
I have a Toshiba external hard drive that i used with MacBook. I now have a MacBook Pro running OS 10.7.5. It does not register that the Toshiba hard drive is plugged in, yet if I plug it into an iMac running the same OS it does work.
I don't know the answer to your problem, but until you resolve it do not upgrade OS X.
I would suggest you try a reinstall:
Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Repair
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
Reinstall Lion, Mountain Lion, or Mavericks
OS X Mavericks- Reinstall OS X
OS X Mountain Lion- Reinstall OS X
OS X Lion- Reinstall Mac OS X
Note: You will need an active Internet connection. I suggest using Ethernet
if possible because it is three times faster than wireless. -
I am going to buy a mac mini i7 with 3 thunderbolt displays for forex trading. the question is if i use bootcamp and run windows on the mac mini will the displays still run the same way as if i was running it on Lion?
No idea if Windows will do it, but you can run Windows without Bootcamp & have OSX available at the same time, which should give you all the Monitors that OSX uses.
Parallels...
http://www.parallels.com/
VmWare Fusion...
http://www.vmware.com/mac -
I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the same
kindly reply and fix this for me
reply to my email,tqMost likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
Apple's iWork suite (Pages, Numbers, and Keynote.)
Open Office (Office 2007-like suite compatible with OS X.)
NeoOffice (similar to Open Office.)
LibreOffice (a new direction for the Open Office suite.) -
How do I run the same process on multiple CPUs of a processor set?
Hi,
I am working on UltraSPARC T1 Processor. My development environment is SunStudio 12 running on Sun Solaris 10 OS.
I want to run the same process concurrently on 4 hardware threads that belong to one core.
I used pset_create() for creation of the processor set.
Later I assigned 4 processors (that belong to one core) using pset_assign().
I used fork() to create a child process and used execv() to assign a new process.
I used pset_bind() to bind this new process to processor set created earlier.
When we are executing the program we observe that the process is running in only the first processor (hardware thread) of the assigned processor set.
How do we make all the processors of the processor set run the same process?
Thanks in advance.
Nesa RaniHi Mark,
With this communication based on CAN whilst all of the data is available on the network arbitration IDs are still used to address the individual PCs so I believe you will need to explicitly send the data to each PC to get the data across all three. The other option would be to have one PC acting as a data server making the data available through a network interface such as shared variables. This may be simpler to implement and also easier should you need to scale it up.
Regards,
James Mc
========
CLA and cRIO Fanatic
wiresmithtech.com/blog -
My iPad has a white screen after trying to restore. I try and restore again and the same thing happens and we are back at the white screen. How can I get it back?
type HT4097 in the search bar. its unable to update or restore iOS. Follow the instructions and if that does not work then id go to the local apple store.
-
Need to run the same query on different databases with the same argument
Hi folks,
I've a script: obj, which has simple stuff, when I execute @obj
this asked me for the object_name
and in return gives me object/s if it exists in this (connected) db.
Now to check in 2 other dbs, I've to disconnect from here and then connect to those dbs and run the same @obj there and give the same argument, e.g., EMP and it'll return the answer.
What is desired ... if not very hard on you :-(
Some thing like @objAll
asked only once object_name ... e.g., I gave EMP
now go to all the 3 dbs and give me the result in ONE spool file only.
What do you think, is this tough, I did something, but it was not involved connecting to different dbs, within the same script, but here we cannot create db links and have to disconnect and connect to the db to get some information.
Please do reply, if my question is not understandable or any ...
Thanks in advance.
Best regards.
Edited by: user8604530 on Jun 27, 2012 1:51 PMAs far as i understand from your question : you cannot create db links ? right..
well another option is to create a shell script , something like this :
vi check.sh
export ORACLE_SID=db1
sqlplus / as sysdba <<EOF
select query comes here;
exit;
EOF
export ORACLE_SID=db2
sqlplus / as sysdba <<EOF
select query comes here;
exit;
EOFchmod 777 check.sh
This does the job for you.. I am unsure how to pass the parameters in sql while running through a sheel script.. but if thats possible you will be able to achieve what you want.
Regards
Kk
Edited by: Kk on Jun 27, 2012 2:44 PM -
Running the same sql script in multiple databases
Hello,
What is the method to run the same sql script in multiple databases? I want to write a unix script that would select from different databases and run a sql/plsql script in those different databases. What are the ways to write such a unix script? Thank you in advance.Just have a parameter which takes in the oracle connection parameters and use it in your sqlplus script with your shell script.
Your sqlplus script can have a procedure/function call or an anonymous block;
Then have a wrapper script to call the original script with different connection parameters. Hope this helps. -
Hi Team-
we are getting below alert in Exchange 2013 on UM server
a Unified Messaging server running the same version of Exchange as the Mailbox server that hosts the user's mailbox couldn't be found.
eventID 1647
The Microsoft Exchange Unified Messaging Call Router service rejected the call for the following reason: 15505;source="Exchange 2013 server ";reason="Couldn't find a valid Unified Messaging server to redirect the call." Microsoft.Exchange.UM.UMCore.CallRejectedException:
An incoming call with ID for user was rejected because a Unified Messaging server running the same version of Exchange as the Mailbox server that hosts the user's mailbox couldn't be found.
we have exchange 2010 and Exchange 2013.
Sender of the voice mail is on the Exchange 2013 and receiver of the voice mail is on Exchange 2010
Is this not supported scenario of Exchange 2013 UM server and Exchange 2010 mailbox server
ksrugiYou cannot and should not expect Exchange 2013 UM function for mailboxes housed in Exchange 2010. And the reverse is true as well. If you want Exchange 2013 UM to function for users, their mailboxes need to be in Exchange 2013. Exchange
2013 UM should be able to redirect calls to an Exchange 2010 UM server if it detected a call was destined for a mailbox being hosted by Exchange 2010, assuming the UM servers/roles/services are within the same UM Dial Plan.
Maybe you are looking for
-
In fbzp ranking order how to configure to pick a particular bank.
In fbzp ranking order how to configure to pick a particular bank. Ex: in my bank determination i have 2 banks Icici and Hdfc i want to pick hdfc what configuration i have to be made.
-
Insert blank page into report after odd page
I'm trying to get my report to insert a blank page at the end of each invoice if the invoice is an odd number of pages. We're looking to start printing two-sided invoices and need each invoice to be able to be mailed to the customer. I already have N
-
Quick question, where to put global variables
Very quick question: where is the best place to put global variables, (e.g. a flag that turns on debug mode) if they are needed by the entire application? I'm guessing they should be placed in their own class. But should I make them public static fin
-
Photo events being duplicated using itunes to sync
Hi Everyone, does anyone else have this issue, when i goto sync my ipad2 using iTunes, Under the Photos tab where events are listed i have duplicates, triplicates etc etc of my events. Does not affect my Albums, just the events... Strangely enough in
-
Extract image from DVD, add different sound and burn new DVD?
I am a composer for film and TV. My clients send me DVDs that have inferior sound. I would like to extract the image from the DVD, add a better sound file (48k16bit) and drop this in iDVD to create a final DVD. How do I do this?