How to increase Cache Size in Berkeley DB Java Edition - berkeley-db-je

I am using berkeley db java edition.
how can i increase cache size

See EnvironmentConfig in the Javadoc, specifically, setCacheSize.
Apologies for the delay in responding. Usually you can get these questions answered more quickly by posting them to the Berkeley DB Java Edition technical forum on OTN.
Regards,
Dave

Related

Oracle 11g R2 Security patch installation

I have Oracle 11g R2 Free version in my laptop for development purpose, But i need to update the security patches given by Oracle. But while doing it it was taking me to a registration page where they are asking for Support Identifier.
Please help me out with this issue.
I'm not much into licencing, but - as far as I can tell - you get access to My Oracle Support (so that you could download patches, read additional documents, etc.) once you purchase (read: pay (a lot of) money) to Oracle because you started using their software in production.
For free versions, I'd say that you get quite a lot - regarding how much you paid for it (i.e. nothing at all), but shouldn't expect to get additional features as well.
If it is, as you said, for development purposes, why would you care about security patches? You don't trust yourself? :)
Therefore, in my opinion, you're out of luck.

Which Graph Database (Orient or Titan) is good to use with spring and liferay? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
please help me , I'm quite confuse while deciding to use graph database , I'm developing a Social networking website . so please suggest me which I have to use .
I developing this project using spring and liferay 6.2.
Please help me .
Thanks in advance.
Titan as product is dead about 2 weeks ago. DataStax (Cassandra company) hired the Titan team, but not the product. They preferred to abandon Titan. Here the official announcement:
http://www.zdnet.com/article/datastax-snaps-up-aurelius-and-its-titan-team-to-build-new-graph-database/
"We're not going to do an integration. The play here is we'll take
everything that's been done on Titan as inspiration, and maybe some of
the Titan project will make it into DSE Graph," DataStax engineering
VP Martin Van Ryswyk said... But we're really going to build something
new because we're going to be able now to take advantage of Cassandra
specifically and DSE features specifically. It will be an engineering
effort to build a new product. We will not be supporting or
integrating Titan as a product into our portfolio."
And this is the official announcement in Titan group:
"However, there is also some sadness in this announcement. As we
transition to DataStax, we will find little time to contribute toTitan
and interact with the Titan community. We will miss that and hope that
it will be carried forward."
Now, some users was very pissed off about this news. Read this:
"Not even that. They pulled the plug without a stable product, no
prior notice and not caring about the companies that used a buggy
system that broke compatibility every time just because a version 1.0
was promised."
(source: https://groups.google.com/d/msg/aureliusgraphs/WtU6om8CtqI/Q1_AIFRA4mkJ)
So after few days of flame in the group, Titan team said "Ok, Titan is alive", but this has been the reaction on Hacker News:
https://news.ycombinator.com/item?id=9025798
I'm not talking about Titan vs OrientDB from technical perspective (I'm the OrientDB author, so it would be unbiased), but I'm just pointing here that creating a new project based on a dead product seems a not so good idea. So you can go with OrientDB or wait for the new Cassandra DSE (Commercial only?) with graph features "inspired" to Titan.
You could also use spring-data-gremlin and see for yourself which database works best for you. It is a Tinkerpop blueprints Spring-Data abstraction allowing you to switch to potentially any graph database that implements the blueprints API - which both OrientDB and TitanDB do, and the project already includes those databases.
Note: spring-data-gremlin is a work in progress and may not yet fit all your requirements, but we'll get there.
Neo4J has native spring-data support.
http://projects.spring.io/spring-data-neo4j/
You can also use Blueprints (https://github.com/tinkerpop/blueprints/wiki), which allows you to switch backend database easily.

Pgadmin III Alternative - Windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for an alternative to the free pgAdmin III that works on windows. I basically need it for managing my tables / views / SP / etc. If it did ER diagrams, that is a huge plus, and I like them to make sure all my tables are linking together.
I am used to SQL Server Management Studio and Workbench, so I am looking for for something updated to that. pgAdmin III works, but lacks key things. Example, if I update a SP (function), I have to actually refresh the app so it notices it. Else if I go to re-edit it, it loads my old SP. This caused me to mess up several times. Also ER diagrams is a huge feature it's lacking.
While I do not mind a commercial alternative, I am not looking for a $500 bill. I would really like to keep under 250 is possible.
Please note, I have already tried PostgreSQL Maestro. It works nice, but commonly locks up. I would prefer something a bit more stable and thread safe. Example, once a query is running I can't cancel. It has the option but says, its already running so I have to end the process to stop it. I am also aware of [http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools] however I am looking for feedback by people who actually used the tools. I really do not want to try our 15 different options.
Thanks all in advance!
DataGrip/ IntelliJ IDEA Ultimate Edition
If you are already a user of Jetbrains tools, you may try DataGrip (or the database plugin, when you are an IntelliJ IDEA Ultimate edition user). This is quite new, but suitable for most use cases.
https://www.jetbrains.com/datagrip/
DBVisualizer
DBVisualizer is a very good solution for connecting to "any" DBMS with lots of features. There is a free version avaible, but the pro version is really worth the money:
http://www.dbvis.com/
HeidiSQL
A free and very good client for MySQL, PostgreSQL and SQL Server. It really evolved the last years.
http://www.heidisql.com
Squirrel SQL
Another quite good tool is Squirrel SQL. It's not the most intuitiv and beautiful tool, but has many useful features too:
http://squirrel-sql.sourceforge.net/
DBeaver
Another open source tool with a free community edition.
This is something for Eclipse users, as it is build upon Eclipse and can be installed as Eclipse plugin as well.
https://dbeaver.io
MySQL Workbench
This is not for PostgreSQL, but my answer is quite generic, so I wanted to add this as well.
MySQL Workbench is the officiel tool from Oracle for connecting to MySQL. It is really good for working with MySQL.
https://www.mysql.de/products/workbench/
Others:
Oracle SQL Developer for Oracle
SQL Server Management Studio for SQL Server
this is a very good alternative to PgAdmin, cross platform:
http://navicat.com/en/products/navicat_pgsql/pgsql_overview.html
Hope this helps (approx. $100-$200).
Recently JetBrains released a so-called Database IDE called DataGrip. DataGrip support most major RDBMSs like PostgreSQL, Oracle, SQL Server and MySQL. And it's commercial:
DataGrip User Interface
I also come from a SQL Server Management Studio background so I know how you must feel. Give this one a trial run. I have liked it when I use it.
http://www.sqlmanager.net/en/products/postgresql/manager
Also check out the studio version which bundles a bunch of apps into a suite.
http://www.sqlmanager.net/en/products/studio/postgresql

Oracle license for development environment?

I'm sorry that I have to ask that here, but I haven't found a conclusive answer on the oracle page or in the internet. I've even been on the phone with a sales rep, but they couldn't help me neither.
What kind of Oracle Setups/licenses are you using for your development environments? We currently are using 10g XE which only has one significant limitation: the 4gb database size limit. Are there any other 'free' versions which don't have such limitations? And if not, what would be the most economic version/combination? The often have a hard user limit which are ridiculous low.
Thanks!
Cheers
Reto
PS. I'm not sure if I have to mention that: I'm not looking for any illegal solutions
Since it appears that there exists a production environment, the license for the software you download from OTN will almost certainly not be sufficient. Since it sounds like each developer has a local development environment, however, you should be able to make use of the Personal Edition. This is a relatively inexpensive ($460 perpetual/ $92 for a 1-year license plus support in the Oracle Store at the moment) version of Oracle that is intended to be used by a single developer on a local machine. It has all the functionality of the enterprise edition of the database.
You can download Oracle Database 11g (and most other Oracle solutions) from their website oracle.com.
All you need is to register for free, and download the application, you don't need any license if it is for personal use.

Are oopen cursors forward-only and read-only?

Is a cursor created with oopen (from the Oracle 7.x OCI api) forward-only and read-only?
Thanks,
Eric
Cursors are both forward-only and read-only.
A swift bout of Googling turned up this link to the OCI 7 docs. I don't know whether this publication is licit under Oracle's terms of use (even for educational sites). On the other hand Oracle's OTN site only goes back as far as 8, so what choice do we have?
As DCooke points out, OTN does have the Oracle 7.3.4 docs. I salute D's superior Google-fu.

Resources