How many bytes does a DATE use?

Having trouble finding this in the 10g documentation. How many bytes does a date data type use?
thanks.

Take a look to the online documentation linked below :
Oracle® Database SQL Reference
10g Release 2 (10.2)
Part Number B14200-02
Oracle Built-in Datatypes
expecially code datatype 12.
Valid date range from January 1, 4712 BC to December 31, 9999 AD. The default format is determined explicitly by the NLS_DATE_FORMAT parameter or implicitly by the NLS_TERRITORY parameter. The size is fixed at 7 bytes. This datatype contains the datetime fields YEAR, MONTH, DAY, HOUR, MINUTE, and SECOND. It does not have fractional seconds or a time zone.
Nicolas.

Similar Messages

  • When ordering a movie how many megabites does each movie use in my internet downloads

    when ordering a movie how many megabites does each movie use in my internet downloads

    Peter Hillman wrote:
    It doesn't really matter if an AppleTV2 has to re-download since using the same bandwidth twice doesn't effect the user.  There are no data caps on home internet like there are on 3G cellular service.
    Many home internet services do have caps, at least in the UK, and I suspect elsewhere to.  My current service is capped at 100GB/month for downloads, though I rarely use that much. 
    I recall a post from someone a few months ago who said that during the course of watching/rewatching a single HD rental they'd used over 20GB of their monthly usage allocation which is a significant chunk if you do have a cap.
    AC

  • How many bytes does a refresh check on the DDLOG table cost?

    Hello,
    each application server checks after "rdisp/bufrefreshtime" in the DDLOG table on the database whether one of it's tables or entries of tables are invalid.
    Only tables or entries of tables that are invalid appear in the DDLOG table. If an application servers gets to know which of his tables are invalid, he can synchronize with the next read access.
    Does anybody know how many bytes such a check cost?
    The whole DDLOG must be read by each application server, so it depends on the number of entries in the DDLOG.
    Does anybody know?
    thx, holger

    Hi,
    except of system and some timestamps, everything is stored in a raw field.
    Checking FM SBUF_SEL_DDLOG_RECS I found some additional info:
    - There are several synchronization classes
    - Classes 8 and 16 don't contain table or key info -> complete buffer refresh
    - Other classes should have a table name
    - In this case is an option for a key definition
    -> I guess, generic and single buffers are handled with corresponding key fields, full buffered is probably handled without key fields.
    An entry in DDLOG itself is the flag / mark for: this buffer is invalid.
    It's obviously single/generic key specific - otherwise the whole concept of single/generic key would be obsolete.
    Christian

  • We are traveling to france in rural areas of brittany and want to know approx. how many megabytes does google maps use.

    HOw ow many megabytes does googles apps use?

    12.6 MBs according to iTunes Store where you can find the same information.

  • Having issues finding out how many bytes are sent/recieved from a socket.

    Hello everyone.
    I've searched the forums and also google and it seems I can't find a way to figure out how many bytes are sent from a socket and then how many bytes are read in from a socket.
    My server program accepts a string (an event) and I parse that string up, gathering the relevant information and I need to send it to another server for more processing.
    Inside my server program after receiving the data ( a string) I then open another port and send it off to the other server. But I would like to know how many bytes I send from my server to the other server via the client socket.
    So at the end of the connection I can compare the lengths to make sure, I sent as many bytes as the server on the other end received.
    Here's my run() function in my server program (my server is multi threaded, so on each new client connection it spawns a new thread and does the following):
    NOTE: this line is where it sends the string to the other server:
    //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
    //SERVER
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              //setting up sockets
              Socket outputServ = null;
              //create a message database to store events
              MessageDB testDB = new MessageDB();
              try {
                   //setting up channel to recieve events from the omnibus server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   //This socket will be used to send events to the z/OS reciever
                   //we will need a new socket each time because this is a multi-threaded
                   //server thus, the  z/OS reciever (outputServ) will need to be
                   //multi threaded to handle all the output.
                   outputServ = new Socket("localhost", 1234);
                   //Setting up channel to send data to outputserv
                   PrintWriter out = new PrintWriter(new OutputStreamWriter(outputServ
                             .getOutputStream()));
                   String input;
                   //accepting events from omnibus server and storing them
                   //in a string for later processing.
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
                        System.out.println("Waiting for data...");
                        //---------putting string into a message object-------------///
                        // creating a scanner to parse
                        Scanner scanner = new Scanner(input);
                        Scanner scannerPop = new Scanner(input);
                        //Creating a new message to hold information
                        Message msg = new Message();                    
                        //place Scanner object here:
                        MessageParser.printTokens(scanner);
                        MessageParser.populateMessage(scannerPop, msg, input);
                        //calculating the length of the message once its populated with data
                        int length = msg.toString().length();
                        msg.SizeOfPacket = length;
                        //Printing test message
                        System.out.println("-------PRINTING MESSAGE BEFORE INSERT IN DB------\n");
                        System.out.println(msg.toString());
                        System.out.println("----------END PRINT----------\n");
                        //adding message to database
                        testDB.add(msg);
                        System.out.println("-------Accessing data from Map----\n");
                        testDB.print();
                        //---------------End of putting string into a message object----//
                        //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
                        System.out.println("Waiting for data...");
                        out.flush();
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   out.close();
                   outputServ.close();
                   csocket.close();
              catch (SocketException e) {
                   System.err.println("Socket error: " + e);
              catch (UnknownHostException e) {
                   System.out.println("Unknown host: " + e);
              } catch (IOException e) {
                   System.out.println("IOException: " + e);
    }Heres the other server that is accepting the string:
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              try {
                   //setting up channel to recieve events from the parser server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   String input;
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
    System.out.println("Lenght of the string was: " + input.length());
                        System.out.println("Waiting for data...");
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   csocket.close();
              } catch (IOException e) {
                   System.out.println(e);
                   e.printStackTrace();
    }Here's an example of the program works right now:
    Someone sends me a string such as this:
    Enter port to run server on:
    5656
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5656]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4919,localport=5656] connected.
    hostname: localhost
    Ip address: 127.0.0.1:5656
    Waiting for data...
    Event from: localhost-> UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1",424,"9.27.132.139","","Omnibus","Precision Monitor Probe","Precision Monitor","@busch2.raleigh.ibm.com->NmosPingFail",5,"Ping fail for 9.27.132.139: ICMP reply timed out",07/05/07 12:29:12,07/03/07 18:02:31,07/05/07 12:29:09,07/05/07 12:29:09,0,1,194,8000,0,"",65534,0,0,0,"NmosPingFail",0,0,0,"","",0,0,"",0,"0",120,1,"9.27.132.139","","","","dyn9027132107.raleigh.ibm.com","","","",0,0,"","","NCOMS",424,""
    Now my program makes it all nice and filters out the junk and resends the new string to the other server running here:
    Enter port to run server on:
    1234
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=1234]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4920,localport=1234] connected.
    Parser client connected.
    hostname: localhost
    Ip address: 127.0.0.1:1234
    Event from: localhost-> PacketType: UPDATE , SizeOfPacket: 577 , PacketID: 1, Identifer: UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1" , Serial: 424 , Node: "9.27.132.139" , NodeAlias: "" , Manager: "Omnibus" , Agent: "Precision Monitor Probe" , AlertGroup: "Precision Monitor" , AlertKey: "@busch2.raleigh.ibm.com->NmosPingFail" , Severity: 5 , Summary: "Ping fail for 9.27.132.139: ICMP reply timed out",StateChange: 07/05/07 12:29:12 , FirstOccurance: 07/03/07 18:02:31 , LastOccurance: 07/05/07 12:29:09 , InternalLast: 07/05/07 12:29:09 , EventId: "NmosPingFail" , LocalNodeAlias: "9.27.132.139"
    Lenght of the string was: 579
    The length of the final string I sent is 577 by using the string.length() function, but when I re-read the length after the send 2 more bytes got added, and now the length is 579.
    I tested it for several cases and in all cases its adding 2 extra bytes.
    Anyways, I think this is a bad solution to my problem but is the only one I could think of.
    Any help would be great!

    (a) You are counting characters, not bytes, and you aren't counting the line terminators that are appended by println() and removed by readLine().
    (b) You don't need to do any of this. TCP doesn't lose data. If the receiver manages get as far as reading the line terminator when reading a line, the line will be complete. Otherwise it will get an exception.
    (c) You are assuming that the original input and the result of message.toString() after constructing a Message from 'input' are the same but there is no evidence to this effect in the code you've posted. Clearly this assumption is what is at fault.
    (d) If you really want to count bytes, write yourself a FilterInputStream and a FilterOutputStream and wrap them around the socket streams before decorating them with the readers you are using. Have these classes count the bytes going past.
    (e) Don't use PrintWriter or PrintStream on socket streams unless you like exceptions being ignored. Judging by your desire to count characters, you shouldn't like this at all. Use BufferedWriter's methods to write strings and line terminators.

  • How many bytes to read

    If I am doing a serial read for a specific instrument, how do I know how many bytes are coming in.
    The instrument is transfering data once every second.
    The data is 20 lines total, each line ending with "\r\n".
    Is there a way I can read in each line by successively reading a certain number of bytes?
    Cory K

    I'm here with Ravens fan. Use a byte termination character.
    After reading the port you will have exactly 1 (one) message. Then look how much more bytes are available at the port. If the number is big enough, do another read.
    Make sure you keep fire reading events otherwise your buffer will burst (by default at 4k).
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • OutputStream: How many bytes are sent?

    Dear Friends,
    I use the following code to upload a file.
    byte[] buf = new byte[5000];
            int nread;
            int navailable;
          synchronized (in) {
              while((nread = in.read(buf, 0, buf.length)) >= 0) {
                    //Transfer
                    out.flush();
                    out.write(buf, 0, nread);
                    out.flush();
            buf = null;But how can I know how many bytes already are sent?
    Is there a good way to do that?
    Thank you!
    With best regards
    Inno

    OK, but don't be scared ;-)
    EDIT: Does someone know why?
    Do you need more information?
    Only the function connect(), pipe() and the declarations are important.
    Ignore all the other ones, please. :-)
    import java.applet.Applet;
    import java.io.OutputStream;
    import java.net.URLConnection;
    import java.net.URL;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
    import java.io.File;
    import java.io.InputStream;
    import java.util.Random;
    import java.io.FileInputStream;
    import java.util.Iterator;
    import javax.swing.JProgressBar;
    * <p>Title: Client HTTP Request class</p>
    * <p>Description: this class helps to send POST HTTP requests with various form data,
    * including files. Cookies can be added to be included in the request.</p>
    * @author Vlad Patryshev
    * @version 1.0
    public class ClientHttpRequest  extends Thread {
        URLConnection connection;
        OutputStream os = null;
        Map cookies = new HashMap();
         long filesize;
        private OutputStream osw=null;
        protected void connect() throws IOException {
            if (os == null)os = connection.getOutputStream();
        protected void write(char c) throws IOException {
            connect();
            os.write(c);
        protected void write(String s) throws IOException {
            connect();
            os.write(s.getBytes());
        protected void newline() throws IOException {
            connect();
            write("\r\n");
        protected void writeln(String s) throws IOException {
            connect();
            write(s);
            newline();
        private  Random random = new Random();
        protected  String randomString() {
            return Long.toString(random.nextLong(), 36);
        String boundary = "---------------------------" + randomString() + randomString() + randomString();
        private void boundary() throws IOException {
            write("--");
            write(boundary);
         * Creates a new multipart POST HTTP request on a freshly opened URLConnection
         * @param connection an already open URL connection
         * @throws IOException
        public ClientHttpRequest(URLConnection connection) throws IOException {
            this.connection = connection;
            connection.setDoOutput(true);
            connection.setRequestProperty("Content-Type",
                    "multipart/form-data; boundary=" + boundary);
            connection.addRequestProperty("Accept-Encoding", "gzip,deflate"); //Bugfix by AS: needed for PHP.
            connection.setUseCaches(true);
         * Creates a new multipart POST HTTP request for a specified URL
         * @param url the URL to send request to
         * @throws IOException
        public ClientHttpRequest(URL url) throws IOException {
            this(url.openConnection());
        public ClientHttpRequest() throws IOException {
         * Creates a new multipart POST HTTP request for a specified URL string
         * @param urlString the string representation of the URL to send request to
         * @throws IOException
        public ClientHttpRequest(String urlString) throws IOException {
            this(new URL(urlString));
        private void postCookies() {
            StringBuffer cookieList = new StringBuffer();
            for (Iterator i = cookies.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry)(i.next());
                cookieList.append(entry.getKey().toString() + "=" + entry.getValue());
                if (i.hasNext()) {
                    cookieList.append("; ");
            if (cookieList.length() > 0) {
                connection.setRequestProperty("Cookie", cookieList.toString());
         * adds a cookie to the requst
         * @param name cookie name
         * @param value cookie value
         * @throws IOException
        public void setCookie(String name, String value) throws IOException {
            cookies.put(name, value);
         * adds cookies to the request
         * @param cookies the cookie "name-to-value" map
         * @throws IOException
        public void setCookies(Map cookies) throws IOException {
            if (cookies == null) return;
            this.cookies.putAll(cookies);
         * adds cookies to the request
         * @param cookies array of cookie names and values (cookies[2*i] is a name, cookies[2*i + 1] is a value)
         * @throws IOException
        public void setCookies(String[] cookies) throws IOException {
            if (cookies == null) return;
            for (int i = 0; i < cookies.length - 1; i+=2) {
                setCookie(cookies, cookies[i+1]);
    private void writeName(String name) throws IOException {
    newline();
    write("Content-Disposition: form-data; name=\"");
    write(name);
    write('"');
    * adds a string parameter to the request
    * @param name parameter name
    * @param value parameter value
    * @throws IOException
    public void setParameter(String name, String value) throws IOException {
    boundary();
    writeName(name);
    newline(); newline();
    writeln(value);
    private void pipe(InputStream in, OutputStream out) throws IOException {
    //System.out.println("Output: "+out);
    byte[] buf = new byte[5000];
    int nread;
    int navailable;
    long total = 0; //Menge an Bytes bisher gesendet
    int percentage = 0; //Percent done...
    int oldpercent = 0;
    synchronized (in) {
    while((nread = in.read(buf, 0, buf.length)) >= 0) {
    //Transfer
    out.flush();
    out.write(buf, 0, nread);
    out.flush();
    total += nread; //Wieviel bereits gesendet?
    percentage = (int)( ( total * 100.0 ) / filesize );
    //System.out.println("STAT_ sent: "+total+" total: "+filesize);
    if(oldpercent < percentage){
    //System.out.println("%: " + percentage);
    SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
    String uhrzeit = sdf.format(new Date());
    System.out.println(uhrzeit+": Bytes sent: "+total);
    //listener.setProgressStatus(percentage);
    oldpercent = percentage;
    buf = null;
    * adds a file parameter to the request
    * @param name parameter name
    * @param filename the name of the file
    * @param is input stream to read the contents of the file from
    * @throws IOException
    public void setParameter(String name, String filename, InputStream is) throws IOException {
    boundary();
    writeName(name);
    write("; filename=\"");
    write(filename);
    write('"');
    newline();
    write("Content-Type: ");
    String type = connection.guessContentTypeFromName(filename);
    if (type == null) type = "application/octet-stream";
    writeln(type);
    newline();
    pipe(is, os);
    newline();
    * adds a file parameter to the request
    * @param name parameter name
    * @param file the file to upload
    * @throws IOException
    public void setParameter(String name, File file) throws IOException {
    filesize = file.length();
    setParameter(name, file.getPath(), new FileInputStream(file));
    * adds a parameter to the request; if the parameter is a File, the file is uploaded, otherwise the string value of the parameter is passed in the request
    * @param name parameter name
    * @param object parameter value, a File or anything else that can be stringified
    * @throws IOException
    public void setParameter(String name, Object object) throws IOException {
    if (object instanceof File) {
    setParameter(name, (File) object);
    } else {
    setParameter(name, object.toString());
    * adds parameters to the request
    * @param parameters "name-to-value" map of parameters; if a value is a file, the file is uploaded, otherwise it is stringified and sent in the request
    * @throws IOException
    public void setParameters(Map parameters) throws IOException {
    if (parameters == null) return;
    for (Iterator i = parameters.entrySet().iterator(); i.hasNext();) {
    Map.Entry entry = (Map.Entry)i.next();
    setParameter(entry.getKey().toString(), entry.getValue());
    * adds parameters to the request
    * @param parameters array of parameter names and values (parameters[2*i] is a name, parameters[2*i + 1] is a value); if a value is a file, the file is uploaded, otherwise it is stringified and sent in the request
    * @throws IOException
    public void setParameters(Object[] parameters) throws IOException {
    if (parameters == null) return;
    for (int i = 0; i < parameters.length - 1; i+=2) {
    setParameter(parameters[i].toString(), parameters[i+1]);
    * posts the requests to the server, with all the cookies and parameters that were added
    * @return input stream with the server response
    * @throws IOException
    public InputStream post() throws IOException {
    boundary();
    writeln("--");
    os.close();
    return connection.getInputStream();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(Map parameters) throws IOException {
    setParameters(parameters);
    return post();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(Object[] parameters) throws IOException {
    setParameters(parameters);
    return post();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with cookies and parameters that are passed in the arguments
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    * @see setCookies
    public InputStream post(Map cookies, Map parameters) throws IOException {
    setCookies(cookies);
    setParameters(parameters);
    return post();
    * posts the requests to the server, with all the cookies and parameters that were added before (if any), and with cookies and parameters that are passed in the arguments
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    * @see setCookies
    public InputStream post(String[] cookies, Object[] parameters) throws IOException {
    setCookies(cookies);
    setParameters(parameters);
    return post();
    * post the POST request to the server, with the specified parameter
    * @param name parameter name
    * @param value parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name, Object value) throws IOException {
    setParameter(name, value);
    return post();
    * post the POST request to the server, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name1, Object value1, String name2, Object value2) throws IOException {
    setParameter(name1, value1);
    return post(name2, value2);
    * post the POST request to the server, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name1, Object value1, String name2, Object value2, String name3, Object value3) throws IOException {
    setParameter(name1, value1);
    return post(name2, value2, name3, value3);
    * post the POST request to the server, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @param name4 fourth parameter name
    * @param value4 fourth parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4) throws IOException {
    setParameter(name1, value1);
    return post(name2, value2, name3, value3, name4, value4);
    * posts a new request to specified URL, with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(URL url, Map parameters) throws IOException {
    return new ClientHttpRequest(url).post(parameters);
    * posts a new request to specified URL, with parameters that are passed in the argument
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setParameters
    public InputStream post(URL url, Object[] parameters) throws IOException {
    return new ClientHttpRequest(url).post(parameters);
    * posts a new request to specified URL, with cookies and parameters that are passed in the argument
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setCookies
    * @see setParameters
    public InputStream post(URL url, Map cookies, Map parameters) throws IOException {
    return new ClientHttpRequest(url).post(cookies, parameters);
    * posts a new request to specified URL, with cookies and parameters that are passed in the argument
    * @param cookies request cookies
    * @param parameters request parameters
    * @return input stream with the server response
    * @throws IOException
    * @see setCookies
    * @see setParameters
    public InputStream post(URL url, String[] cookies, Object[] parameters) throws IOException {
    return new ClientHttpRequest(url).post(cookies, parameters);
    * post the POST request specified URL, with the specified parameter
    * @param name parameter name
    * @param value parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1);
    * post the POST request to specified URL, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1, String name2, Object value2) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1, name2, value2);
    * post the POST request to specified URL, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1, String name2, Object value2, String name3, Object value3) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1, name2, value2, name3, value3);
    * post the POST request to specified URL, with the specified parameters
    * @param name1 first parameter name
    * @param value1 first parameter value
    * @param name2 second parameter name
    * @param value2 second parameter value
    * @param name3 third parameter name
    * @param value3 third parameter value
    * @param name4 fourth parameter name
    * @param value4 fourth parameter value
    * @return input stream with the server response
    * @throws IOException
    * @see setParameter
    public InputStream post(URL url, String name1, Object value1, String name2, Object value2, String name3, Object value3, String name4, Object value4) throws IOException {
    return new ClientHttpRequest(url).post(name1, value1, name2, value2, name3, value3, name4, value4);
    With best regards!
    MfG
    Inno
    Message was edited by:
    Innocentus

  • How many parallel servers should I use?

    Hello All,
    I am in 10g and would like to create table as select. I am using NOLOGGING and PARALLEL. I notice, as I go on increasing the number of parallel servers, I cost of my statement reduces.
    create table tmp_xyz NOLOGGING PARALLEL 12 as
    SELECT ...
    from ...
    value of PARALLEL_min_SERVERS and PARALLEL_MAX_SERVERS parallel servers is 0 and 240 respectively.
    I am doing this for a large data table migration; no user be working at the time.
    I wonder how many parallel processes I should use?
    Regards

    Mosaq wrote:
    I wonder how many parallel processes I should use? Each parallel process is used for doing I/O - the I/O load is what is parallelised. Each PX slave gets an I/O load (usually a rowid range that describes a range of physical row-on-disk addresses) to process.
    So your question boils down to what the I/O capacity is of the I/O subsystem on that server. And this is pretty unique to a server and depends on just how the I/O layer looks like.

  • How many bytes may I read in ???

    I'm experimenting with the GPIB interface and a Fluke 45 dual display
    multimeter.
    But in the deliverd samplecode a number of bytes is read. How do I know
    how many bytes I may read after a command. Is a big number alwys enough
    and does this big number affect the speed of getting data ??
    Any hint is welcome !
    Thanx !
    Kristof

    the number is not critical. We normally ask for 256 characters and that does affect the speed not much. Most instruments are much slower than the pc !
    It is wise to read enough characters and maybe it is slightly faster to stay within 32 characters.
    These 32 character limit is only to prevent a new buffer to be setup for the gpib transfer. This happened in former years. I did not check this for visA2.5
    greetings from the Netherlands

  • How many bytes i get when i run some method through soap

    Hi everyone,
    I have a small problem. I have some web service. From wsdl file i create java classes (wsimport was used) and add them to my program. All works very good but i don't understand how to get information about how many bytes i get when i run some method.
    For example i have a method:
    service.getNewData(); How to check how many data i get BEFORE this method will complete.
    I know that i can check Content-Length but how i can do it?
    Thanks.

    * Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install.
    * Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • How many users does HFM support?

    Hi,
    how many users does HFM support(Maximum)? and why we are choose HFM compare to Hyperion enterprise?
    thanks
    Edited by: user10919054 on May 18, 2009 3:07 AM

    There is no limit, as long as you pay for the licenses and make sure you have a robust system to support user connectivity and demand.
    Hyperion Enterprise is the previous Consolidation tool most commonly used by many companies. Think of HFM as the "New Generation"....

  • How many messsages can we insert using JDBC receiver adapter in to DB

    Hi Friends,
    We are having 30 JDBC receiver interfaces in my current implementation project; load of JDBC receiver interfaces was 50 k messages per day and Performing only INSERT operation on data base.
    We have created individual communication channel for every JDBC receiver interface and max concurrency value set in CC was 5.
    Now we are testing all interfaces in quality with all possible cases, but we found that JDBC receiver adapter unable to process 50 k messages per day, we are on PI 7.1 EHP1 SP7.
    Please share your experiences with JDBC adapter receiver like per day how many messages we can transfer.
    Thanks a Ton,
    Raj

    Raja Sekhar Reddy T wrote:
    we are processing 50 k individual messages.
    >
    > I have increased max threads for JDBC receiver to 20 but no luck same rate only . My questions here is how many messages we can trasfer using JDBC receiver adapter?
    >
    > Regards,
    > Raj
    Hi raj,
    I have seen some interfaces that deal with upload of 5000 rows at a rime.. I don't there will be a restriction in the no of messages that can be transferred using the JDBC adapter as such  unless until the requirement is so para-normal and in your case it is not
    Kind regards
    XA

  • How many hours does a brand new battery last after fully charged. I have a late 2008 Macbook Pro.

    How many hours does a brand new battery last after fully charged. I have a late 2008 Macbook Pro.

    clintonfrombirmingham is right, there is no way to exactly tell. But from personal experience, a new battery on a 2008 will last for about 2 1/2 hours with a higher screen brightness and doing something taxing to the battery (like gaming or running lots of 3D programs). But if you're just listening to music with the brightness all the way down, and no programs running, you could get up to 12 hours. So for average use, it should last you a whole business day (assuming you don't use it more than 30% 0f the time). Hope this kind of gives you more of an idea of what to expect:)

  • How much space does a blob use?

    How much space does a BLOB use?
    Does it use allocated anyspace if its empty?

    It will size appropriately:
    TEST.SQL>CREATE TABLE TBLOB
      2  (
      3  A BLOB
      4  ) TABLESPACE _SANITIZED_;
    TABLE CREATED.
    TEST.SQL>SELECT INITIAL_EXTENT FROM DBA_TABLESPACES WHERE TABLESPACE_NAME='_SANITIZED_';
    INITIAL_EXTENT
           5242880
    TEST.SQL>SELECT * FROM DBA_EXTENTS WHERE SEGMENT_NAME='TBLOB';
    OWNER                          SEGMENT_NAME                                                                      PARTITION_NAME                 SEGMENT_TYPE
    TABLESPACE_NAME                 EXTENT_ID    FILE_ID   BLOCK_ID      BYTES     BLOCKS RELATIVE_FNO
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  0         16    1201289    5242880        640           16
    TEST.SQL>SELECT * FROM DBA_OBJECTS WHERE CREATED > SYSDATE-1;
    OWNER                          OBJECT_NAME
    SUBOBJECT_NAME                  OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE        CREATED  LAST_DDL TIMESTAMP           STATUS  T G S
    YJAM                           SYS_LOB0000920875C00001$$
                                       920876         920876 LOB                14:41:36 14:41:36 2005-11-16:14:41:36 VALID   N Y N
    YJAM                           TBLOB
                                       920875         920875 TABLE              14:41:36 14:41:36 2005-11-16:14:41:36 VALID   N N N
    TEST.SQL>SELECT * FROM DBA_EXTENTS WHERE SEGMENT_NAME='SYS_LOB0000920875C00001$$';
    OWNER                          SEGMENT_NAME                                                                      PARTITION_NAME                 SEGMENT_TYPE
    TABLESPACE_NAME                 EXTENT_ID    FILE_ID   BLOCK_ID      BYTES     BLOCKS RELATIVE_FNO
    YJAM                           SYS_LOB0000920875C00001$$                                                                                        LOBSEGMENT
    _SANITIZED_                                  0         16    1202569    5242880        640           16
    TEST.SQL>DECLARE
      2    VALINS VARCHAR2(4000);
      3  BEGIN
      4    VALINS:='1';
      5    FOR I IN 1..100000
      6    LOOP
      7      INSERT INTO TBLOB VALUES (RPAD(VALINS,4000,'0'));
      8    END LOOP;
      9  END;
    10  /
    PL/SQL procedure successfully completed.
    TEST.SQL>COMMIT;
    Commit complete.
    TEST.SQL>SELECT * FROM DBA_EXTENTS WHERE SEGMENT_NAME IN ('SYS_LOB0000920875C00001$$','TBLOB');
    OWNER                          SEGMENT_NAME                                                                      PARTITION_NAME                 SEGMENT_TYPE
    TABLESPACE_NAME                 EXTENT_ID    FILE_ID   BLOCK_ID      BYTES     BLOCKS RELATIVE_FNO
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  0         16    1201289    5242880        640           16
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  1         17    1169929    5242880        640           17
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  2         18    1163529    5242880        640           18
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  3         19    1176969    5242880        640           19
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  4          5     379529    5242880        640            5
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                  5         14     375689    5242880        640           14
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                 51         18    1172489    5242880        640           18
    YJAM                           TBLOB                                                                                                            TABLE
    _SANITIZED_                                 52         19    1191689    5242880        640           19
    YJAM                           SYS_LOB0000920875C00001$$                                                                                        LOBSEGMENT
    _SANITIZED_                                  0         16    1202569    5242880        640           16
    54 rows selected.
    TEST.SQL>ANALYZE TABLE TBLOB COMPUTE STATISTICS;
    Table analyzed.
    TEST.SQL>SELECT * FROM DBA_TABLES WHERE TABLE_NAME='TBLOB';
    OWNER                          TABLE_NAME                     TABLESPACE_NAME                CLUSTER_NAME                   IOT_NAME                         PCT_FREE   PCT_USED
    INI_TRANS  MAX_TRANS INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE  FREELISTS FREELIST_GROUPS LOG B   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE  CHAIN_CNT
    AVG_ROW_LEN AVG_SPACE_FREELIST_BLOCKS NUM_FREELIST_BLOCKS DEGREE     INSTANCES  CACHE TABLE_LO SAMPLE_SIZE LAST_ANA PAR IOT_TYPE     T S NES BUFFER_ ROW_MOVE GLO USE
    DURATION        SKIP_COR MON CLUSTER_OWNER                  DEPENDEN COMPRESS
    YJAM                           TBLOB                          _SANITIZED_                                                                                               10
             1        255        5242880     5242880           1  2147483645            0                            YES N     100000      33547          373       1977          0
           2042                         0                   0          1          1     N ENABLED       100000 14:51:22 NO               N N NO  DEFAULT DISABLED NO  NO
                    DISABLED NO                                 DISABLED DISABLED
    TEST.SQL>SELECT BYTES/1024 FROM DBA_SEGMENTS WHERE SEGMENT_NAME='TBLOB';
    BYTES/1024
        271360   
    TEST.SQL>TRUNCATE TABLE TBLOB;
    Table truncated.
    TEST.SQL>BEGIN
      2    FOR i IN 1..100000
      3    LOOP
      4      INSERT INTO TBLOB VALUES ('1');
      5    END LOOP;
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    TEST.SQL>COMMIT;
    Commit complete.
    TEST.SQL>ANALYZE TABLE TBLOB COMPUTE STATISTICS;
    Table analyzed.
    TEST.SQL>SELECT BYTES/1024 FROM DBA_SEGMENTS WHERE SEGMENT_NAME='TBLOB';
    BYTES/1024
          5120Note: there is a deported blob segment for the pointers I forgot in my previous post.
    HTH,
    Yoann.
    Message was edited by:
    Yoann Mainguy
    Hmm, forgot that for a full comparison of the avg linesize:
    TEST.SQL>SELECT * FROM DBA_TABLES WHERE TABLE_NAME='TBLOB';
    OWNER                          TABLE_NAME                     TABLESPACE_NAME                CLUSTER_NAME                   IOT_NAME                         PCT_FREE   PCT_USED
    INI_TRANS  MAX_TRANS INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE  FREELISTS FREELIST_GROUPS LOG B   NUM_ROWS     BLOCKS EMPTY_BLOCKS  AVG_SPACE  CHAIN_CNT
    AVG_ROW_LEN AVG_SPACE_FREELIST_BLOCKS NUM_FREELIST_BLOCKS DEGREE     INSTANCES  CACHE TABLE_LO SAMPLE_SIZE LAST_ANA PAR IOT_TYPE     T S NES BUFFER_ ROW_MOVE GLO USE
    DURATION        SKIP_COR MON CLUSTER_OWNER                  DEPENDEN COMPRESS
    YJAM                           TBLOB                          _SANITIZED_                                                                   10
             1        255        5242880     5242880           1  2147483645            0                            YES N     100000        628           12       1223          0
             41                         0                   0          1          1     N ENABLED       100000 14:56:56 NO               N N NO  DEFAULT DISABLED NO  NO
                    DISABLED NO                                 DISABLED DISABLED         

  • How many pictures does a 30 GB ipod video hold?

    how many pictures does a 30 GB ipod video hold? and i know it is probably somewhere on the website but i couldnt find it. could someone please answer me soon, thank you.

    A 30GB iPod will hold as many photos as will fit in 27.75GB of space. If some of the iPod's capacity is used for music or other purposes, fewer photos will fit on the iPod. Apple's site specifies 25000 photos.
    (13341)

Maybe you are looking for

  • How can I use the same Apple ID account in two different App Stores?

    I am from Greece and I use my Apple-ID account to download iPhone Apps from the Greek App Store. However I live in Germany and some iPhone applications I want are available only through the German App Store. When I try to download one of them I got t

  • Incrementing a variable in memory

    I have an older application that is querying a list, pulling out an AD from the list, then incrementing the database by +1 with every pull. The site has grown very popular and now the traffic is creating a ton of deadlocks. I tried using CFLOCK but t

  • Installation of central instance - memory settings

    Hi All, I have a question about the memory settings reg. the ABAP / Java Add-In installation (Central system). Installation of CI: When I install the central instance, I provide a value for the Instance Memory Management. Installation of DI: In the s

  • What is wrong with the crop tool in Photoshop CS6? (picture included)

    Ever since I upgraded to Photoshop CS6 and started to use the new crop tool, I get this quite interesting visual error and some artifacting. I didn't have the problem with the crop tool in the previous versions of Photoshop. What can be the issue?

  • Issue with displaying Greek characters in Oracle 11.1

    Hi, We are having issues with display of Non-English language (for ex Greek) text on Pega-PRPC. The text is stored in a reference table in Oracle DB. However there is not need of translation in PRPC as it has the capability of displaying non-english