The consecutive processes share the same database session?

Assuming that we have two processes on the same page, which are performed one after the other. Can we depend on that they are running within the same database session?

For example it is possible to define a database (sys_context) context in the first process, and refer to this context within a second (e.g. process DML).

Or asking in other words: is the session DB from the pool of connections apex reused or returned to the connection pool after the first process?

It's a little difficult to control, because only the negative case would be suffient to say it doesn't work that way. Just because the 10 tests on 10 worked will not guarantee that it is always the case.

Published by: Sven w. on June 28, 2012 15:04 - typo correction

Sven wrote:
Assuming that we have two processes on the same page, which are performed one after the other. Can we depend on that they are running within the same database session?

For example it is possible to define a database (sys_context) context in the first process, and refer to this context within a second (e.g. process DML).

Or asking in other words: is the session DB from the pool of connections apex reused or returned to the connection pool after the first process?

The same session of database is used for the duration of 'see the page' or 'accept the page' request. If a 'direct branch' (direction of the page without using the redirect) takes place after "accept page" the same session of treatment, is used to display the new page. See the use attributes initialization PL/SQL/cleaning of Code PL/SQL Code .

However, several operations may be involved, as APEX will issue engages on different session state changes.

Tags: Database

Similar Questions

  • 12 c upgrade using the same database

    What is the process for the improvement of the 11.1.1.7 to the current version of 12 c? We will not do a full inplace upgrade. We have new hardware for the 12 c application layer, but will use the same database. Our database is multiple to and do not miss having to deal with all the data duplication and dealing with the deltas.


    Is it possible to install 12 c on the new hardware, and then point the current patterns of these two instances? The upgrade of the patterns would be the only thing that needs to be done to allow the new instance to work with the new application?

    This is described in detail in Note 2058358.1 support

  • Replication to a different diagram in the same database is a problem?

    Hello

    I'm about to start an integration project in which data needs to be replicated from a schema from A to B schema. These patterns are in the same database. We are looking for a non intrusive process to move data in real time throughout the day. At night, the data must be prepared for treatment. I think GoldenGate might be the right choice for this case. However, some people think it's weird using GoldenGate for replication within the same database, despite being in the other schema data. I do not wish to use ODI or other intrusive process.

    Is there a sort of recommendation in order to not to use GoldenGate in such situation (same database)?

    Hello

    Yes, it is possible and you can use Oracle GoldenGate for configuring replication between two schemas in the same databases. Only a GoldenGate environment is sufficient to achieve this goal.

    Kind regards

    Veera

  • Is it possible to run vCenter Server and AUVS in the same database?

    Hello. My client has vCenter Server and VUM installed and running in the same database. Yes, the same database (not only same server database) and the same ODBC (ODBC VUM is 32-bit only).

    My question is whether it is supported or not and I would like a source VMware information, not only "it works fine for me".

    I can't find any definitive info on this VMware. Only something to wave in the installation and upgrade guides about or not to run in the same database ' ' (I guess they mean 'server') and it seems that the recommendation is to separate them for the 'large environments,' whatever that means.

    The environment vSphere 4.1 is currently, and there are about 20 guests and 150 virtual machines.

    If it is not supported, I guess the best way to go is to reinstall both from scratch?

    Thanks in advance!

    / Anders

    Yes, it is a supported configuration.  Since VUM and vCenter using different tables, you can share the same DB

    The database of the update manager that you use can be identical to the vCenter Server database. You can also use a
    separate database, or you can use existing database clusters. For best results in a large scale environment, you
    must use a dedicated Update Manager database that is located on one computer other than the
    the vCenter Server system database.

    http://pubs.VMware.com/vSphere-50/topic/com.VMware.ICbase/PDF/vSphere-Update-Manager-50-install-Administration-Guide.PDF

  • Migration of the apex of one schema to another in the same database

    Hello

    I'm new to Apex and installed Apex 4.2 on a database and creates a dashboard based on some tables.
    Now I have to create a diagram in the same database and have to replicate all tables and should have the same dashboard.

    Now my question is-

    1 can I install Apex on the other schema and then having to export and import dashboards and reports to the installed Apex?
    2 is it possible that the installed Apex even can be used also for the other schema and can have two separate (Dev and Prod) environment?

    Help, please... Please provide any document or link for the same.

    Thanks in advance.

    Kind regards
    Sébastien Pallav

    A database can have a single schema of apex (APEX_040200).
    It is not a good idea for DEV and PROD in the same PB (so using the same data to the APEX). He makes hard development (because he may - or is - break PROD at one point).

    But - if you must - you can create two schemas: like A and B.
    Export your APP1 then import it under a different id (in the same workspace - but you can also set up two work spaces).
    Using the apex management console, change the schema by using your new imported application is to B. In this way, your app will run "as user B".

  • Cannot open 2 Virtual Machines at the same time to access the same database

    People,

    Hello.
    I'm installing RAC Oracle Database 11 g 2 system with 2 Virtual Machines (rac1 and rac2) on top 3 VMPlayer.

    The VM rac1 and rac2 when one of them is stopped.
    Their locations are F:\VM_RAC\rac1 and F:\VM_RAC\rac2.


    I opened rac1 rac2 is running. But this error message appears:

    Error: "cannot open F:\VM_RAC\sharerac\asm1.vmdk drive or one instant records, that depends. Reason: cannot lock the file. »


    While rac1 running, I opened rac2. But this error message appears:

    Error: "cannot open F:\VM_RAC\sharerac\asm1.vmdk drive or one instant records, that depends. Reason: cannot lock the file. »


    2 error messages are the same. This means that I can not open 2and rac1 rac2 VMs at the same time. When we run RAC system, must open 2 "machines" or machines to more than 2 at the same time, so that all machines can access the same database server.

    My question is:

    Can all folk tell me how have rac1 and rac2 run at the same time?

    Thank you.

    Unfortunately no, Oracle RAC requires that all nodes can visit the same set of shared disks. If your database resides within the DSO, each instance ASM (one per node) must also see the same set of disks to ASM diskgroup containing the data of the database files.

    Best regards
    Bryan Wood

  • RMAN and repositories on the same database grid control

    What are the disadvantages of having the RMAN Repository and repository on the same database grid control?

    What effect does this have

    1. daily maintenance

    2. after disaster or high availability... or the recovery scenarios.

    3 is server performance with respect to the use of the CPU and memory - not desirable to have two repositories on the same database?

    Currently we have not a RMAN or a repository of GC. We intend to implement both. Angle of savings, it would be good if we can just build another data base for two repositories on an existing database server with 2 production databases. The server has enough CPU and RAM face for 1 new database, but that would mean an exaggeration to have 2 new databases.

    If it is not advisable to have two repositories on the same database, then we would need strictly two separate databases, in this case, we will need to go to a new database server host two databases, which the org seeks to avoid, as this would mean that to buy a new license.

    I tried searching a few books, but don't have no clear guidance on the same. Any opionion would really help. Thank you.

    Concerning

    S diallo

    Where this instance fails, all rman needs to restore is in the database control file. How to restore a database with rman from the command line, without a catalog. (The backup and Recovery Guide has details of how do.) This will get data back so that you can use the grid again control.

    In order to insure against a default of the machine hosting the instance, verify that the database is in log mode archive and protected with scheduled backups of hot and copy the backup files to another server.

    Other options for high availability, you have a license (Data Guard, RAC) could also be deployed for this instance, if you need more recovery options.

  • v$ session - request of exact same different results when it is run with the same user on the same database with the same client application on 2 different PC

    Hello

    Oracle 11.2.0.3

    We have a strange situation - using the pl/sql developer and a pc gui tool when query present at the session of $ v session INACTIVE for a sid given - also on sqlplus for INACTIVE same sid but on

    Another exact same request of pc shows as ACTIVE.

    What happens repeatedly with different sid.

    I thought session $ v must show the same SID as active or inactive desktop client as a database table.

    Someone at - he seen this before?

    Thank you

    When you ask anything about the database, your session will be activated as it does 'something' on the database. For example, when the user queries:

    select status from v$session where osuser = 'HIMSELF_USERNAME';
    

    It questions its own session which is 'something' on the database. So, just try it, run a query on the database using your own username as this, you will have the same results. There is no error on the data dictionary, please stop trying to think that it is a bug.

    Kind regards.

  • Tablespace clone on the same database

    First of all, let me start by telling you that I am a noob when it comes to the Oracle.

    Secondly, I did probably 1-2 hours of research every week for the past four weeks on Google trying to find an answer to this. Read all documentation of Oracle and many other forums, I haven't found an answer.

    I am currently using Oracle Database 10 g on Windows in a development environment. I have several spaces storage implemented in this case, each with its own copy/version of an application that I test that points to it.

    We publish new versions of this app that I need to test on. So we are currently on version 6.5. I need to make a copy of the tablespace 6.5 and copy it to a 6.6 new tablespace, while leaving the tablespace 6.5 intact and available, giving me a PARALLEL test environment on the same box.

    In all my reading, I saw not an easy way to do it, unless I'm not very well understand the articles. Everything I read only talks about transporting tablespaces between db, but not actually leaving them on the same PB. Whatever this either on cloning amounts to the same thing. I could do an export import, but then I have to do a lot of manual steps to re-create indexes, etc.

    Does anyone have a solution or a link to this? I am uncomfortable using SQL Developer and database management tools based on the web of the Oracle.

    Not in a huge rush, because I have a work around for export/import tables, but I would like to know how to do this using the Oracle tools.

    Okay, first of all, it looks like you want to clone a pattern, not a tablespace. A tablespace is just a collection of data files - it is not a namespace for objects. A schema is a collection of paintings (this is the closest thing to a SQL Server database). So, no doubt, you need a schema where there is a version 6.5 of all objects and a second scheme when there is a version 6.6 of all objects. Objects might share a tablespace with happiness, each schema could have its own tablespace, or you might have a bunch of tablespaces where tables used in these two schemas exist.

    By using the export and import utilities (preferably versions DataPump if you have a volume of data to process) is the right way to clone a schema. If you use traditional export and commercial import, you would use the FROMUSER and TOUSER options to change the schema. If you use the DataPump versions, you must use the REMAP_SCHEMA option.

    I don't know why you would need to do the manual steps after export and import. Index must be included assuming that you perform a level included schema export and assuming you're not explicitly excluding them by specifying INDEXES = N

    Justin

    Published by: Justin cave on July 19, 2011 14:35

    Now, just as a point of mental health, with multiple schemas for the same application in a single Oracle database for test purposes is generally frowned upon. There is much more that is shared between multiple schemas in an Oracle database between multiple databases in a SQL Server System. It can be done (assuming that the application does not public synonyms), but it is relatively easy for failures in one application affect the other application.

  • Is it better to keep opening new tabs in the same browser session or is there a point where open another browser session (instance) is 'better' (performance, resources system, stability, etc.)?

    It is a general question about how best to work with many open web sites. Sometimes I open 10-20 at the same time. Sometimes I will open a second or a third copy of the browser and have several tabs there too.

    Some other browsers use a separate process for each window that opens, Firefox is not. It doesn't matter how many windows you have open in Firefox, that you use a "session" or process of Firefox.

    The only exception to this is with Firefox 3.6.4 & versions of plugins is running in a separate process "plugin - container.exe".

  • not passed on to the php database session

    I have a page which creates an orderID of three entries of form session. I need to get the orderID of session in the database column, but it is in error "column 'orderID' cannot be null.

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}

    $insertSQL = sprintf ("INSERT INTO wildOrchidRes (ID, orderID, name, address, city, County, zip code, country, email, phone, checkIn, checkOut, amount) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",

    GetSQLValueString ($_POST ['ID'], "int").

    GetSQLValueString ($_POST ["orderID"], "text").

    GetSQLValueString ($_POST ['name'], "text").

    GetSQLValueString ($_POST ['address'], "text").

    GetSQLValueString ($_POST ['city'], "text").

    GetSQLValueString ($_POST ["count"], "text").

    GetSQLValueString ($_POST ['PostalCode'], "text").

    GetSQLValueString ($_POST ["country"], "text").

    GetSQLValueString ($_POST ['email'], "text").

    GetSQLValueString ($_POST ['telephone'], "text").

    GetSQLValueString ($_POST ["checkIn"], "text").

    GetSQLValueString ($_POST ['order'], "text").

    GetSQLValueString ($_POST ['quantity'], "double"));

    @mysql_select_db ($database_WO, $WO);

    $Result1 = mysql_query ($insertSQL, $WO) or die (mysql_error ());

    session_start (); order session created

    $_SESSION ["orderID"] = $_POST ['name']. $_POST ["checkIn"]. $_POST ['order'];

    $insertGoTo = 'confirm.php ';

    If (isset {}

    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;

    $insertGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $insertGoTo));

    }

    < do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" id = "form1" >

    < input type = "hidden" name = "ID" value = "" size = "32" / > "

    < input type = "text" name = "name" value = "" size = "32" / > "

    < input type = "text" name = "address" value = "" size = "32" / > "

    < input type = "text" name = "City" = value "" size = "32" / > "

    < input type = "text" name = value "County" = "" size = "32" / > "

    < input type = "text" name = "PostalCode" value = "" size = "32" / > "

    < input type = "text" name = "country" value = "" size = "32" / > "

    < input type = "text" name = "email" value = "" size = "32" / > "

    < input type = "text" name = "phone" value = "" size = "32" / > "

    < input type = "text" name = "checkIn" value = "" id = "CheckIn" size = "32" / > "

    < input type = "text" name = "checkOut" value = "" id = "CheckOut" size = "32" / > "

    < input type = "text" name = "amount" value = "" size = "32" / > "

    < input type = "submit" value = "confirm order" / >

    < input type = "hidden" name = "orderID" value = "<?" PHP echo $_SESSION ["orderID"];? ">" / >

    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < / make >

    ideas please because I can think of why it does not work

    Thanks in advance

    > Yes, I tried to add

    >

    > session_start (); order session created

    > $_SESSION ["orderID"] = $_POST ['name']. $_POST ["checkIn"]. $_POST ["amount"];

    >

    > top of page

    >

    > but still gives the same error

    Because you always try to insert a hidden form field that will not fill. Simply insert the value of the session variable, not the field of the form displayed.

  • Standard procedure to maintain two OWB application on the same database?

    I have several States. I want to deploy all the mapping of OWB States in a single server.

    My question is, do maintain us separate owbowner for each State? I need to create different workspace for each State. So, I can keep all the workspace in one owner owb? OR should I have each owner owb for every State?

    Please suggest.

    Hi Shrinika,
    I see no reason for the implementation of different 'States' mapping sepparate with workspaces.
    It is perhaps best to implement for each 'State' with sepparate project or the same module (in the same project) in the same workspace.

    At least in the case of multiple spaces of work/projects (for each ' State') you will have problem with integration of maps in unique processflow...

    Kind regards
    Oleg

  • the JRC, many cases can be on the same database server?

    and if so, that that the advantage of this would be, because there would be no tolerance of breakdowns or of load balancing in question?

    im just curious,

    Thank you

    I hope that this is just a rhetorical question. If we keep data and you want to start the instance on the same machine, the db_unique_name would do the trick, giving each one a different name. But in the cars, the instance name will change keeping the db_name even and also, the Vip would be alone for two instances. So no real advantage to do so would not be possible at all. No TAF or these things would be there because CARS is used for HA and when the only machine would come down, you would have lost everything. That said, I am always doubtful that you can even start multiple instances on the same computer even or not.

    Just my 2 cents.

    Aman...

  • double objective of the current database session terminate after 500 gb data cp

    I have 1 TB db. for example, I run the command duplicate to activate standby database.after 500 GB datafile copy to end the session due to some bottle neck (network) .is it possible to resume work again means new job started in the previous step.

    Thank you

    913779 wrote:
    I have 1 TB db. for example, I run the command duplicate to activate standby database.after 500 GB datafile copy to end the session due to some bottle neck (network) .is it possible to resume work again means new job started in the previous step.

    Thank you

    See the documentation
    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm#BGBEFJHH

  • OLIVIER 11 g and OBI 10 g pointing to the same database

    Hi guys!

    I have a questions. On my PROD Server I installed the database and OBI 10 g. I want to install now OBI 11 G on a repository of machine and separate item on this same basis.
    Is this possible? It problem?

    With respect,

    PsmakR

    Hi user,

    Yes it is possible. Be sure to only do not run huge concurrent requests servers screen.

    Kind regards
    DpKa

