Upgrade tables in all PDBs?
I read in a book that all the PDBs in a CDB can be upgraded at the same time. So I am assuming, if a table in PDB changes (add or remove column), then that change can be propagated to all the other PDBs. Is that true? What do I need to do for this? If there are any resources, please let me know.
Thanks.
Richard Harrison . wrote:
Hi,
I think what you have read is in relation to running oracle upgrade scripts, or installing extra oracle options into all the pdbs.
Take the case where you want to run pupbld.sql (to create the product_user_profile table), in old style oracle you just run that in the single instance database and all is well.
In multitenant this same operation needs to be done in all the pdbs, you could do this manually in every one but that would be pretty tedious - that's why oracle provide a wrapper script (catcon.pl) that takes the script you want to run and loops through all the containers running it.
I did a simple example showing how this could be used for any SQL and wrote a short blog post on it
http://dbaharrison.blogspot.com/2013/07/running-sql-against-multiple-pdb.html
Cheers,
Rich
Thanks for the link Rich, it is really helpful. I tried this with a common user, but it fails saying "insufficient privileges". I have the same user setup in the application and he can do CRUD operations. How do I fix this? Also, is there a workaround to catcon.pl or is this the only way to upgrade the PDBs at one time.
Similar Messages
-
Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.The Oracle documentation has a good overview of the options available
Generating XML Data from the Database
Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
You can also find some information in XML DB FAQ -
I have an iphone 5 and I did the upgrade. Now all of the music videos that I purchased on itunes do not show up when I hold the phone horizontally. It is just a picture of album covers. Any thoughts?
thank yousomeone swapped upgrades. Phone could have been sold For quick cash.
-
After Upgrade to Yosemite, all apps are slow.
I upgraded to Yosemite and all applications are slow. ( as e.g.. starting to type in this box give me beachball for 2 seconds initially) A big difference in speed from Mavericks to Yosemite. Opening system preferences takes 3 seconds to load, and clicking on Users & Groups takes 25 seconds to open.
I do not have fire vault enabled. I did a safe boot and some apps did appear to open faster. Also did a repair disk and rebooted. No change. When Safari is open it takes 5 seconds to open a new window. I ran EtreCheck and the report is as follows;
Thanks for any help;( After pasting the EtreCheck text file, I clicked on this box to add the Thanks... , it took 2-3 seconds for the beach ball to stop spinning.)
Problem description:
After upgrading to Yosemite, all apps are slow,
EtreCheck version: 2.0.6 (91)
Report generated October 20, 2014 at 11:46:01 AM MDT
Hardware Information: ℹ️
iMac (24-inch, Early 2009) (Verified)
iMac - model: iMac9,1
1 2.66 GHz Intel Core 2 Duo CPU: 2-core
8 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1067 MHz ok
BANK 1/DIMM0
4 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 9400 - VRAM: 256 MB
iMac 1920 x 1200
System Software: ℹ️
OS X 10.10 (14A389) - Uptime: 0:23:55
Disk Information: ℹ️
WDC WD6400AAKS-40H2B0 disk0 : (640.14 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 639.28 GB (130.48 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OPTIARC DVD RW AD-5670S
USB Information: ℹ️
Apple Inc. Built-in iSight
Burr-Brown from TI USB Audio CODEC
Canon MP480 series
Western Digital My Book 1140 2 TB
S.M.A.R.T. Status: Verified
EFI (disk2s1) <not mounted> : 210 MB
MyBookMovies (disk2s2) /Volumes/MyBookMovies : 2 TB (549.58 GB free)
LaCie LaCie Hard Drive USB 1 TB
S.M.A.R.T. Status: Verified
EFI (disk1s1) <not mounted> : 210 MB
Time Machine Backups (disk1s2) /Volumes/Time Machine Backups : 795.40 GB (322.99 GB free)
Time Machine Airdisk (disk1s3) /Volumes/Time Machine Airdisk : 100.77 GB (55.52 GB free)
EXCHANGE (disk1s4) /Volumes/EXCHANGE : 100.09 GB (45.35 GB free)
ALCOR Generic USB Hub
Prolific Technology Inc. USB-Serial Controller
Prolific Technology Inc. USB-Serial Controller
Hewlett-Packard hp LaserJet 1012
Apple Computer, Inc. IR Receiver
Prolific Technology Inc. USB-Serial Controller D
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hidhook (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.hypervisor (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.netbridge (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.usbconnect (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.vnic (9.0 24251.1052177) Support
/Applications/Toast 11 Titanium/Spin Doctor.app
[not loaded] com.hzsystems.terminus.driver (4) Support
/Library/Application Support/VirtualBox
[loaded] org.virtualbox.kext.VBoxDrv (4.3.12) Support
[loaded] org.virtualbox.kext.VBoxNetAdp (4.3.12) Support
[loaded] org.virtualbox.kext.VBoxNetFlt (4.3.12) Support
[loaded] org.virtualbox.kext.VBoxUSB (4.3.12) Support
/Library/Extensions
[not loaded] foo.tun (1.0) Support
/System/Library/Extensions
[not loaded] com.hzsystems.driver.CDSDAudioCaptureSupport (1.5) Support
[loaded] com.prolific.driver.PL2303 (1.5.1 - SDK 10.6) Support
[not loaded] com.roxio.BluRaySupport (1.1.6) Support
[not loaded] com.wdc.driver.1394HP (1.0.9) Support
[not loaded] com.wdc.driver.USBHP (1.0.11) Support
/Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
[not loaded] com.roxio.TDIXController (2.0) Support
Startup Items: ℹ️
HP IO: Path: /Library/StartupItems/HP IO
Startup items are obsolete and will not work in future versions of OS X
Problem System Launch Agents: ℹ️
[loaded] com.paragon.NTFS.notify.plist Support
Launch Agents: ℹ️
[running] com.abbott.mal.launchclient.plist Support
[loaded] org.gpgtools.gpgmail.enable-bundles.plist Support
[loaded] org.gpgtools.gpgmail.patch-uuid-user.plist Support
[loaded] org.gpgtools.Libmacgpg.xpc.plist Support
[loaded] org.gpgtools.macgpg2.fix.plist Support
[running] org.gpgtools.macgpg2.shutdown-gpg-agent.plist Support
[loaded] org.gpgtools.macgpg2.updater.plist Support
Launch Daemons: ℹ️
[running] com.abbott.mal.malserver.plist Support
[loaded] com.adobe.fpsaud.plist Support
[running] com.freemacsoft.appcleanerd.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[running] com.wdc.SmartwareDriveService.plist Support
[running] com.wdc.WDSmartWareService.plist Support
[loaded] org.gpgtools.gpgmail.patch-uuid.plist Support
[not loaded] org.virtualbox.startup.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.google.keystone.agent.plist Support
[invalid?] com.macpaw.CleanMyMac.trashSizeWatcher.plist Support
[invalid?] com.macpaw.CleanMyMac.volumeWatcher.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
[failed] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
[running] com.vladalexa.MagicPrefs.plist Support
[not loaded] org.virtualbox.vboxwebsrv.plist Support
[running] ws.agile.1PasswordAgent.plist Support
User Login Items: ℹ️
AppCleaner Helper Application (/Applications/AppCleaner.app/Contents/Library/LoginItems/AppCleaner Helper.app)
Messages Application (/Applications/Messages.app)
MagicPrefs UNKNOWN (missing value)
Calendar ApplicationHidden (/Applications/Calendar.app)
Mail ApplicationHidden (/Applications/Mail.app)
Contacts ApplicationHidden (/Applications/Contacts.app)
PowerboxInjector Application (/Applications/PowerboxInjector.app)
Internet Plug-ins: ℹ️
LogitechHarmony: Version: 2.0 - SDK 10.7 Support
DirectorShockwave: Version: 12.0.4r144 - SDK 10.6 Support
Google Earth Web Plug-in: Version: 6.0 Support
Default Browser: Version: 600 - SDK 10.10
Flip4Mac WMV Plugin: Version: 3.2.0.16 - SDK 10.8 Support
OfficeLiveBrowserPlugin: Version: 12.2.0 Support
Silverlight: Version: 5.1.20913.0 - SDK 10.6 Support
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
iPhotoPhotocast: Version: 7.0
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 Support
AdobePDFViewer: Version: 9.5.5 Support
GarminGpsControl: Version: 4.2.0.0 - SDK 10.8 Support
EPPEX Plugin: Version: 4.1.0.0 Support
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
Safari Extensions: ℹ️
1Password
AdBlock
ClickToFlash (Disabled)
Print Plus (Disabled)
ClickToPlugin (Disabled)
OpenIE
3rd Party Preference Panes: ℹ️
Flash Player Support
Flip4Mac WMV Support
GPGPreferences Support
Growl Support
MacFUSE (Tuxera) Support
MagicPrefs Support
Paragon NTFS for Mac ® OS X Support
Perian Support
QuickTime Player X Preferences Support
WDQuickView Support
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Destinations:
Time Machine Backups [Local]
Total size: 795.40 GB
Total number of backups: 29
Oldest backup: 2014-10-08 20:15:48 +0000
Last backup: 2014-10-20 17:32:33 +0000
Size of backup disk: Excellent
Backup size 795.40 GB > (Disk size 0 B X 3)
Top Processes by CPU: ℹ️
10% WindowServer
5% syncdefaultsd
4% Safari
1% AppleSpell
0% com.apple.iCloudHelper
Top Processes by Memory: ℹ️
266 MB mds_stores
258 MB Safari
180 MB Finder
137 MB WindowServer
136 MB com.apple.WebKit.WebContent
Virtual Memory Information: ℹ️
3.93 GB Free RAM
2.97 GB Active RAM
443 MB Inactive RAM
978 MB Wired RAM
1.82 GB Page-ins
0 B Page-outsYou could do that, but when setting up your new iMac it is a much better idea to transfer only your existing User Accounts. In other words when Setup Assistant appears, de-select "Applications", "Computer and Network Settings" and "Other files and folders". That way you will eliminate the possibility of reinstalling potentially incompatible software from your existing Mac or its TM backup. It's best to create new printer queues and preferences anyway.
Your venerable HP 1012 will probably work without any difficulty but if you need its driver download it here. If it gives you trouble try OS X's generic PostScript driver.
After configuring your user account, install original versions of your essential software from their original sources. In other words if you installed them via download from the developer's website, download them again. You might need license keys so gather them. Obviously the Mac App Store makes things easy since anything you obtain from there is already linked to your Apple ID and is easily reinstalled by going to your Purchases page.
Don't reinstall things like AppCleaner, CleanMyMac, Western Digital "Smartware" or any of that junk. You don't need it. MacFUSE is outdated. Research Prolific Technology for potential updates for their serial controller. The one you have may work, or not, but you should re-download its driver.
Consider abandoning Microsoft altogether and migrating to better solutions such as Pages, Numbers, and Keynote. They are all free with a purchase of a new Mac and are far more integrated with OS X than anything Microsoft will ever be able to accomplish.
The Burr-Brown USB device is unknown to me, so research TI's website for support if you need it.
If your essential software was distributed on optical media, you can use OS X's "DVD or CD sharing" feature to remotely mount the older iMac's optical drive so that you can install its software. It will work as though that drive were physically installed on your new Mac. Having said that, anything that was distributed on optical media is highly likely to have been outdated a long time ago.
If your essential software is old, orphaned, no longer supported, or is no longer available, meaning you have the only viable copy, the only option is to transfer it from the TM backup or older Mac. In that case be very cognizant of the likelihood for incompatibility, and have a plan for uninstalling it should it cause adverse effects. Creating a new TM backup is the way to do that. A new external HD dedicated to the new Mac is a cheap investment. When you are certain you no longer require the older Mac's TM backup, you can erase it and use it as an additional, redundant TM backup or "clone" repository – whichever you decide is best for your backup needs. -
Hi,
After upgrading to Mavericks, all my mail folders in Mail are gone. Does anyone else have this problem or know how to fix this. I only use the apple Mail, not anything else like gmail etc. Its very frustrating as I had importantant documents there.
Thanks
Warrenthis might help with the gmail problem: http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/?viewall=true
-
JSF-Data Table displaying all data in a single row
Hi Guys,
Im new to JSF, im trying to display the details from a List in a data table, but all the details are getting displayed in a single cell instead of displaying as rows, can someone help me with this problem?You need post your code so that we can view it.
This is an example of dataTable
<h:dataTable border="1" id="qresults" cellpadding="4" styleClass="subjectQRTbl" cellspacing="4" value="#{wormingList.worming}" var="bbr" first="#{wormingList.firstRowIndex}" rows="#{wormingList.noOfRows}" rowClasses="evenRow,oddRow">
<h:column>
<f:facet name="header">
<h:outputText escape="false" value="Vaccination Date" />
</f:facet>
<h:commandLink id="locnum" action="#{appAction.getWormingRecord}" title="Update Worming History Record">
<h:outputText value="#{bbr.dateWormed}">
<f:convertDateTime pattern="MM/dd/yyyy"/>
</h:outputText>
<f:param name = "recordId" value ="#{bbr.id}" />
</h:commandLink>
</h:column>
<h:column>
<f:facet name="header" >
<h:outputText escape="false" value="Vaccination Type" />
</f:facet>
<h:outputText value="#{bbr.type}" styleClass="readOnly" />
</h:column>
<h:column>
<f:facet name="header" >
<h:outputText value="Vaccination Dosage" />
</f:facet>
<h:outputText value="#{bbr.dosage}"styleClass="readOnly"/>
</h:column>
</h:dataTable>
Hope this helps -
Upgrade Deskjet 3050 all in one J610 to print Apple AirPrint?
Anyone knows if you can upgrade Deskjet 3050 all-in-one j610 to print AirPrint from my Ipad?
Or in a way to work around printing to this J-model from my Ipad?The Deskjet 3050 does not support AirPrint. AirPrint requires firmware in the printer that understands the AirPrint format.
You can use the HP ePrint application,
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02775166#N58
https://itunes.apple.com/us/app/hp-eprint/id299531647?mt=8
or
Try the HP All-in-One Printer Remote application,
http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03561640
https://itunes.apple.com/us/app/hp-all-in-one-printer-remote/id469284907?mt=8
I am an HP employee. -
After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09
After upgrading to Mavericks, all of my contacts disappeared. Did a "contacts archive" export and the file is 17mbs. Looks like there's data, but none of it at all displays. What gives? 20" iMac, early '09
-
After upgrading to Mavericks all my pdf's that were on Ibooks in Itunes library disapeared. It said they were moved to the new ibooks for mac app. but nothing is there. Can anyone help
Well where is your library located now if not in the iTunes folder? See the links below on what your iTunes folder should look like and put it back together:
What are the iTunes library files? - http://support.apple.com/kb/HT1660
More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
Where are my iTunes files located? - http://support.apple.com/kb/ht1391
iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847 -
I recently tried to update my iPhone 3 software via my mothers Mac book comp - during the upgrade I lost all my music and calendar dates and now the iTunes on my phone has my mothers iTunes detail - how do I get all my info back on the phone?
Restore it using the computer you normally sync with.
-
Need to delete data from main table and all child tables ...
hi all,
i need to delete rows pertaining to perticular table and all the child
tables basing on certain code.i need to write a procedure to which i will
pass the table name and code..
like del_info(tab_name,code)
example:
suppose if i call as del_info(clients,760)
the procedure should delete all info reg. code 760
and the table clients and also all the child records of this table
perting to code 760.
simply .. i need to delete from the table passed and also
all the child tables down the heirarchy regarding certain code ...
help ???
Ravi Kumar MHi,
Depends how you defined referential integrity.
You can use ON DELETE CASCADE, please read the next doc http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/clauses3a.htm#1002692
Hope this help you,
Nicolas. -
How to put a table's all fields on a selection screen?
Hi, I am new here. I am currently create a report in which I need to put a transparent table's all fields on selection screen. Please give me hints about it. Thank you very much in advance.
TomHi,
Use parameter or select-options for all the fields in the transparent table..I am not sure if there is any dynamic way of creating the parameters..
Otherwise you can create a dynamic report..
Check this example for dynamic report..
DATA: p_temp(30) TYPE c DEFAULT 'ZTEST_REPORT'.
TYPES: BEGIN OF t_abapcode occurs 0,
row(72) TYPE c,
END OF t_abapcod.
T_ABAPCODE-ROW = 'REPORT ZTEST_REPORT.'.
APPEND T_ABAPCODE.
T_ABAPCODE-ROW = 'PARAMETERS: P_MATNR LIKE MARA-MATNR.'.
APPEND T_ABAPCODE.
T_ABAPCODE-ROW = 'WRITE: / P_MATNR. '.
APPEND T_ABAPCODE.
INSERT REPORT p_temp FROM it_abapcode.
SUBMIT (p_temp) AND RETURN.
Thanks,
Naren -
Today I just update my iphone software to IOS5. I forgot to download pictures that were on my iphone and since the upgrade they are all gone. Is there a way to get them back?
The only restore I can find is from 2010.
-
Which table stores all development class and names of programs
Hi All,
can any one tell me which table stores all development classes and programs we made.thanks for the answer , i got info also.
TADIR is also one table in which you can find out the prog names and dev class.
check table for dev class is TDEVC. -
Report all z tables with all z program containing these z tables
Hi Everyone,
I want to write a report to extract all z table with all z program contained in these z tables
ex: The z table zxxxx exist in program zxx1 , zxx2 and zxx3.
Table Program
zxxxxx zxx1
zxx2
zxx2
If you have any idea , wich table we can find information
Thanks in advance for your time
SoufieneThank you very much , but where i can find the descritption for the table .
EX :
TABLE DESCRIPTION PROGRAM
ZCHANGEMPL SAP TO Kronos interface tables ZXXXXXXX
Thanks a lot
Soufiene
Maybe you are looking for
-
Hi, We are using IHC for inter company cash within group. Normally an IHC process chain runs overnight and we have no issue. However, today we manually ran F9N7, as overnight job did not pick up some payment orders and did not create bank statement.
-
Applying logs in a semi-standby instance
Oracle Version: 10.2.0.3 Standard Edition OS: Windows 2003 Server I setup oracle standby (followed the steps in metalink doc 432514.1).. I am running 10.2.0.3 standard edition.. so teh standby have to be done manually (which is fine).. I shutdown pro
-
Reg Adcfgclone after merge appltop error
Hi, Mine is 2 node architecture. Web & Forms in one node. Admin,Concurrent and DB in another node. Version is 11.5.10.2 and db is 10.2.0.4 I want to do Multinode to single node cloning using merge appltop. I ran perl adpreclone.pl appsTier merge in a
-
How do I get my itunes library from my imac to macbook air
Mac's make many things really easy to manage. So, why is it so difficult to work out how to get itunes onto macbook air from iMac
-
Hi All, I am in little bit confusion, the idoc type orders03,message type ordchg, data comes to this idoc through xi interface, into edi_dc40- Idoc adminstrative information, e1edk02,e1edp01,e1edp20(i think these are Segments) - po item details