category:esProc

All about esProc.

esProc Assists SQL with Sorting in a Fixed Order

Usually SQL is merely able to sort data by one or more certain fields. When it comes to sorting by a list, the only choice is to use decode or union. But with a long list, the SQL statement will be lengthy. If the items of the list are parameters representing unfixed values, usually a temporary table needs to be create...

2015-09-25 1085 0 0

esProc Heterogeneous Datasources – MongoDB

It is convenient to establish and close a connection to MongoDB in esProc , as well as to call the database to query and count the data, perform distinct and aggregate operations. 1. Preparation for connecting to MongoDB The MongoDB Java driver (like mongo-java-driver-2.12.2.jar), which esProc does’nt provide, should b...

2015-09-18 1053 0 0

Merge MongoDB Documents in esProc

Problem source:https://groups.google.com/forum/#!topic/mongodb-user/BpgEaRqrKsA Below is a selection of Collection C1: You need to group the collection by name. Each group contains the users field of the document corresponding to a same name and does not allow duplicate members. The expected result may like this: esP...

2015-09-16 1042 0 0

Performance Test of esProc In-Memory Computing

In this article, we’ll test the performance of esProc in handling in-memory small data computing, and compare with that of Oracle when performing the same computation. The test involves two cases: normal simple computing and complicated related computing: The test data used in normal computing is order information, as ...

2015-09-14 961 0 0

esProc Parallel Computing: The Remote Cursor

Parallel computing allows executing a computation on big data by distributing it to nodes. If the data distributed to each node is still in large volume, it can be returned from the node with the remote cursor. We’ll now learn the usage of the remote cursor as well as its features. 1. The usage The servers the remote c...

2015-09-11 991 0 0

esProc External Memory Computing: Binary Files

Two kinds of data file – the normal text file and the binary file – are most used in esProc, of which the binary file adopts compressed encoding of low CPU consumption, meaning that it takes less space than an uncompressed text file, and the data reading efficiency will be higher. Thus, we can conclude that the b...

2015-09-10 1181 0 0

esProc External-Memory Computing: Indexed Files

Indexed Sequences in esProc discusses how to create an index of a table sequence or a text file in esProc to greatly speed up the query on desired fields. But how to deal with a data-intensive file whose index table cannot be loaded into the memory? Here let’s look at how to increase the speed of big data handling by c...

2015-09-09 980 0 0

Examples of esProc’s Assisting in Dynamic-Column-SQL Computations

The SQL implemented by database vendors can be used to write dynamic statements. But since it’s inconvenient to perform set operations and order-related computations in SQL, usually you must resort to the high-level languages to handle the dynamic-column computations, which leads to a cumbersome process of doing these ...

2015-08-31 1532 0 0

The Standard esProc Method of Assisting SQL-style Transposition

In many cases SQL is used to implement a transposition algorithm, such as static/dynamic transposition, natural/inverse transposition, single-/multi-group data transposition, transposition after data alignment/complementing and transposition with/without computed columns. There are different SQL implementations for dif...

2015-08-27 1407 0 0

How esProc Assist Reporting Tools with Inter-row Calculations

Not all reporting tools support inter-row calculations directly. When they don’t, you need to write scripts to implement them, which is really a big hassle, even bigger when multilayer data grouping is involved. esProc can deal with this situation thanks to its support for order-related calculations. An esProc script c...

2015-08-24 1098 0 0

Perform File Comparisons using esProc

You can handle simple file comparisons with the console command, Java, python and perl. But all of them are not good at performing set operations and structured computations. This will result in complicated code for multi-threaded processing and cumbersome process in comparing multiple fields, big files and the files w...

2015-08-20 1130 0 0

How esProc Implements Text Processing

Encapsulated lots of functions for handling structured file computing, esProc can import text files with complex formats, carry out cursor-style processing with big files and simplify multithreaded parallel processing. Usually there are three modes in which esProc can be applied: a standalone mode, the execution from c...

2015-08-19 1608 0 0

Diverse Scenarios of esProc’s Assisting in Report Development

There are many knotty problems around report development. These include complex layout, which is difficult to build with a reporting tool alone; complex data sources requiring dynamic access and involving different types of databases or non-database data; as well as the handling of order-related computation, subsets of...

2015-08-18 1328 0 0

How esProc Assists Java in Handling JSON Data

Java can handle simple parsing of semi-structured JSON data, but has difficulty in handling the in-depth processing. esProc, which supports set operations, order-related operations and dynamic script execution, can help reduce the difficulty. A Java application will execute an esProc script in the same way as it execut...

2015-08-14 1285 0 0

Examples of esProc’s Handling of Unusual Report Layouts

It is difficult to produce unusual report layouts automatically with functionalities provided by reporting tools. But if we can prepare data sources in an appropriate way, the difficulty of building such a report will be significantly reduced. To do that, we can use esProc (its free edition is available). It not only s...

2015-08-12 1419 0 0