Maybe you are looking for

  • Where will label/sticker printing

    I can't find any info on what the bar code on the label plastic with the words PRINT SCAN COPY WEB is for and where I am to the place.

  • ePrint versus ePrint Mobile - and Activation of ePrint

    Using my iPad, I installed the app on the Apple store ePrint.  What is the ePrint moble app?  Nothing on the Apple store indicates whether - or if it's just the "plain" ePrint application   Using the application that I have (whichever it is), I can n

  • Application blackBerry Smartphones from device to memory card transfer? For BB 9720

    Dear Sir I have a big problem for the application of transfer of device on my memory card. How are you going to install all the applications in the terminal on a memory card? I need an answer because my terminal is full (rest 2 MB) and my memory (1 G

  • Refusal due to the DNS response

    Hello I get after spammed in my syslog all of a sudden our PIX. The incoming port is always the same, but the receiver's port. % 2 PIX-106007: Deny UDP incoming 204.117.214.10/53 to 63.xxx.xxx.xxx/21465 because of the DNS response. My understanding i

  • Help, please! Upgrade Windows 7 0x7E error code and THE. DLL not found.

    I'm trying to upgrade Windows Vista to Windows 7 Home Premium. I did everything what I have to do before the upgrade, but when I tried to install it, I got are two following error messages: This application has failed to start because of THE. DLL was