Search:

Type: Posts; User: nshi

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,330

    Yes, you do need to reference the procedure in...

    Yes, you do need to reference the procedure in the schema in order to compile it into the catalog. You can follow the syntax on the following page for referencing,
    ...
  2. Replies
    10
    Views
    1,330

    For example, to compile the catalog with the...

    For example, to compile the catalog with the procedure SELECT2.java, you first have to compile the procedure source into Java class file,


    javac -cp...
  3. Replies
    6
    Views
    1,157

    Do you mind sharing the stored procedure...

    Do you mind sharing the stored procedure signature and the PHP code that calls the stored procedure with us? You can send it to my E-mail if you want. nshi AT voltdb.com

    You don't have to change...
  4. Replies
    6
    Views
    1,157

    Are you sending the photo as a byte array? Can...

    Are you sending the photo as a byte array? Can you try sending it as a hex-encoded string to the server?
  5. Replies
    2
    Views
    391

    Because "results" and "data" fields contain...

    Because "results" and "data" fields contain arrays, you need to access the data array like this,

    print_r($json->results[0]->data[0]);

    We have a native PHP extension that is more efficient and...
  6. Replies
    10
    Views
    1,330

    You have to also include the directory that...

    You have to also include the directory that contains the class file in the classpath when you compile the catalog.

    http://docs.voltdb.com/UsingVoltDB/BuildCompileCatalog.php
  7. Replies
    10
    Views
    1,330

    Hi Ghalia, The compiler couldn't find the...

    Hi Ghalia,

    The compiler couldn't find the procedure class because it was not in the Java classpath. You need to compile the stored procedure into Java class file, then include the class file in...
  8. Replies
    5
    Views
    6,072

    Hi Wasi, The PHP driver currently doesn't...

    Hi Wasi,



    The PHP driver currently doesn't support passing array as parameter to stored procedures. I created the following ticket to implement this feature....
  9. Each execution site in VoltDB is a single thread....

    Each execution site in VoltDB is a single thread. Transactions are serialized and execute one at a time. Each site doesn't switch between multiple transactions at the same time.

    VoltDB scales by...
  10. The time update thread not being scheduled for...

    The time update thread not being scheduled for such a long time is just a symptom of resource contention, it is not the cause of the slowdown. If the VM does not have enough resource, other threads...
  11. Hi, This message is printed when the time...

    Hi,

    This message is printed when the time update thread has not run for more than 2 seconds. Normally, the thread is scheduled to run once every 5 millisecond.

    Are you running VoltDB inside a...
  12. Hi Bernardo, When you start a database in VEM,...

    Hi Bernardo,

    When you start a database in VEM, it will launch the VoltDB processes on all the cluster nodes. The servers will load the catalog and set up JMX automatically.

    In your previous...
  13. Hi Bernardo, The exceptions you showed were...

    Hi Bernardo,

    The exceptions you showed were from the VoltDB Enterprise Manager (VEM). They indicate that the VEM cannot connect to the VoltDB server located at 10.0.1.202, possibly because of...
  14. Hi Miyuru, Could the server be terminated...

    Hi Miyuru,

    Could the server be terminated before the client? You can add a status listener to the client instance to track when the connection is closed.
    ...
  15. Hi Miyuru, The exception is thrown when you...

    Hi Miyuru,

    The exception is thrown when you try to call a procedure on a client that is closed or has a broken connection to the server. You have to call Client.createConnection() before using the...
  16. Hi ccherng, Partition (fault) detection refers...

    Hi ccherng,

    Partition (fault) detection refers to the k-safety feature, where you have k+1 copies of the data in the database. When machines are separated from each other due to a network...
  17. Hi leobon, You are calling the Insert...

    Hi leobon,

    You are calling the Insert procedure from the client once for each row. Each call to Insert is an individual transaction. You can rollback a single transaction by throwing...
  18. Hi leobon, Throwing the VoltAbortException...

    Hi leobon,

    Throwing the VoltAbortException will only take effect inside the procedure.

    Transactions in VoltDB run from start to completion on the server. Your procedure class is run on the...
  19. Hi leobon, When you say that it didn't take...

    Hi leobon,

    When you say that it didn't take effect, do yo mean that the insertion succeed even though the transaction was aborted?

    Could you share the procedure code with us? You can email me...
  20. That means calling createConnection multiple...

    That means calling createConnection multiple times on the same client instance to connect to all the hosts in your cluster. You can see an example at...
  21. Hi leobon, The procedures and tables are...

    Hi leobon,

    The procedures and tables are properly partitioned, so they should be fine.



    You were calling the procedure synchronously, which means that the call will block until the response...
  22. Hi Leobon, It looks like that the procedure...

    Hi Leobon,

    It looks like that the procedure you use may have not been partitioned. Were you using a stored procedure or were you using adhoc queries? Can you share the queries?

    What were you...
  23. Hi Marcin, The message you saw is fine. A...

    Hi Marcin,

    The message you saw is fine. A complete snapshot of your system takes about 466 seconds to finish. Any attempt to snapshot again when a snapshot is already in progress will generate...
  24. I don't see any files attached to this post....

    I don't see any files attached to this post. Maybe you forgot to upload them?



    The larger the size of the command log, the longer it takes to replay. The system will try to truncate the log...
  25. Hi Marcin, The network delays may not be...

    Hi Marcin,

    The network delays may not be caused by Java GCs. There are some GCs that took about 500ms, but not very often.

    The network delay caused one of the client connection to be closed...
Results 1 to 25 of 93
Page 1 of 4 1 2 3 4