Ethan's Blog


  • Home

  • Archives

  • Tags

  • Search

The Programmer's View of SAP HANA

Posted on 2019-07-09

Introduction

This chapter presents the application developer’s view of SAP HANA. It gives an overview of both the programming languages for writing code that runs inside SAP HANA, and the client libraries used by client applications to connect to SAP HANA.
Database applications use well-defined interfaces to communicate with the database management system functioning as a data source, usually over a network connection.
The application, often running in the context of an application server, takes the role of a client, while the database system plays the role of a server. Client applications typically use vendor-supplied client libraries which implement part of the API and encapsulates the communication details.
The leading programming language for database application is the SQL. SQL provides functional capabilities for creating, accessing, maintaining, controlling, and protecting relational data.
SAP HANA greatly extends SQL. This includes SAP HANA-specific SQL statements, views, data types, and the possibility to write Procedures in several languages, such as SQLScript, L, C++ and R.
Modeled Views are design-time abstractions that allow developers to work efficiently with SAP HANA’s extended views on a higher level of abstraction.
An alternative query language for clients is MDX. Pioneered by Microsoft, MDX is used by applications to query OLAP (OnLine Analytical Processing) data models. Applications can query graph data with the openCypher query language and implement custom graph algorithms as graph stored procedures.

Read more »

SAP HANA System Architecture Overview

Posted on 2019-07-04

The SAP HANA System

The SAP HANA system consists of multiple servers:

The most important component is the index server. The index server contains the in-memory data stores and the engines for processing the data.
The name server owns the information about the topology of an SAP HANA system. In a distributed system, the name server knows where the components are running, and which data is located on which server.

Read more »

Basic In-Memory Database Concepts

Posted on 2019-07-01

In-memory database technology is a core feature of the SAP HANA database, which enables new applications that were not possible before.

Impact of Modern Hardware on Database System Architecture

In the past database management systems were designed for optimizing performance on hardware with limited main memory and with slow disk I/O as the main bottleneck. The focus was on optimizing disk access, for example by minimizing the number of disk pages to be read into main memory when processing a query.
Today’s computer architectures have changed. With multi-core processors, parallel processing is possible with fast communication between processor cores. Very large main memory configurations are now commercially available and affordable.
With all relevant data in memory, disk access is no longer a limiting factor for performance. With the increasing number of cores, CPUs are able to process more and more data per time interval. That means the performance bottleneck is now between the CPU cache and main memory.

A high performance data management system for modern hardware must have the following characteristics:

Read more »

SAP HANA Overview

Posted on 2019-06-30

SAP HANA is a data management platform that is deploy as an appliance or in the cloud.
And its core is the SAP HANA database, an innovative in-memory database management system which makes full use of the capabilities of current hardware to increase application performance, to reduce cost of ownership and to enable new scenarios and applications that were not possible before.
The SAP HANA database is a hybrid database management system that combines several paradigms in one system. It includes a full relational database management system where individual tables can be stored column-based or row-based in memory, and column-based on disk.
It supports SQL, transactional isolation and recovery (ACID properties) and high availability. These capabilities are extended with the following features:

  • Text analysis and search capabilities that support a state-of-the-art search experience. This includes full text search with advanced features such as free style search, linguistic search and fault-tolerant fuzzy search.
  • Native support for geo-spatial data and operations.
  • Support for series data.
  • Built-in support for planning applications.
  • SAP HANA provides capabilities for the efficient storage and processing of graph-like data structures with a flexible data schema.
  • A task framework for executing potentially long running tasks. Task can started asynchronously and can be monitored on the level of application-defined steps.
Read more »

端口映射与容器互联

Posted on 2019-06-23

在实践中,经常会碰到多个服务组件容器共同协作的情况,这往往需要多个容器之间,能够互相访问到对方的服务。
Docker 除了通过网络访问外,还提供了两个很方便的功能,来满足服务访问的基本需求:

  • 允许映射容器内应用的服务端口到宿主机。
  • 互联机制实现多个容器间,通过容器名来快速访问。

端口映射实现容器访问

从外部访问容器应用

当容器中运行一些网络应用,要让外部访问这些应用时,可以通过 -P 或 -p 参数来指定端口映射。
当使用 -P 参数时,Docker 会随机映射一个端口到内部容器开放的网络端口:

1
$ docker run -d -P training/webapp python app.py

当使用 -p 参数时,可以指定要映射的端口,并且在一个指定端口上,只可以绑定一个容器。

Read more »
1…464748…55
necusjz

necusjz

274 posts
16 tags
© 2016 - 2025 necusjz
Powered by Hexo
Theme - NexT.Mist