Is there a utility for batch import of data in Sparksee graph database? I am looking something BatchInserter interface in Neo4j.
There is a scripting option for Sparksee that enables you to batch load CSV files. The documentation can be found here.
I have personally never used the scripting feature. I stumbled upon this feature in the Sparksee Google Group.
Related
I'm trying to convert a bunch of blob files back into PDFs.
Currently they look like this:
I haven't really found much on the internet, and the few guides or post i've found, haven't yielded any results.
Has anyone ever tried doing this?
I'm not aware of any existing bulk export utility, however you should be able to use the Enterprise Manager tool in your image to save each individual BLOB as PDF. A bulk export utility could be created on request.
Earlier we have used Microsoft OLEDB JetProvider in SSIS package. After recent update from Microsoft, now we are facing issues with SSIS package. So we have decide to export data to excel using open XML. What should be the best approach for implementation since still we are using (xls) version 1997-2003.
Note: We already tried Microsoft Access Database engine 2010 Redistributable.
from my point of view, you have the following options (all about the ScriptTask unfortunately):
Call REST API and create a document there (using Open XML SDK). It's easy to develop, support and deploy
Use Open XML SDK directly in the ScriptTask
I would recommend following the first approach, but it all depends on your system though
UPDATE:
Following the first option, you have to develop a small Web API Service. Here is the link with an example on C#
Per the second option, in order to use external DDLs, such as OpenXML, you have to register it in the GAC (if the installer doesn't). Here is the link with an example of using external libraries.
If you are going to follow this option, I would recommend you develop a DDL that would work with Open XML directly and have simple API for calling it from SSIS Script Task. You will register your DDL in GAC and have a link in Script task. It will help you avoid a number of debugging issues.
I am using ClusterPoint database and I really like web interface, but for automation I need to import some data from command-line.
Is there a generic tool available which would allow to import arbitrary XML file into my database from UNIX-style operating system? And is there also a dump utility?
Thanks in advance.
Last time I talked to people from Clusterpoint I was told that there are no CLI tools. Which is strange. But also opens up doors for some interesting contributions from community (if only there would be one :D ).
What is the best way to export all JIRA data (projects, issues, ...)? I saw that there is an API and a plugin mechanism which probably can provide all the information. But what is the easiest way to export the data? Does it work out of the box or do I have to implement a plugin?
Generally, there are two main approaches to backup your JIRA data. The first one is to back up your database in which JIRA info is stored. The second one is to use the “Backup Data to XML feature”, which is a JIRA feature. Personally, I prefer the second one, because it can be restored to any database engine (MySQL, MSSQL, etc). In addition, as far as it is Xml, it can be compressed to a great extent.
I have written a little ruby utility that uses JIRA's REST API to export all tickets for a given project to the local file system. It is available as a ruby gem, so the installation is trivial.
The tickets are saved as individual JSON files. The tool also supports incremental updates.
I'm using JIRA v1000.747.1 which has native export to CSV of issues.
If you navigate to https://[your-jira-instance]/issues you should see a query screen with results. Fine tune that via the UI or go to the Advanced menu to do more complicated JQL. Then you can click the export button (upper right) to export to XML/Word/HTML/CSV.
The following add-ons will work out of the box, they are configurable and there is no need to code anything:
Better Excel Plugin for XLSX output
PDF View Plugin for PDF output
You can use both free for 30 days, which should be sufficient to migrate your data to the new issue tracker.
You can use this web application to export the data to Word:
http://www.jiratoword.com/
It is quite basic and it could be improved but it is free.
Sorry if this is overly simplistic.
I've decided that I want to use an SQLite database instead of a MySQL database. I'm trying to wrap my head around how simple SQLite is and would like a simple, one answer tutorial on how to use SQLite with the Zend Framework, where to put my SQLite database in my directory structure, how to create the database, etc.
#tuinstoel is correct, attaching to an SQLite database implicitly creates it if it does not exist.
SQLite also supports a command-line client that is more or less like MySQL's command shell, allowing you to issue ad hoc commands or run SQL scripts. See documentation here: http://www.sqlite.org/sqlite.html
Of course you need to change the Zend_Db adapter in your ZF application. ZF supports only an adapter to the PDO SQLite extension. SQLite doesn't support user/password credentials. Also since SQLite is an embedded database instead of client/server, the "host" parameter is meaningless.
$db = Zend_Db::factory("pdo_sqlite", array("dbname"=>"/path/to/mydatabase.db"));
One more caveat: when you get query results in associative-array format, some versions of SQLite insist on using "tablename.columnname" as the keys in the array, whereas other brands of database return keys as simply "columnname". There's an outstanding bug in ZF about this, to try to compensate and make SQLite behave consistently with the other adapters, but the bug is unresolved.
If you make a connection to a not existing database, a database is created on the fly. (You can turn this behavour off)
This is now covered in the Zend Framework quickstart tutorial (version 1.9.5 as of this writing). Just make a new project (with zf command line tool. look here for a great tutorial on setting it up), add these lines to your config.ini file and you're good to go:
; application/configs/application.ini
[production]
resources.db.adapter = "PDO_SQLITE"
resources.db.params.dbname = APPLICATION_PATH "/../data/db/databaseName.db"
Now when you ask for your default database adapter, it will use this one. I would also recommend downloading the quickstart tutorial source code and making use of the load.sqlite.php script. You can create a schema and data file and load the database with these tables/columns/values. It's very helpful! Just check out the tutorial. It's all in there.
This answer was moved out of the question into a CW answer to disavow ownership over the content.