Changing package varible will effect other session?
Two users will connect to the same schema (the same user name and password),if one user(session) change a global viariable ,can the other user(session) see that change?
How to make a viariable global to a session but not a schema(for jdbc url,means with the same user and password),and also how to make a viariable global not only to a sesson but also to the schema?
the persistency of variables are limited to sessions.
PL/SQL User's Guide and Reference Contents / Search / Index / PDF
http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
Joel P�rez
Similar Messages
-
How can I make a change on one computer effect other compujters automatically
If I change a bookmark on one computer, I want that bookmark reflected on all the other computers. It seems as if I have to do the sync on system A to get the change to the server; then I must go on System B, change the sync type to copy from the server and do a sync. This is way too cumbersome. If synch means to have the same data everywhere, why isn't the default to make this happen as one logs into each system? right now if I make a change on one system and do a synch, it will get overwritten when I go to another sysem and synch.
We use test sites on our remote server. We purchase a cheap $2.99 .info domain and give it a unique domain name. We then make it an addon domain on our remote server.
When we're building sites we then make a unique subdomain to the addon domain. We upload our files to each unique site's subdomain so we can see and test them live,.then we can contact the client
and tell them to take a look at their site live, which at the time is a subdomain, etc.and uploaded.
Once we have the site completed and uploaded to the designated subdomain we then contact the client and ask them to test their site and see if it's ready or do we need to make more changes.
We use a hosting package for this that cost us less than $30.00 a year with unlimited domains and subdomains. We've got about 30 subdomains on it now and they're not even making the usage wiggle because of taking very few hits.
Once the site is completed and approved we then delete that particular site's subdomain and upload to the clients remote server.
We don't test our sites locally, we test all our sites live as we build them using a subdomain to the .info tld domain on our remote server. You can also buy hosting packages for around $12.00 a year to test your sites on. -
Change Package For Many Bi Objects
Dear Gurus,
Before transformation, Is there any way to change package for many bi objects ?
Transport Coonection tab dont allow me to change package of these bi objects?
Cheers,In the transport connection screen select the object -->send it RHS --> before changing the package make sure that object is not in any of the Transport request if so release the request using the Tcode :se09 and now select the object in the transport screen click on change package it will prompt a window where you can update the package and create TR for it.
-
How can I sync my home PC (Windows 7) with my MAC laptop so that changes on either will be updated?
I take my MACBook Pro on the road and I want any changes to be updated on my home PC when I get back home so that both have the same information.
Is there a way to do this?I would like to sync items like Word docs, Excel docs and changes to PDF files as well as mail, file folders, calendars.
I would like any changes that were made on the MacBook while I'm away from home to be mirrored or syced and updated to my PC when I arrive back home.
Likewise, before I leave home again, I would like any changes that I made at homeon my PC to be updated back to my MacBook before I leave again.
Microsoft had a program called "Sync Toy" that performed this task flawlessly when working between two PC's....but now I am working with a MACBook and PC. Is there a similar program that will work between MAC and PC?
Thanks! -
How to find out histotry command from other session
Hi gurus,
I use RHEL 5.4
Some user log onto server with root and make change at some files. How can I find out history command from other session with the same user.
history command is just give me history commands of my own session.
Thanks
ChThe file which holds the commandline history is .bash_history in the home directory of the user.
So in the case of root, /root/.bash_history
Please mind that if you log in as root, or become root your session will add to that file as well.
Another issue with the history file is that when multiple sessions are logged in, every session writes in its own version of the same file. So the last one "wins", which means that version is the one which is truly stored.
If files are changed, a find command with the 'mtime' parameter should be helpful. -
Tables stored in memory but may be accessed from other sessions
Dear Oracle experts,
it may be a stupid question but I'm searching for the best possibility to create a kind of temporary table which may be accessed from other sessions.
Could you provide some hints/ catchwords to speed up my recherches.
Thank you very much,
Danieldanielwetzler wrote:
danielwetzler wrote:
I fear that the caching is not suitable for my case because of the reasons decribed in my other postings...First of all I don't think that you need to worry about the effectiveness of the caching in your particular case. In addition Oracle is very clever at when to actually write the dirty blocks from the buffer cache to the disks, so if your amount of data written to the result table is fairly small and no other activity is going on your system it won't get written to disk immediately anyway but stay in memory until any of the conditions are met that trigger the database writer to flush the blocks to disk.
But there are options you could consider if you want to avoid as much of the overhead as possible and to write the results of your calculation to the result table as fast as possible.
You could use direct-path inserts (INSERT /*+ APPEND */) and set the result table to "NOLOGGING". This way no undo and minimum redo is generated.
Note however that there are certain caveats and restrictions to consider when using such an approach, e.g. your result table won't be recoverable (which you say is OK), only one direct-path insert is allowed simultaneously (it blocks the table exclusively, no other DML possible until you commit/rollback the transaction), and the direct-path insert has some restrictions. If any of these apply that prevent the direct-path operation then it silently falls back to "conventional" insert mode which generates undo and redo. One of the more annoying restrictions is that you can't read from a table that has been written to in direct-path mode within the same transaction, you first have to commit the transaction, otherwise you get "ORA-12838: cannot read/modify an object after modifying it in parallel". This means by simply adding the APPEND hint you might break existing logic.
Finally the direct-path insert never re-uses free space in blocks below the current high-water mark, which means if you perform a direct-path insert and afterwards delete rows from the table and repeat again a direct-path insert operation your segment will grow and the empty space in the already used blocks won't get re-used. Best way would be to truncate the table rather than deleting rows from it.
There are workarounds available to overcome some of these direct-path insert limitations (exclusive lock, truncate instead of delete etc.), like using a partitioned table (if you have a suitable edition/license), because direct-path inserts can be restricted to partitions. In this case you can do simultaneous direct-path inserts if you use different partitions, but you need then some kind of logic that determines which partition to use.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
How to change package for Process chain
Hi Experts,
How do i change the package in the Transport connection. Iam transporting a PC from D to Q.
1. I have some routines created in the infopackage.So i selected this one in the transport connection. I noticed under infopackages the following are also checked. a. infoobjects b. DataSource c. Infopackage d. Infopackage e. infosource f. transfer structure g. source system.will that cause problem in Q as I have them already in Q and P
2. How do i change the package in the transport..Currentl all of them are &tmp. Please help me with the navigatioln steps.
3. After clicking the truck icon, what shld i do ..do i have to transport the request as well. please provide me with steps.
Thanks
Dave
Message was edited by: Dave Marcus1. I have some routines created in the infopackage.So i selected this one in the transport connection. I noticed under infopackages the following are also checked. a. infoobjects b. DataSource c. Infopackage d. Infopackage e. infosource f. transfer structure g. source system.will that cause problem in Q as I have them already in Q and P
Ans : If you have ticked Transport Check button for Infopackage then only Infopackage is transported. Underlying Infoobjects, Transfer Structure etc. will not be transported.
2. How do i change the package in the transport..Currentl all of them are &tmp. Please help me with the navigatioln steps.
Ans : once you have pulled the necessary objects in the Transport Connection, Right click on the relevant object and select 'Change Package' to change the package from $tmp to others.
3. After clicking the truck icon, what shld i do ..do i have to transport the request as well. please provide me with steps.
Ans : Assign the Package by following question2, then assign Transport Request by clicking on the Truck Icon in Transport connection for the objects you have collected and then go to 'SE01' Transaction give the request number which you assigned in Transport connection and click on 'Display' which displays the request and all objects assigned to the request. select the Task Request and click on Truck icon which will release the task and then select the Main Request and click on Truck icon again which will release the main request.
Thanks,
Vamsi -
Why the "Change Package" in Transport Connection shows "Request/Tasks"?
We want to transport our custom InfoCubes from Developement environment to Test environment:
RSA1 -> Transport Connection, select an InfoCube we created and drag it over to the right frame, group it by "In Dataflow Before and Afterwards". The Package column shows it's attached to $TMP that we would have to change it to a custom package that it can be transported over. We click the Package picture icon with a pencil trying to change the package attached from $TMP to a custom one, but can't find any custom package we created with SE80 from here and instead, in this window, the first column is "Request/Task" and the values under this column are all checkboxes. The last column is "Object Name". I wonder if the "Change Package" picture icon only lists all the request/task for the selected transport objects selected other than the packages we expect? Weird!
Thankshi Kevin,
the 'normal' way has been explained by Roberto and Siggi.
if you still want change package screen in transport connection, it will go to package change/object directory entry screen after you mark the 'request/task' and click 'V'
Re: Why created package with SE80 can't be found in Transport Connection? -
How to change package of infotype
Hi all,
i have created a an infotype and assigned it to a package. i want to put the infotype in another package. can anyone tell me how to do this?
regards,
hamzaHI hamza,
1. goto pm01
2. enter your infotype
3. click on radio button (PS Structure)
4. Click on EDIT button
5. the structure of that infotype will get opened
6. menu : GOTO---->Object Directory Entry
7. Change the package
8. Come back to PM01 and refresh
9. The new package name will appear
regards,
amit m. -
How to view uncommited data from other session
Hi
I want to see data that is incommited from other sql session. How can I see it?
Generally After commit data is available to other sessions.
Please answer me ASAP.
Wating for reply
Jigar,You cannot do 'dirty reads' in Oracle. You can only see committed changes, and you have the choice of seeing committed changes after each individual statement in your transaction (default), or only after a transaction has finished. With the default level, running the same query multiple times within a transaction may yield different results.
I suspect that you have used this approach with Sybase or SQL Server for performance reasons, but you will not need to do this with Oracle. I recommend you read Tom Kyte's "Expert One-On-One: Oracle" book for an excellent discussion of Oracle's locking and concurrency mechanisms.
Hi
I want to see data that is incommited from other sql session. How can I see it?
Generally After commit data is available to other sessions.
Please answer me ASAP.
Wating for reply
Jigar, -
DBA commit other session's transaction?
Hi, everyone,
A quick question, can a DBA commit {color:#0000ff}other session's transaction{color}?
If so, how?
Thanks!
AlexTransactions can be as long as what the user logic demands. There is no transactions that is too long or too large. Oracle doesn't break, slowdown, or underperform because of long or big transactions. If you look deep into how oracle handles transactions in the background, you'll see why.
It's interesting you mentioned that. I hope you really looked deep into how oracle handles transactions so you can en-light us how long and large transaction not affecting performance.
perhaps we should start with Oracle Concept shall we?
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/transact.htm#CNCPT117
In a nutshell long and large transaction has potential performance impact at least in these aspects.
A transaction will generate undo information, until the transaction is committed, these undo segment can't be reused. As transaction grows the undo space held hostage grows. Potential performance impact No.1
A transaction usually hold locks on rows you made changes. until your transaction is committed, no other user can update these rows and need to wait for the lock. Potential performance impact No.2
The third one is situation like yours, when a session held long and big transaction dropped, Oracle need to rollback all the changes made to database. Some of these changes already been flushed to disk (especially since it's long and large transaction). In that case, Oracle will need to load all changed data blocks and apply undo information back.
On the other hand, since you are seeking ways for DBA to commit the uncommit change you made recklessly, that means you could have committed the changes. There's certainly no user logic to hold these changes as one single transaction. -
Hello,
I just got a new computer that is running windows 8. I bought this computer only after checking the specs for what would work with CS6 and other programs I use. However, for some reason the toolbars and palettes are tiny which is frustrating. The real problem though is that anything I do (zooming, selecting, deselecting, editing text, using brushes, etc.) doesn't visually change unless I click on other tools any where from 1-5 times. For instance if I zoom in or out the rulers and scroll bars will adjust but the document doesn't zoom until I click on three other tools. Is anyone else experiencing similar problems? How can I solve this problem?Here is the System Info from Photoshop:
Adobe Photoshop Version: 13.0.1 (13.0.1.3 20131024.r.34 2013/10/24:21:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1
System architecture: Intel CPU Family:6, Model:5, Stepping:1 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 2
Logical processor count: 4
Processor speed: 2694 MHz
Built-in memory: 8072 MB
Free memory: 4947 MB
Memory available to Photoshop: 7055 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: Intel
Video Card Renderer: Intel(R) HD Graphics 4400
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1440, right: 2560
Video Card Number: 1
Video Card: Intel(R) HD Graphics Family
OpenCL Unavailable
Driver Version: 10.18.10.3304
Driver Date: 20130909000000.000000-000
Video Card Driver: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
Video Mode: 2560 x 1440 x 4294967296 colors
Video Card Caption: Intel(R) HD Graphics Family
Video Card Memory: 2080 MB
Video Rect Texture Size: 16384
Serial number: 95478014204250507972
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\Taryn\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 201.0G, 116.9G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/06/26-12:17:19 4.0.95 66.510504
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.8428
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0.1 (13.0.1.3 x001)
Bas Relief 13.0
BMP 13.0
Camera Raw 8.5
Camera Raw Filter 8.5
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0.1 (13.0.1.3 x001)
Clouds 13.0.1 (13.0.1.3 x001)
Collada 13.0.1 (13.0.1.3 x001)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0.1 (13.0.1.3 x001)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Difference Clouds 13.0.1 (13.0.1.3 x001)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0.1 (13.0.1.3 x001)
Embed Watermark 4.0
Extrude 13.0
FastCore Routines 13.0.1 (13.0.1.3 x001)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0.1 (13.0.1.3 x001)
Measurement Core 13.0.1 (13.0.1.3 x001)
Mezzotint 13.0
MMXCore Routines 13.0.1 (13.0.1.3 x001)
Mosaic Tiles 13.0
Multiprocessor Support 13.0.1 (13.0.1.3 x001)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0.1 (13.0.1.3 x001)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0.1 (13.0.1.3 x001)
Photocopy 13.0
Photoshop 3D Engine 13.0.1 (13.0.1.3 x001)
Picture Package Filter 13.0.1 (13.0.1.3 x001)
Pinch 13.0
Pixar 13.0.1 (13.0.1.3 x001)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0.1 (13.0.1.3 x001)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0.1 (13.0.1.3 x001)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0.1
Shear 13.0
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0.1 (13.0.1.3 x001)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Sumi-e 13.0
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variations 13.0.1 (13.0.1.3 x001)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
WIA Support 13.0.1 (13.0.1.3 x001)
Wind 13.0
Wireless Bitmap 13.0.1 (13.0.1.3 x001)
ZigZag 13.0
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONE -
ORA-12721: operation cannot execute when other sessions are active
Hi,
I started my DB like following :
1) Change INIT.ORA file; unset parallel_server parameter.
2) Execute these commands:
STARTUP MOUNT ;
ALTER SYSTEM ENABLE RESTRICTED SESSION;
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
ALTER SYSTEM SET AQ_TM_PROCESSES=0;
ALTER DATABASE OPEN;
SHUTDOWN IMMEDIATE;
SQL> STARTUP RESTRICT pfile='C:\oracle\product\10.2.0\db_1\database\initORCL.ora';
ORACLE instance started.
SQL> alter database national character set INTERNAL_CONVERT UTF8;
alter database national character set INTERNAL_CONVERT UTF8
ERROR at line 1:
ORA-12721: operation cannot execute when other sessions are activeWhy this error when DB is opened in strict and I'm the only user ?
SQL> select count (*) from v$session;
COUNT(*)
20Any solution ?
Thank you.Hi
This operation is dangerous, please ensure that you have a full backup before doing that operation.
Please use that order :
SHUTDOWN IMMEDIATE;
-- make sure there is a database backup you can rely on, or create one
STARTUP MOUNT;
ALTER SYSTEM ENABLE RESTRICTED SESSION;
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
ALTER SYSTEM SET AQ_TM_PROCESSES=0;
ALTER DATABASE OPEN;
ALTER DATABASE CHARACTER SET <new_character_set>;
-- a alter database takes typically only a few minutes or less,
-- it depends on the number of columns in the database, not the
-- amount of data.
SHUTDOWN;
Please note that :
The command requires the database to be
open but only one session, the one executing the command, is allowed.
For the above error conditions Oracle9i will report one of the errors:
ORA-12719: operation requires database is in RESTRICTED mode
ORA-12720: operation requires database is in EXCLUSIVE mode
ORA-12721: operation cannot execute when other sessions are active
Oracle9i can also report:
ORA-12718: operation requires connection as SYS
if you are not connect as SYS (INTERNAL, "/ AS SYSDBA").
Let us know if this helps.
regards,
Hub
Edited by: Hub on Dec 10, 2008 1:22 PM -
Deadlock when executing package simultaneously from two different sessions
I have written a package which will do the below tasks .
package A
Delete data which was older than one year from master table A and then populate data from stage table A to master table A .
truncate summary table and populate the summary table from the master table .
The package will be executed from a java application with the help of a scheduler in java. Some times, the packageA is still executing, while another instance of the package A is scheduled, that creating to deadlock in oracle. we can not use dbms_locks pkg in our application due to restrictions . i want to handle this situation from the db side in such way that the session B , need to wait until the session A completes the execution of the package . Can some one please tell how to handle this scenario in pl/sql?
I thought of creating a function which will return the execution status of package A by reading a flag from temporary table . So that next schedule can be scheduled with the return status of the function. is there any other way other than this , so that i can pause execution of package A in session B and resume after session A is successfully executed
create or replace pkg a
populate master ;
populate smry ;
populate app_tables ;
end pkg ;
create or replace pkg body
populate master()
delete from master where loaddate < sysdate -365;
loop
fetch from stage a
insert to master a
end loop
populate smry()
truncate sumary a ;
insert into smry
select values from master ;
populate app_tables()
populate master;
populate smry ;
end pkg bodyI have a question about your requirements. I'm not questioning them just trying to understand them. You wrote:
Delete data which was older than one year from master table A and then populate data from stage table A to master table A .
truncate summary table and populate the summary table from the master table . If this is all there is to the requirement why would a second invocation be scheduled so soon? If you delete all data older than one year why would you need to do it again so soon?
Notwithstanding the above you basically need a serialization management process.
For all batch frameworks I have worked with we always include batch control and status tables to:
1. guarantee that batches are run in the proper order
2. allow for batch restart
3. allow for suspension or termination of single batch jobs or job streams
4. provide for reporting of batch statistics - batch run time, records processed, etc.
5. simplify the testing of complex batch streams. Tests can be performed on any one batch step or any combination of steps by enabling/disabling flags in the control tables.
6. eliminate the possibility of the problem you are reporting
Using one or more batch control and status tables, in my opiinion, is the simplest and best way to serialize the batch jobs you are dealing. Such tables gives you maximum flexibility while placing the fewest constraints on the system.
In the system I work with we try to have a clear line of demarcation between processes that control the work to be done and the processes that actually do the work.
The processes that do the work never determine what data they work with; they are parameterized so that they are told what data to use. All they know is how to process the data that they are told to process. This makes it easier to scale to add additional 'worker' processes by having the 'control' processes break up the data into different batches and running 'worker's in parallel.
I would suggest designing and implementing a control hierarchy to oversee the execution of the worker processes. This will be your serialization manager. -
HI ,
I am trying to generate the stack files in Solman using Mopz for upgrade from ERP 6 EHP 5 to EHP 7.
But in step Choose Add-on Products i get below error
Requested Attribute Change Package 'TXGLO=====600' not deliverable.
Message no.BORMMSGDELTACALC164
Any help would be really appreciated.
Thanks.Hello,
so far, the reply I have received is that it should be possible to implement TXGLO 601 during this Support Package update.
I am not sure I agree with that take, I will discuss whether it is possible to release the ACP in some way. It does not look easy though.
Best regards,
Miguel Ariño
Maybe you are looking for
-
Why cant I use relative paths in Netbeans
Why cant I use relative paths in Netbeans to files on my PC. I want to be able to copy my project folder between different drives and pcs dont want to edit the code everytime I do. BTW I didnt know where on the forum to post this. Just in case this i
-
How to run the LabVIEW exe as background process?
Dear All, I want to run my LabVIEW exe as background process, which wont show as the process in the task bar as shown in the .jpeg file. I want to run it as a background services as like runs in the windows processes.
-
Dynamic LOV only Mondays.
Does anybody know of a way to use dynamic LOV's to build a select list of dates that only lists mondays?
-
How to install windows 7 in portege M200
CAN ANY ONE TELL ME HOW TO INSTALL WINDOWS 7 IN MY PROTEGE M200 I AM SO MUCH WORRIED ABOUT THAT Bec there is no DVD ROm TOSHIBA PORTEGE M200 PART NUMBER : PPM21U -1KCPK-4 S/N: 85124648H Thank you
-
hello i have written program in My eclipse..is it possible to convert the program into dll file if so can anyone help me howw to do it? Thanks