[orientdb] Re: Connection overhead (performance testing OrientDB with PHP driver)

2015-10-06 Thread David Carr
Try sidestepping the count(*) problem via a subquery such as select count(*) from (select from article where body lucene "odense"). -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from

[orientdb] Question about high number of binary connections to remote orientdb

2015-09-24 Thread David Carr
I am concerned about # of concurrent binary connections to orientdb, especially in the sense of using orientdb as the primary data provider to a web app with lots of concurrent users. We primarily use standalone nodeJS sensors to write data via orientJS and php on the web server to read data

[orientdb] Re: Does anyone have JavaScript Server Side Functions working?

2015-09-10 Thread David Carr
> > I use orientjs and javascript server-side functions extensively on 2.1.1. > Not sure which part of this is causing your issue but my server-side > functions generally follow this pattern: > var db = orient.getDatabase(); var cmd = 'select from #19:1'; var result = db.command(cmd); return

[orientdb] Warning to those upgrading to 2.1.1

2015-09-04 Thread David Carr
It seems the 2.1.1 query parser has gotten much stricter since 2.0.x releases as follows: 1. Query parser used to accept CREATE EDGE FROM x TO y or CREATE EDGE TO y FROM x in any order. Now orientdb forces you to put FROM first in all cases. 2. Query parser used to accept multiple

[orientdb] Re: how to set storage.diskCache.bufferSize

2015-09-02 Thread David Carr
Alessandro - For clarification, if I'm running a server daemon and my goal is for OrientDB to use all available memory on the server, how exactly do I set maxdiskcache? *TOP says the following:* top - 11:04:23 up 12:31, 1 user, load average: 0.00, 0.01, 0.01 Tasks: 79 total, 1 running,

Re: [orientdb] Re: Cannot stop orientdb service

2015-09-02 Thread David Carr
with or without an ip address I can't get shutdown.sh to work. [root@ip-10-0-0-82 log]# ../bin/shutdown.sh 127.0.0.1 2424 Sending shutdown command to remote OrientDB Server instance... Sep 02, 2015 3:32:13 PM com.orientechnologies.common.log.OLogManager log INFO: OrientDB auto-config

[orientdb] Re: how to set storage.diskCache.bufferSize

2015-09-01 Thread David Carr
Me too -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit

Re: [orientdb] Re: Delete one vertex freezes OrientDB for all users

2015-08-27 Thread David Carr
. On Thu, Aug 27, 2015 at 1:03 AM, Andrey Lomakin lomakin.and...@gmail.com wrote: Hi, Could you send: 1. Server log. 2. Heap dump, it is created in server installation directory once OOM is thrown. On Thu, Aug 27, 2015 at 2:42 AM David Carr dcarr...@gmail.com wrote: Been down for 90 minutes now

[orientdb] Delete one vertex freezes OrientDB for all users

2015-08-26 Thread David Carr
Doing data cleanup on orientdb 2.1.0... I issued console command delete vertex #21:121048 and for the next 60 minutes any other (binary in our case) client connections receive this message: *ERROR socket_read(): unable to read from socket [10060]: A connection attempt failed because the

[orientdb] Re: Delete one vertex freezes OrientDB for all users

2015-08-26 Thread David Carr
PM UTC-6, David Carr wrote: Doing data cleanup on orientdb 2.1.0... I issued console command delete vertex #21:121048 and for the next 60 minutes any other (binary in our case) client connections receive this message: *ERROR socket_read(): unable to read from socket [10060]: A connection

[orientdb] Re: Hook or default?

2015-08-10 Thread David Carr
I'm not familiar with the term slug but you should be able to do this via a hook (aka insert trigger). I have a few insert triggers that work well. Try to follow the tutorial here http://orientdb.com/docs/last/Tutorial-Java-Hooks.html. On Sunday, August 9, 2015 at 3:27:13 AM UTC-6, Charles

[orientdb] Correct syntax for property filter on edge?

2015-08-10 Thread David Carr
Is there a way to include a property filter using the in()/out() constructs like this: select in('myEdge') from myVertex without reverting to the old(er) in.out construct like this: select in_myEdge[myProperty=true].out from myVertex ??? -- --- You received this message because you are

[orientdb] Is inconsistent query results a true bug?

2015-07-25 Thread David Carr
Can somebody verify issue https://github.com/orientechnologies/orientdb/issues/4247 is an acknowledged bug or something I'm doing wrong on my end? -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop

[orientdb] Binary-protocol equivalents for http calls

2015-06-17 Thread David Carr
What would be the binary-protocol equivalents to these http commands? HTTP GET /connections/[db] HTTP POST against /connection/kill/id -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop receiving emails

[orientdb] Backup question and restore error

2015-05-21 Thread David Carr
I have orientdb 2.0.5 running in server mode, being accessed remotely by a web server. I want to take a manual backup and restore it on a different server. Per online documentation, the backup command does not work via remote connection. I have to ssh into the db server, open a orientdb

[orientdb] Orient token-sharing best practices

2015-04-19 Thread David Carr
I have read the OrientDB documentation on network binary protocol tokens but it is unclear to what extent tokens can be shared in a typical web application. Imagine the following scenario: - One central OrientDB database configured with a global username/password pair for the web

[orientdb] Re: IMPORTANT: Improving issue management

2015-04-02 Thread David Carr
Luca what is the url to the google form? On Friday, January 20, 2012 at 12:04:36 PM UTC-7, Lvc@ wrote: Hi all, often when a new issue is open it lacks some fundamental information. This slows down the entire process because the first question from the OrientDB team is always *What release

[orientdb] OrientDB token expiration

2015-04-01 Thread David Carr
I'm running orientdb server 2.0.5 with Ostico/PhpOrient and am storing the orientdb connection token in the user's php web server session so that we don't have to authenticate against orientdb using username/password with every pageview. It all works well until too much time elapses between

Re: [orientdb] Hooks on vertices and edges

2015-03-28 Thread David Carr
FYI I created the Java Hook Tutorial and pushed it to master branch under docs section 9.3. On Fri, Mar 27, 2015 at 11:05 AM, W. Craig Trader craig.tra...@gmail.com wrote: David ... In the short term, please share with the group. - Craig - On Fri, Mar 27, 2015 at 10:44 AM, David Carr

Re: [orientdb] Hooks on vertices and edges

2015-03-27 Thread David Carr
be awesome. We moved all different GitHub WIKIs of all the projects in just one place: https://github.com/orientechnologies/orientdb-docs/wiki All we need is your GitHub account to authorize updating the documentation. Thanks, Lvc@ On 27 March 2015 at 11:44, David Carr dcarr...@gmail.com

[orientdb] Documentation on orientdb-server-config.xml

2015-03-25 Thread David Carr
Where can I find documentation on the orientdb-server-config.xml file? Trying to get hooks working (handler class=com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter) has been extremely painful as well as enabling tokens (handler

[orientdb] Hooks on vertices and edges

2015-03-25 Thread David Carr
After a bit of trial and error, I have been able to get hooks working on custom classes extended from the OTriggered class. However, I need hooks working on classes extended from V and E. I can't get it to work in my tests. Does anyone out there know if hooks are possible on vertices and edges