- 382.6K All Categories
- 2.1K Data
- 213 Big Data Appliance
- 1.9K Data Science
- 448.5K Databases
- 221.1K General Database Discussions
- 25 Multilingual Engine
- 541 MySQL Community Space
- 469 NoSQL Database
- 7.8K Oracle Database Express Edition (XE)
- 2.9K ORDS, SODA & JSON in the Database
- 500 SQLcl
- 3.9K SQL Developer Data Modeler
- 186.3K SQL & PL/SQL
- 21.1K SQL Developer
- 293.9K Development
- 9 Developer Projects
- 130 Programming Languages
- 290.6K Development Tools
- 97 DevOps
- 3K QA/Testing
- 645.6K Java
- 24 Java Learning Subscription
- 36.9K Database Connectivity
- 151 Java Community Process
- 104 Java 25
- 22.1K Java APIs
- 137.9K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 146 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 201 Java User Groups
- 297 LiveLabs
- 36 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.8K Other Languages
- 2.3K Chinese
- 168 Deutsche Oracle Community
- 1.2K Español
- 1.9K Japanese
- 234 Portuguese
Open APIs for Data Analytics Accelerator (DAX)
by Vijay Tatkar
Open API libraries enable you to programmatically access the Data Analytics Accelerator (DAX) coprocessors in Oracle's SPARC processors.
What Is DAX?
Oracle's newly released SPARC processor–based servers and engineered systems introduce many Software in Silicon (SWiS) features. These SWiS features implement higher-level software functions directly into the processor logic, which significantly enhances performance and security.
One of the most exciting new capabilities of the SWiS innovations is the Data Analytics Accelerator (DAX). DAX is specialized hardware that is built into the processor and is designed to radically improve performance of analytics-related algorithms. For more information about DAX, see "What Is the SPARC M7 Data Analytics Accelerator?"
Open API Libraries
You can programmatically access DAX by using the following open API libraries.
The libdax library provides access to DAX and is available as the libdax.so.1 shared library. Some of the operations that you can perform by using the libdax library are as follows:
- Select elements from a data stream
- Scan the input elements in a data stream and compare them with a specified value
- Decompress or unpack a data stream
- Translate input elements in a data stream based on a lookup table
- Log the activities of the functions in the library
- Compute logical AND, OR, and XOR for the elements in a data stream
- Perform asynchronous DAX operations
The libdax library is thread-safe. It also allows you to add DTrace probes to gather data that you can use for debugging, performance analysis, and tuning.
For the complete list of functions available in the libdax library, see the
dax.h header file (requires login).
For information on stream processing using the libdax library, see "Introduction to Stream Processing Using the DAX API."
The vector library abstracts the DAX operands as vectors and, hence, allows you to perform vector operations on the DAX operands. This library internally uses the libdax APIs to interact with DAX. Some of the operations that you can perform by using the vector library are as follows:
- Create vector objects from files
- Create vector objects from arrays in memory
- Destroy a vector
- Compare vectors
- Filter a vector based on a condition
- Get the type, count, and length of a vector
For the complete list of functions available in the vector library, see the
vector.h header file (requires login).
The vector library is available in the C, C++, Java (JNI), Python, and SQL languages.
Feedback and Continuous Improvements
Oracle is constantly looking for your feedback to improve upon these APIs. Please use the [email protected] support alias to provide feedback or ask questions about the APIs.
- Software in Silicon Developer Program
- "Software in Silicon: What It Does and Why"
- Software in Silicon community site
About the Author
Vijay Tatkar is director of Oracle's ISV Engineering group and has over 27 years of experience at Sun and Oracle. Currently, his worldwide team works with independent software vendors (ISVs) to drive adoption and integration of Oracle systems technologies to build a strong ecosystem for Oracle Solaris and SPARC platforms. ISV Engineering collaborates with partners by defining joint roadmaps and engineering projects that create compelling, differentiated solutions. Tatkar also leads the Open API DAX engineering initiative. Prior to joining ISV Engineering, he managed the development of compilers, the Oracle Enterprise Developer Studio Performance Analyzer and Code Analyzer tools, and the cloud computing initiative at Sun.