.txt or CSV file to the database

Hi-

I have a file of text generated by a Pulse Oximeter, what I want is, as the system is receiving the file (CSV .txt) he automaticly walked into a MySql or SQL Server database and generates an SMS message. Thank you

Concerning

Tayyab Hussain

Web services involve using sychronous communication. However, the use case you describe means that asynchronous, the so-called fire-and-forget, communication is better suited to your needs.

For example, with sychronous communication, the system ignores the exact moment where in a TXT or CSV file will come. Also, when the Treaty system a file, all the other treatments waits until the system ends. This can cause synchronization problems if multiple files enter the system in quick succession.

ColdFusion is an asynchronous solution that fits the requirements of your use case. The following methods will allow you to receive the file to automatically enter data and generate an SMS message. Use the DirectoryWatcher gateway in ColdFusion to monitor the directory in which the TXT or CSV files are deleted and events of ColdFusion SMS gateway to send SMS messages.

Whenever a third party files a file in the directory, an event is triggered, setting the DirectoryWatcher in action. Set up a query to the onAdd of listener of the DirectoryWatcher CFC method to store the file in the database.  Following the request, use the sendGatewayMessage method to send the SMS message.

Tags: ColdFusion

Similar Questions

  • Download csv file into the database using apex

    Hi all

    I use apex 4 and express oracle 10g, I need to upload the .csv file in the database for one of my queries, I just discussion forum for solutions, I found too, but some how its does not work for me.

    below mentioned is error and the code


    ERROR:

    ORA-06550: line 38, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 38, column 8: PL/SQL: statement ignored ORA-06550: line 39, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 39, column 8: PL/SQL: statement ignored ORA-06550: line 40, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550 : line 40, column 8: PL/SQL: statement ignored ORA-06550: line 41, column 8: PLS-00221: 'V_DATA_ARRAY' is not a proc
    Error
    Ok


    CODE:
    DECLARE
    v_blob_data BLOB;
    v_blob_len NUMBER;
    V_POSITION NUMBER;
    v_raw_chunk RAW (10000);
    v_char char (1);
    number of c_chunk_len: = 1;
    v_line VARCHAR2 (32767): = NULL;
    v_data_array wwv_flow_global.vc_arr2;
    BEGIN
    -Read data from wwv_flow_files
    Select blob_content from v_blob_data
    of wwv_flow_files where filename = "DDNEW.csv";

    v_blob_len: = dbms_lob.getlength (v_blob_data);
    V_POSITION: = 1;

    -Read and convert binary to a char
    WHILE (v_position < = v_blob_len) LOOP
    v_raw_chunk: = dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char: = chr (hex_to_decimal (rawtohex (v_raw_chunk)));
    v_line: = v_line | v_char;
    V_POSITION: = v_position + c_chunk_len;
    -When a whole line is retrieved
    IF v_char = Chr (10) THEN
    -Convert comma to: use of wwv_flow_utilities
    v_line: = REPLACE (v_line, ', ' :'); ")
    -Converting each column separated by: in the data table
    v_data_array: = wwv_flow_utilities.string_to_table (v_line);
    -Insert data into the target table
    EXECUTE IMMEDIATE ' insert into TABLE_X (v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11)
    "values (: 1,: 2,: 3: 4:5:6,: 7,: 8,: 9,: 10:11).
    USING
    v_data_array (1),
    v_data_array (2),
    v_data_array (3),
    v_data_array (4);
    v_data_array (5);
    v_data_array (6).
    v_data_array (7);
    v_data_array (8);
    v_data_array (9);
    v_data_array (10);
    v_data_array (11);

    -Remove
    v_line: = NULL;
    END IF;
    END LOOP;
    END;



    what I understand of it's system does not identify v_data_array as table for some reasons, please help me.



    initially the system was in error for hex_to_decimal, but I managed to get this feature on the discussion forum, and now it seems to be ok. but v_data_array problem is still there.



    Thanks in advance

    concerning

    Uday

    Hello

    Correct errors in your sample, I have

    Problem 1

    select blob_content into v_blob_data
    from wwv_flow_files where filename = 'DDNEW.csv'; 
    

    TO

    select blob_content into v_blob_data
    from wwv_flow_files where name = :P1_FILE;
    

    Problem 2

    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4);
    v_data_array(5);
    v_data_array(6);
    v_data_array(7);
    v_data_array(8);
    v_data_array(9);
    v_data_array(10);
    v_data_array(11);  
    

    TO

    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4),
    v_data_array(5),
    v_data_array(6),
    v_data_array(7),
    v_data_array(8),
    v_data_array(9),
    v_data_array(10),
    v_data_array(11);  
    

    And I have created table missing

    CREATE TABLE TABLE_X
      (
        v1  VARCHAR2(255),
        v2  VARCHAR2(255),
        v3  VARCHAR2(255),
        v4  VARCHAR2(255),
        v5  VARCHAR2(255),
        v6  VARCHAR2(255),
        v7  VARCHAR2(255),
        v8  VARCHAR2(255),
        v9  VARCHAR2(255),
        v10 VARCHAR2(255),
        v11 VARCHAR2(255)
      );
    

    Kind regards
    Jari

    Published by: jarola November 19, 2010 15:03

  • CSV file upload to database page-Urgent OFA

    Hi all

    How to download the CSV file of the database using the OFA page


    Thanks and greetings

    Please see a need to download a CSV/Excel to a table on the page of the OFA

    Kind regards
    Out Sharma

  • List of instant vm via a txt or csv file

    Hello

    I want to create a workflow to create a snapshot of the vm list, this list of virtual machine must be a txt or csv file.

    the file will be asking when I run the workfow (browse file) or a UNC path is already configured in the workflow.

    someone has an idea?

    An example of code here is in a workflow, I wrote for vCloud Director 1 imported users from a csv file that has been uploaded to the server of the vCO. The variable "csvfile" is my MimeAttachment entry, the server has been configured to allow read/write in the folder c:\orchestrator...

    var csvContent = csvFile.content;
    var csvFileName = "c:\\Orchestrator\\csvFile.csv";
    csvFile.write("c:\\Orchestrator\\","csvFile.csv");
    System.log("csvFileName: "+csvFileName);
    var host = organization.parent;
    // Now use file to create FileReader object:
    var fileReader = new FileReader(csvFileName);
    if (fileReader.exists){
        fileReader.open();
        var line=fileReader.readLine();
        System.log("Headers: \n"+line);
        line = fileReader.readLine();
        while (line != null){
            var lineValues = line.split(",");
            var username = lineValues[0];
    var username = lineValues[0];
            var password = lineValues[1];
            var enabled = lineValues[2];
            var role = lineValues[3];
            var fullname = lineValues[4];
            var email = lineValues[5];
            var phone = lineValues[6];
            var im = lineValues[7];
            var storedvmquota = lineValues[8];
            var runningvmquota = lineValues[9];
            var vcdRole = System.getModule("com.vmware.pso.vcd.roles").getRoleByName(host,role);
            System.log("Role name found: "+vcdRole.name);
            System.log("Attempting to create User Params");
            var userParams = System.getModule("com.vmware.library.vCloud.Admin.User").createUserParams(
                        username, fullname, enabled, false,
                        email, phone, null, password, vcdRole,
                        false, runningvmquota,
                        false, storedvmquota
                     );
            var userOut = System.getModule("com.vmware.library.vCloud.Admin.User").createUser(organization, userParams);
            userOut.im = im;
            userOut.update();
            System.log(userOut.name + " imported...");
            line = fileReader.readLine();
        }
        fileReader.close();
        // now cleanup by deleting the uploaded file from the server
        var file = new File(csvFileName);
        System.log("Filename: "+file.name);
        deleteFile(csvFileName);
    }else{
        System.log("Error! File not found! "+csvFileName);
    }
    
    function deleteFile(fileName) {
        var file = new File(fileName);
           if (file.exists) {
                   file.deleteFile();
              }
    }
    

    And who gets a VC:VirtualMachine object in vm name where "vmName" is the string entry containing the name to search and "vCenterVM" is the purpose of VC:VirtualMachine resulting code example:

    var vms = VcPlugin.getAllVirtualMachines(null, "xpath:name='"+vmName+"'");
    var vCenterVM = null;
    if (vms != null){
        if (vms.length == 1){
            System.log("Match found for vm named: "+vmName);
            vCenterVM = vms[0];
        }else{
            System.log("More than one VM found with that name! "+vmName);
            for each (vm in vms){
                System.log("VM ID: "+vm.id);
            }
        }
    }
    
  • ODI - products .txt or .csv file output

    Hi guru,.

    I'm new on ODI and have hit a problem with that I hope someone could help me!

    I have a chart / MS SQL data store (2005), I would use ODI to produce a .txt or .csv file output. I have looked at the documentation, but I couldn't find an obvious way to do it - can someone please advise how this can be done?

    Thank you very much
    Joe

    Hey Joe,

    Here is a link to a 'for example Oracle' explaining how to load a flat file:
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/ODI/odi_11g/odi_project_ff-to-FF/odi_project_flatfile-to-flatfile.htm

    You just need to change the LKM to choose one for MS SQL.

    Kind regards
    Jerome

  • Download any file in the database column

    Hi all

    Is it possible that I can download any file in a column of data?

    I use oracle forms 6i and oracle database 10g.

    Kind regards

    Atif Zafar

    Dear Sir

    You can select the built-in file using GET_FILE_NAME. And then copy the file into the database using HOST Directory integrated (using the CMD). After you copy the file in the database directory, you can call the procedure of database to update the database file.

    Manu.

  • How to *. ZIP has *. CSV file in the Oracle Directory?

    Hello! How are you doing guys?

    I have a question;

    How to Zip, a CSV file in the oracle directory?

    I use this method, but a mistake;

    Error; Invalid file operation, this line: utl_file.get_raw (v_arquivo_out, strbufferdd);

    ___The Script___

    v_arquivo_out: = utl_file.fopen ('ORA_DIR',-/ oracle/files/ORA/ORADIR /)

    "DOC. CSV', - file name

    "WORLD BANK");

    UTL_FILE.get_raw (v_arquivo_out, strbufferdd);  <-this line a mistake.

    strbufferdd: = UTL_COMPRESS.lz_compress (strbufferdd, 6);

    V_SDIRECTORY: = TO_CHAR (SYSDATE, ' DD_MM_YYYY_HH24.MI.) SS') | "_RETORNA. ZIP';

    psDsc_File: = v_sDirectory;

    v_arquivo_out2: = utl_file.fopen ('ORA_DIR',-/ oracle/files/ORA/ORADIR /)

    psDsc_File,

    'W');

    -as_zip.

    Utl_File.Put_Raw (v_arquivo_out2, strbufferdd);

    UTL_FILE.fclose (v_arquivo_out);

    UTL_FILE.fclose (v_arquivo_out2);

    ___End SCRIPT___

    Help me?

    Thank you to all the world, I have the solution;

    Please see the procedure;

    CREATE OR REPLACE PROCEDURE 'PR_RELAT_CSV '.

    (

    peCod_Prog in DOCUMENT. Type of Cod_Prog %,

    psDsc_File out varchar2

    )

    IS

    -variaveis para land

    v_arquivo_out utl_file.file_type;

    v_separator varchar2 (1): = "";

    v_sDirectory varchar2 (200);

    src_file BFILE.

    v_content BLOB;

    v_blob_len INTEGER.

    v_file UTL_FILE.file_type;

    v_buffer RAW (32767).

    v_amount directory: = 32767;

    v_pos INTEGER: = 1;

    BEGIN

    -DADOS PREENCHIDOS. ABAIXO, CRIAR PREENCHER E O LAND CSV

    V_SDIRECTORY: = TO_CHAR (SYSDATE, ' DD_MM_YYYY_HH24.MI.) SS') |

    ' _RETORNA. CSV';

    psDsc_File: = v_sDirectory;

    v_arquivo_out: = utl_file.fopen ('ORA_DIR',-/ oracle/files/oradir/ora /)

    psDsc_File,

    'W');

    cabecalho - write

    UTL_FILE.put_line (v_arquivo_out,

    "Organize" | v_separator | ' OPTIONS / Options'.

    v_separator | "AP" | v_separator | "CODE" |

    v_separator | 'Description of the PN | v_separator |

    "Station". v_separator | "Initial SN | v_separator |

    "Final SN | v_separator | 'Note ' | v_separator |

    'Pos ' | v_separator,

    (FALSE);

    -write linhas

    / * n : = 0 ; Contador * /.

    for rec_ (SELECT DISTINCT a.*, d.DSC_ITEM, e.COD_PN_MAT

    OF pcm_subestacao one

    LEFT JOIN (select b.cod_prog,

    c.num_arj,

    c.cod_itens,

    c.DSC_ITEM,

    c.COD_SEST_CONJ

    of pcm_desenho b

    INNER JOIN TABLE (fu_pcm_Combinar_Subestacao ('SYSTEM', b.cod_prog, b.num_arj, 0, null, null, null,)) c

    ON b.num_arj = c.num_arj

    and b.cod_prog = peCod_Prog) d

    ON a.cod_sest_conj = d.cod_sest_conj

    INNER JOIN pcm_mat_geral e

    ON e.cod_cemb_mat = a.cod_cemb_estc

    WHERE a.cod_prog = peCod_Prog

    loop of the order of a.num_arj, num_ns_i, num_ns_fn)

    / * n : = n + 1 ; Contador linhas * /.

    UTL_FILE.put_line (v_arquivo_out,

    Chr (34) | Chr (32) | rec_. NUM_ARJ | Chr (32) |

    Chr (34) | v_separator | Chr (34) | Chr (32) |

    rec_. DSC_ITEM | Chr (32) | Chr (34) | v_separator |

    Chr (34) | Chr (32) | rec_. COD_PN_SEST | Chr (32) |

    Chr (34) | v_separator | Chr (34) | Chr (32) |

    rec_. COD_CEMB_SEST | Chr (32) | Chr (34) |

    v_separator | Chr (34) | Chr (32) | rec_. DSC_PN_SEST |

    Chr (32) | Chr (34) | v_separator | Chr (34) |

    Chr (32) | rec_. COD_PN_MAT | Chr (32) | Chr (34) |

    v_separator | Chr (34) | Chr (32) | rec_. NUM_NS_I |

    Chr (32) | Chr (34) | v_separator | Chr (34) |

    Chr (32) | rec_. NUM_NS_FN | Chr (32) | Chr (34) |

    v_separator | Chr (34) | Chr (32) | rec_. DSC_OBS |

    Chr (32) | Chr (34) | v_separator | Chr (34) |

    Chr (32) | rec_. IND_POS | Chr (32) | Chr (34) |

    v_separator,

    (FALSE);

    end loop;

    UTL_FILE.fclose (v_arquivo_out);

    src_file: = BFILENAME ('ORA_DIR', psDsc_File);

    DBMS_LOB. FileOpen (src_file, dbms_lob.file_readonly);

    v_content: = utl_compress.lz_compress (src_file);

    v_blob_len: = DBMS_LOB.getlength (v_content);

    V_SDIRECTORY: = TO_CHAR (SYSDATE, ' DD_MM_YYYY_HH24.MI.) SS') |

    ' _RETORNA. CSV. ZIP';

    psDsc_File: = v_sDirectory;

    v_file: = utl_file.fopen ('ORA_DIR',-/ oracle/files/ORADIR/ORA /)

    psDsc_File,

    "WORLD BANK");

    Everything v_pos< v_blob_len="">

    DBMS_LOB. READ (v_content, v_amount, v_pos, v_buffer);

    UTL_FILE.put_raw (v_file, v_buffer, TRUE);

    v_pos: = v_pos + v_amount;

    END LOOP;

    UTL_FILE.fclose (v_file);

    EXCEPTION

    WHILE OTHERS THEN

    IF UTL_FILE.is_open (v_file) THEN

    UTL_FILE.fclose (v_file);

    END IF;

    LIFT;

    END PR_RELAT_CSV;

  • Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine

    Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine. My questions is the correct statement to the variable: $VmCreated7DaysAgo: $_CreatedOn "-lt" $CDate7.

    # #SCRIPT_START

    $file = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\VM-Repo.csv".

    $Import = import-csv $file

    $VMCreatedLast7RDayRepoFile = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\Last7Days.csv".

    $start7 = (get-Date). AddMonths(-1)

    $CDate7 = $start7. ToString('MM/dd/yyyy')

    $VmCreated7DaysAgo = $Import | Select-object - property name, Powerstate, vCenter, VMHost, Cluster, file, Application, CreatedBy, CreatedOn, NumCpu, MemoryGB | Where-Object {$_.} CreatedOn - lt $CDate7} | Sort-Object CreatedOn

    $TotalVmCreated7DaysAgo = $VmCreated7DaysAgo.count

    $VmCreated7DaysAgo | Export-Csv-path $VMCreatedLast7RDayRepoFile - NoTypeInformation - UseCulture

    Write-Host "$TotalVmCreated7DaysAgo VMs created in 7 days" - BackgroundColor Magenta

    Invoke-Item $VMCreatedLast7RDayRepoFile

    # #SCRIPT_END

    You can use the New-Timespan cmdlet in the Where clause, it returns the time difference between 2 DateTime objects.

    An example of this cmdley

    New-TimeSpan-start (Get-Date). AddDays(-7)-end (Get-Date). Select days - ExpandProperty

    In your case, you could do

    Where {(New Timespan-démarrer ([DateTime] $_.))} CreatedOn) - end $start7). {7 days - gt}

    But beware of negative numbers.

  • Read the csv file in the Windows directory

    Hi all

    I have a requirement to fill an Oracle table with the CSV file in the Windows directory.
    Please help me to achieve this goal.

    Thank you.

    Published by: Amit1cs on June 4, 2013 08:46

    Then I suggest you mark this thread as answered and repost on the SQL/PLSQL forum. This forum is for Developer SQL related questions.

    Good luck in your task!

  • I also have a .csv file with the name of a jpeg file in a column and a text description of each jpeg format in a second column. Is it possible to automatically insert a jpeg (picture) and its corresponding text, each pair on one page, in an Indesign docum

    I also have a .csv file with the name of a jpeg file in a column and a text description of each jpeg format in a second column. Is it possible to automatically insert a jpeg (picture) and its corresponding text, each pair on one page, in an Indesign document?

    Read about to merge data in the help files.

  • How to download files from the database file system.

    Hello everyone.

    I m trying to do a procedure to download a PDF file that is stored in the file system of the server of the database and not inside the database. The established procedure is the following:


    create or replace
    PROCEDURE PRT_PR_DOWNLOAD_FICH (v_file_name VARCHAR2
    )

    AS

    V_LENGTH number;
    Lob_loc Bfile;

    BEGIN


    Lob_loc: = bfilename ('DIR_OBJ', v_file_name);
    V_LENGTH: = dbms_lob.getlength (Lob_loc);

    owa_util.mime_header ("application/octet ', False");
    HTP.p ("Content-length: ' |") v_length);
    HTP.p ('Content-Disposition: attachment; filename = "" | ") SUBSTR (v_file_name, INSTR (v_file_name, ' /') + 1) | '"');
    owa_util.http_header_close;
    wpg_docload.download_file (Lob_loc);


    END PRT_PR_DOWNLOAD_FICH;


    This procedure receive the name of the file to download and use the wpg_docload.download_file () function. The DIR_OBJ is a directory with path from the server to the folder that contains the files I want to download.

    When I run this procedure I get the error: "Internal Server Error".

    Can someone tell me what I am doing wrong and if it is the best way to download a file directly from the database server file system?

    Hello Pedro,

    Just out of curiosity, I tried your example ;-) It works very well in my environment! (Oracle 10g with OSH and Apex 3.1.2
    But: I had to grant READ permissions on my directory object to APEX_PUBLIC_USER!

    (1) I created a "test.txt" document in the directory corresponding with my EXPDIR directory object. 'Oracle' user needs read on the file & document permissions!

    (2) give APEX_PUBLIC_USER necessary READ rights on the directory object:

    grant read on the directory expdir to apex_public_user;

    (3) create the procedure:

    CREATE OR REPLACE PROCEDURE MATTHIASH. PRT_PR_DOWNLOAD_FICH (v_file_name VARCHAR2)
    AS
    V_LENGTH number;
    Lob_loc Bfile;
    BEGIN
    Lob_loc: = bfilename ('EXPDIR', v_file_name);
    V_LENGTH: = dbms_lob.getlength (Lob_loc);

    owa_util.mime_header ("application/octet ', False");
    HTP.p ("Content-length: ' |") v_length);
    HTP.p ('Content-Disposition: attachment; filename = "" | ") SUBSTR (v_file_name, INSTR (v_file_name, ' /') + 1) | '"');
    owa_util.http_header_close;
    wpg_docload.download_file (Lob_loc);

    EXCEPTION
    WHILE OTHERS THEN
    HTP.p (substr (dbms_utility.format_error_stack (): dbms_utility.format_error_backtrace (), 1, 4000));
    END PRT_PR_DOWNLOAD_FICH;
    /

    (4) Grant execute rights on APEX_PUBLIC_USER of this procedure:

    GRANT EXECUTE ON MATTHIASH. PRT_PR_DOWNLOAD_FICH TO APEX_PUBLIC_USER;

    (5) Finally, try if download document works well:

    http://: 7777, pls, apex, MATTHIASH. PRT_PR_DOWNLOAD_FICH? v_file_name = test.txt

    I would like to know if it works!

    HTH
    Matthias

  • Import address book csv file, in the pop-up window, it is only left list of columns displayed.

    See the attached pictures.
    windoew work is 'left & associarions columns.
    -of - columns are displayed to match items

    I met the 'left only column.
    -only - items are displayed, the left column is empty exercise.

    continuation of the process, there was a message that
    "error imporint duning happened that no address is imported.
    (Korean message Translsted)

    That I can't import the address file which is the csv file.

    I don't know what the problem only occurs on the Korean version.
    I tried only on the Korean version.

    How can I solve this problem?

    no photos.

    Open your CSV is a spreadsheet and make sure that it is really a CSV file. Sounds to me like the first line doesn't have a domain names at this topic. or they are not set properly.

  • BlackBerry Smartphones csv file of the computer laptop portable Torch and sync and agendas of torch

    It is without doubt 'old hat' to the BB community out there but how do I download a csv file (from my contacts) from my laptop to my lamp?

    Also how to sync my laptop and the calendars of the torch?

    I need to download Blackberry desktop manager on my laptop first BB site?

    TA.

    Neil

    neiljbruce wrote:

    I need to download Blackberry desktop manager on my laptop first BB site?

    Absolutely Yes.

    V.6 BlackBerry Desktop Software download here:
    https://www.BlackBerry.com/downloads/entry.do?code=A8BAA56554F96369AB93E4F3BB068C22

    For your CSV file: KB11194 how to import contacts from a CSV file already created for the BlackBerry smartphone

    Once you install the Desktop software, you will see the options for the synchronization of the organiser, who set up and you will be fine... depending on what software the calendar on your laptop computer is located.

  • Problem of temporary file in the database takes a while to start the database

    Legends of dear,

    I am facing the warning next or problem with R12.0.6 64 bit and 10.2.0.3 databases in a linux environment

    Mar 20 18:24:23 Oct 2015

    *********************************************************************

    ATTENTION: The following temporary tablespaces do not contain any file.

    This condition can occur when a backup controlfile

    been restored.  It may be necessary to add files to these

    storage spaces.  This can be done using the SQL statement:

    ALTER TABLESPACE < nom_tablespace > ADD TEMPFILE

    Furthermore, if these temporary tablespaces are no longer

    necessary, then they can be recessed.

    Temporary tablespace is empty: TEMP3

    *********************************************************************

    When I questioned my database_properties

    Select * from database_properties where name like '% TEMP % ";

    temp.png

    Journal Alerts

    Mar 20 18:24:23 Oct 2015

    Completed: ALTER DATABASE OPEN

    Mar 20 18:24:25 Oct 2015

    Additional checkpoint up to RBA to RBA [0x68e.5c2b5.0] [0x68e.5c26c.0], current journal line

    Details of the Temp file

    /Oracle/prod/DB/apps_st/data/temp03.dbf1TMP4
    /Oracle/prod/DB/apps_st/data/temp04.dbf2TMP4

    Because of the warning above when I give 'start-up' in "sqlplus" or start the database using the addbctl.sh script there is a huge gap between the following

    SQL > startup;

    ORACLE instance started.

    Total System Global Area 2147483648 bytes

    Bytes of size 2074112 fixed

    872417792 variable size bytes

    1258291200 of database buffers bytes

    Redo buffers 14700544 bytes

    Mounted database.

    ..............

    ................

    ..............

    .............

    ...........

    .......... (LOCAL TIME - 10 to 15 minutes)

    ...............

    ...............

    .................

    ........

    Open database.

    Please suggest how to deal with this.

    Thank you

    Knockaert

    Hello

    It is a question of pure database. Not much relationship to the EBS.

    Anyway, as stated in the warning, you must add a temporary file in the tablespace TEMP3 or drop the tablespace if you do not need.

    Can you post the full alerts log part, which takes 10 to 15 minutes?

    Kind regards

    Bashar

  • Download file from the database server, through application server.

    Nice day

    I use Jdeveloper 11.1.2.3.0.

    I have a requirement to download a file that already exists on the database server Directory. Now my current scenario is that user is connected to the application server, and the user has no direct access to the database server.  I drew a diagram of my requirement as:


    DownloadFile.png


    I get a way to do this. Please suggest.


    Best regards,

    Julien

    The session does not expire if you are streaming data from the application to the client. However, you will need to manage the data sent over the network, because it can make the very slow network if you send this amount of data at high speeds on the network and then to the customer. This connection between client and server is the biggest problem, because bandwidth is usually small. Think about downloading software by one side oracle (for example 1 GB), this takes time and is prone to errors.

    We did something similar by transferring the data from the database (in our case, it has been stored in a BLOB) on a dedicated server with a server web apache on it. Then, we send a link to the client, which then uses the link to get the special file server data.

    The advantage is that you don't have to code the transfer of huge files in the application of the adf but can already use ready to use of software (balancing bandwidth and the recovery of a broken download).

    Timo

Maybe you are looking for