What is slower - lan network socket or oracle database

What is generally slower?
Data transference via socket on a network connection on a lan line or inserting data into an oracle database via an Oracle Prepared Statement with a batch size of let�s say 500?

Maybe this will clear it up: Oracle will be slightly
slower. The transactions are occuring over the
network anyway. So the rate can only be as good as
the network itself. Presumably, the additional
overhead DML imposes will make Oracle slightly slower
than raw network traffic (the prototypical example
would be reading a PDF from a BLOB and piping it back
through middleware to a client).In normal configurations, what Saish says is true, but...
Oracle can also be configured to accept database connections via inter-process communication (IPC), at least on many OSes; in this configuration, the application MUST reside on the database server itself, and the application must use Oracle's OCI driver, not the type 4 thin driver. Then, the application and Oracle use in-memory communication. Obviously, this isn't for everybody and can get very expensive when you scale out.

Similar Messages

  • What are the differences between the following Oracle database views?

    What are the differences between the following Oracle database views(or function)? Can they be instead of each other? Can all of them be used to pull out the execution plan from the library cache?
    V$SQL_PLAN
    DBA_HIST_SQL_PLAN
    dbms_xplan.display_cursor function

    junez wrote:
    What are the differences between the following Oracle database views(or function)? Can they be instead of each other? Can all of them be used to pull out the execution plan from the library cache?
    V$SQL_PLAN
    DBA_HIST_SQL_PLAN
    dbms_xplan.display_cursor functionV$SQL_PLAN-this is dynamic perfomance view which contain execution plan information for each child cursor loaded in the library cache.
    DBA_HIST_SQL_PLAN- data dictionary view also contain execution plan information for each child cursor bun in workload repository.Actually this view captures information from V$SQL_PLAN and is used with the DBA_HIST_SQLSTAT .
    dbms_xplan.display_cursor - function displays explain plan of any cursor loaded in the cursor cache. See more information below links:
    http://youngcow.net/doc/oracle10g/server.102/b14237/dynviews_2120.htm
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/statviews_2154.htm
    http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10802/d_xplan.htm#998179

  • How I enable network service of Oracle database 10g XE ?

    Hi,
    How I enable network service of Oracle database 10g XE ?
    Following error occurs when printing:
    ORA-20001: The printing engine could not be reached because either
    the URL specified is incorrect or a proxy URL needs to be specified.

    ORA-20001 is a user defined error. So you will have to find out where it comes from.
    Regards
    Marcus

  • Network security with Oracle Database Cloud Service

    Does the Oracle Database Cloud service support SSL? Or, any form of network encryption/authentication between a client and the service across the Internet?

    Thank you Rick. I'm intending to use Oracle Database Cloud Service as a "Database-as-a-Service", however I have read that it is actually more of a "Platform-as-a-Service" offering.
    What I would like to do is to interact with the Oracle Database Cloud Service via a local JDBC client. However, from further reading, it looks like the only way to interact with the Oracle Database Cloud Service from a non-Oracle-cloud-based client is via its RESTful web services (which, as you said, support SSL).
    That is to say, I cannot simply connect to the Oracle Database Cloud Service from a local client just through JDBC alone. It looks like I would have to configure my client to make the relevant RESTful web service calls instead, and likewise configure my settings on the Oracle Database Cloud Service to make the necessary translations (from REST to SQL).
    Just to finally clarify, is my above understanding correct?

  • What commands used for taking backup of oracle database using BR*Tools

    Can somebody please help me urgently to know what are the commands used for taking backup of oracle database using BR TOOLS.Also specifythe commands in detail which can be used for taking backups of oracle database ,Online Redo log files in databse using BRBACK tool,Archiving of offline, redo log files using BRARCHIVE, and Restoring a Database using BRRESTORE tool Commands(Plese specify the commands with their Syntax used).Also specify the commands with their Syntax which are used for taking backup of oracle database(online,Offline redo log files) into Tapedrives using BRTOOLS commands.
    Thanking You for helping (in advance).

    Dear Ashish,
    BRBACKUP / BRARCHIVE calls the operating system command to copy the files.
    Simple approach to get the commands is as follows.
    1. Set the BR_TRACE (as given in the SAP note 29321) and run the command for which you need to know the OS / SQL commands.
    2. This will generate the log file with the trace information. This trace has the information of the commands used by the job you have run.
    Hope this helps.
    Regards,
    Madhukar

  • Slow LAN Networking Speeds after Resuming from Sleep

    I use my mac mini as a HTPC running Plex. I have it connected to my Windows media server with 802.11n. Works fine but sometimes after resuming from sleep the network speed drops off to an unacceptable level (from 72 Mb/sec to 5 Mb/sec). Disconnecting and reconnecting doesn't help. Switching to G doesn't help. Only restarting the mini restores the connection to full speed.
    None of my Windows clients on the same network have any troubles.
    Thoughts?

    Looks like Plex might be causing the problem. I always have plex running and it appears as though if Plex makes a request for a file on the share before OS X is done re-mounting it after sleep, it kills the whole process.
    Shouldn't the OS be robust enough to handle a situation like this?

  • What is maximum amount of memory that oracle db can utilize ?

    Hi
    Thank you for reading my post
    What is maximum number of memory that oracle database can utilize for each of its memory structure like sga, caches....
    Thanks

    ps, the following may help too
    VLM) Configurations
    Oracle Database for Windows supports Very Large Memory (VLM) configurations in Windows 2000, Windows 2003, and Windows XP, which allows Oracle Database to access more than the 4 gigabyte (GB) of RAM traditionally available to Windows applications.
    Note:
    This feature is available on Windows 2000, Windows 2003, and Windows XP only with Intel Pentium II and above processors.
    Specifically, Oracle Database uses Address Windowing Extensions (AWE) built into Windows 2000, Windows 2003, and Windows XP to access more than 4 GB of RAM.
    The requirements for taking advantage of this support are:
    1. The computer on which Oracle Database is installed must have more than 4 GB of memory.
    2. The operating system must be configured to take advantage of Physical Address Extensions (PAE) by adding the /PAE switch in boot.ini. See Microsoft Knowledge Base article Q268363 for instructions on modifying boot.ini to enable PAE.
    3. It is advisable (though not necessary) to enable 4GT support by adding the /3GB parameter in boot.ini. See Microsoft Knowledge Base article Q171793 for additional requirements and instructions on modifying boot.ini to enable 4GT.
    4. The user account under which Oracle Database runs (typically the LocalSystem account), must have the "Lock memory pages" Windows 2000 and Windows XP privilege.
    5. USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the initialization parameter file for the database instance that will use VLM support. If this parameter is not set, then Oracle Database 10g Release 1 (10.1) or later behaves in exactly the same way as previous releases.
    6. Initialization parameters DB_BLOCK_BUFFERS and DB_BLOCK_SIZE must be set to values you have chosen for Oracle Database.
    Note:
    The total number of bytes of database buffers (that is, DB_BLOCK_BUFFERS multiplied by DB_BLOCK_SIZE) is no longer limited to 3 GB.
    Dynamic SGA and multiple block size are not supported with VLM. When VLM is enabled, the following new buffer cache parameters are not supported:
    o DB_CACHE_SIZE
    o DB_2K_CACHE_SIZE
    o DB_4K_CACHE_SIZE
    o DB_8K_CACHE_SIZE
    o DB_16K_CACHE_SIZE
    o DB_32K_CACHE_SIZE
    To select the block size for the instance, use the initialization parameter DB_BLOCK_SIZE. The buffer cache size is set by the initialization parameter DB_BLOCK_BUFFERS.
    7. Registry parameter AWE_WINDOW_MEMORY must be created and set in the appropriate key for your Oracle home. This parameter is specified in bytes and has a default value of 1 GB. AWE_WINDOW_MEMORY tells Oracle Database how much of its 3 GB address space to reserve for mapping in database buffers.
    This memory comes from the 3 GB virtual address space in Oracle Database, so its value must be less than 3 GB. Setting this parameter to a large value has the effect of using more of the address space for buffers and using less AWE memory for buffers. However, since accessing AWE buffers is somewhat slower than accessing virtual address space buffers, Oracle recommends that you tune these parameters to be as large as possible without adversely limiting database operations.
    In general, the higher AWE_WINDOW_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle Database. The lower AWE_WINDOW_MEMORY is set, the lower the performance.
    8. Once this parameter is set, Oracle Database can be started and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced because more Oracle Database data blocks can be cached in the System Global Area (SGA).
    Note:
    Registry parameter VLM_BUFFER_MEMORY, which enabled VLM configurations in earlier releases, is not supported in Oracle Database 10g Release 1 (10.1) or later.
    VLM Instance Tuning
    VLM configurations improve database performance by caching more database buffers in memory. This reduces disk I/O compared to configurations without VLM. VLM support in Oracle Database 10g Release 1 (10.1) or later has been re-written to integrate very closely with Windows. Compared to Oracle8i release 2 (8.1.6), VLM users should see better performance with the newer implementation.
    Tuning for VLM is no different than tuning for configurations without VLM. It is an iterative task that begins by selecting appropriate DB_BLOCK_SIZE and DB_BLOCK_BUFFERS initialization parameters for the application being supported.
    Note:
    Oracle Database 10g Release 1 (10.1) or later VLM configurations do not support multiple database block sizes.
    AWE_WINDOW_MEMORY, a new registry parameter specific to VLM, tells Oracle Database how much of its address space to reserve for mapping in database buffers. It defaults to a value of 1 GB, which should be suitable for most installations. If DB_BLOCK_SIZE is large, however, the default AWE_WINDOW_MEMORY value of 1 GB may not be sufficient to start the database.
    Increasing the value of AWE_WINDOW_MEMORY will improve performance, but it will also limit the amount of memory available for other Oracle Database threads (like foreground threads). Clients may see "out of memory" errors if this value is set too large. As a general guideline, increase the AWE_WINDOW_MEMORY registry value by 20 percent.
    For example, if DB_BLOCK_SIZE is set to 8 KB, AWE_WINDOW_MEMORY is set to 1 GB, and the number of LRU latches is set to 32 (16 processor computer), then database startup fails with out of memory errors 27102 and 34. Increasing the value of AWE_WINDOW_MEMORY to 1.2 GB fixes the problem.
    Having a large cache in a VLM configuration may also slow down database writer (DBWR) threads. Having more DBWR threads will distribute work required to identify and write buffers to disk and will distribute I/O loads among threads. Initialization parameter DB_WRITER_PROCESSES enables you to configure multiple database writer threads.
    A large cache can also introduce contention on the LRU (least recently used) latch. On symmetric multiprocessor (SMP) systems, Oracle Database sets the number of LRU latches to a value equal to one half the number of processors on the system. You can reduce contention on such configurations by increasing the number of LRU latches to twice (or four times) the number of processors on the system.
    See Also:
    Oracle Database Performance Tuning Guide for more information on instance tuning
    Windows 4 GB RAM Tuning (4GT)
    The following Windows operating systems include a feature called 4 GB RAM Tuning (4GT):
    · Windows Server 2003
    · Windows 2000 Advanced Server
    · Windows 2000 Datacenter Server
    This feature allows memory-intensive applications running on Oracle Database Enterprise Edition to access up to 3 GB of memory, as opposed to the standard 2 GB in previous operating system versions. 4GT provides a tremendous benefit: 50 percent more memory is available for database use, increasing SGA sizes or connection counts.
    Large User Populations
    Several features allow Oracle Database to support an increasingly large number of database connections on Windows:
    · Oracle Database Shared Server Process, which limits the number of threads needed in the Oracle Database process, supports over 10,000 simultaneous connections to a single database instance.
    · Oracle Net multiplexing and connection pooling features allow a large configuration to connect more users to a single database instance.
    · Oracle Real Application Clusters raises connection counts dramatically by allowing multiple server computers to access the same database files, increasing the number of user connections by tens of thousands, as well as increasing throughput.
    rgds
    alan

  • What are the differences between the following terms in Oracle database?

    What are the differences between the following terms in Oracle database?
    Services
    Applications
    Modules
    Actions
    Thanks

    junez wrote:
    What are the differences between the following terms in Oracle database?
    Services
    Applications
    Modules
    Actions
    ThanksIt seems that you are posting alot of such questions, here is one thread of the same nature.
    What are the differences between the following Oracle database views?
    Please search in the oracle docs to find the information and if you have read it already, please post your doubts about it. It would help you in a better way to understand things and also would make you corrected where you would be wrong.
    HTH
    Aman....

  • What type Oracle Database  i must download

    hello
    i use windows xp [Version 5.1.2600]
    i want download Oracle Database 10g Release 2 but what below kind i must download?
    [Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows ] or
    [Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (x64)] or
    [Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (64-bit Itanium)]
    thanks

    You can find it out from the my computer properties or from the control Panel -> system front page.
    ~ Madrid

  • Oracle Database Express Edition maximum data size

    Hi
    We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it?
    Thanks

    915071 wrote:
    Hi
    We just need to know what is the maximum data(in gb) Oracle database express edition 10g can store in it?
    Thanks4GB

  • Concept of COBRA in Oracle Databases

    Hi,
    What is the concept of COBRA in Oracle Databases? It the same as RAD?
    Adith

    What is RAD?
    Oracle has an embedded Java Runtime. Java has CORBA interfaces.
    Can you be more specific as to what you want to do?

  • RunInstaller hangs on Oracle Database Configuration Assistant

    Hi all,
    Since 3 hours, the runInstaller seems to hang on the Oracle Database Configuration Assistant. Even though i click on stop, it still continue...
    How can i know if it does anything ? Must i kill the process and run again the runInstaller at the beginning ?
    Thanks for help!

    Now i come through the step :
    - Oracle net Configuartion Assistant OK
    - Oracle Database configuration Assistant failed with no reason
    - Agent Configuration Assistant OK
    - Starting httpServer failed with
    Syntax error on line 92 of /db1/app/oracle/product/9.2.0/sqlplus/admin/isqlplus.conf:
    FastCgiServer: redefinition of a previously defined FastCGI server "/db1/app/oracle/product/9.2.0/bin/isqlplus"
    /db1/app/oracle/product/9.2.0/Apache/Apache/bin/apachectl start: httpd could not be started
    I'd like to know what to do to re-install the Oracle Database configuration Assistant ?
    Thanks for help

  • How can I enable trace log in Oracle Database 10g ( in RedHat Linux)

    Dear Forums Members,
    Could u plz drop a message about how can I enable $Oracle_Home/network/trace
    in Oracle Database 10g (Operating system is RedHat Linux Advanced Server 3).
    I will very greatful if someone reply my message.
    Thanks
    Aungshu

    To enable Tracing for a session Level.
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'my_trace_id';
    Enable the SQL Trace facility for the session by using one of the following:
    SQL> Exec DBMS_SESSION.SET_SQL_TRACE
    or
    SQL> ALTER SESSION SET SQL_TRACE = TRUE;
    To disable the SQL Trace facility for the session, enter:
    ALTER SESSION SET SQL_TRACE = FALSE;
    To enable Tracing for a database level.
    Edit init parameter SQL_TRACE = TRUE.
    Its not recomended because running the SQL Trace facility increases system overhead, enable it only when tuning SQL statements, and disable it when you are finished

  • How to migrate Oracle database to MySql server

    Hi ,
    I am on a project that include migration of oracle databases to MySql database ,which include the Data warehouse servers also.
    Please Help me ,what is the steps to migrate the oracle database to MySql database , what need to care w.r.t to objects .
    if any link helps me ,Please let me know.

    Hi,
    This forum is for help with migrating from non-Oracle databases to Oracle. If you need help migrating from Oracle to MySQL then contact MySQL. You could try the MYSQL forum here -
    http://forums.mysql.com/
    Regards,
    Mike

  • Install and config oracle database 10g release 2 in domain or LAN network

    Please help me config oracle database in two case:
    case 1: I want to install only one oracle database in a computer (Server) and other computers can connect and using it. I try to install oracle database in a computer (this is a Server computer). But database is used for this computer, other computers can't connect and using it.
    case 2: If oracle database in a domain, can you help me install and config it.
    example: my domain is: piacom.com.vn. All computers in this domain.
    Thank !

    Wich kind of installation did you use ?
    Personal ? Enterprise ?

Maybe you are looking for

  • Lumia 920 Disturbed after Black update

    Once Lumia black came, i update my mobile. After that i am facing these issues proximity sensor stop working. Screen Rotation has stopped. Camera app become crash whenever i try to use camera. i tried to hardReset. And then download nokia suit from n

  • How to customize the section's content in left bar?

    How to customize the section's content in left bar. I hope to change create job's content, recent job's content etc. Or it is impossible? regards ren

  • How can I change the secret question email address?

    I have the wrong email to send the secret questions to. If anyone can help me won how to change the email to these questions that would be greatly appreciated. Thank you in advance for taking time to help.

  • Unable to copy using std plng fun

    Hi Expert, I am trying to copy transaction data in same RTC using std copy planning function from 1 version to other version. I hv checked the data in cube..... --- It's available. I hv checked real time behaviour.---- Planning allowed. Locking - No

  • I photo problems

    In i-photo after I select a photo and then place it on email page, I type in recipient name. Then as I touch any key in an attempt to add a message the recipient name and email address disappears. I have sent pictures this way before with no problems