- 196.8K All Categories
- 2.2K Data
- 238 Big Data Appliance
- 1.9K Data Science
- 450.2K Databases
- 221.7K General Database Discussions
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 154 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 437 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 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.