Oracle 12c Series (V) [PDB Refresh

PDB Refresh is a feature of 12C. It has the function of incremental synchronization for the source PDB. Every refresh synchronizes any changes in the source PDB to the target PDB (in this environment, the target PDB is called Refreshable PDB). At present, there are two incremental synchronization modes: manual mode and ...

Posted on Tue, 14 May 2019 12:50:22 -0700 by rbama

hibernate Framework Learning Notes 1: Building and Testing

The hibernate framework belongs to the dao layer, similar to dbutils, and is an ORM (Object Relational Mapping) operation. The advantage of using hibernate framework is that it does not need to write SQL statements to operate the database, and it is done in an object-oriented way.   Here we use eclipse tools to build: Official website download: ...

Posted on Tue, 14 May 2019 09:03:52 -0700 by john_bboy7

Load balancing and session cross-storage of MemCache in tomcat

Configuring the environment 1. Install jdk and tomcat and place them in the / usr/local directory [root@server1 ~]# ls [root@server1 ~]# tar zxf jdk-7u79-linux-x64.tar.gz -C /usr/local [root@server1 ~]# tar zxf apache-tomcat-7.0.37.tar.gz -C /usr/local 2. In order to upgrade only soft links when upgrading, make soft links to ...

Posted on Tue, 14 May 2019 06:13:05 -0700 by T-Bird

ORM of python database: SQLAlchemy Guide

Article directory brief introduction Simple use Version checking link Declare a mapping Create a module Minimum Table Description VS Complete Table Description Create an instance of a mapping class Create a Session Add and update objects RollBACK query Common filters Return list and scalar Using SQL text count Establish l ...

Posted on Tue, 14 May 2019 05:04:20 -0700 by brokenshadows

Neural Network for Handwritten Number Recognition

First, we introduce a deep learning library, Keras, in Python Keras Keras is a deep learning library based on Theano and TensorFlow and is different from other deep learning frameworks.Keras acts as an advanced API specification for neural networks.It serves as both a user interface and extends the capabilities of other deep learning ...

Posted on Sat, 11 May 2019 23:38:33 -0700 by avickers

Implementing a Simple Token-based Identity Authentication

This example is based on the interaction between the client and the web API for authentication, which is also applicable in other situations. Simple interactive processes:   1. Input user name and password for login operation 2. The server verifies the correctness of username and password. After the validation, the server encrypts a json st ...

Posted on Sat, 11 May 2019 07:44:58 -0700 by xexmple

memcached source code analysis-network module

1. overview memcached network module is developed based on libevent library. It is mainly divided into two modules: connection monitor thread and worker thread. Connection listener threads are used to listen for connections from clients, and worker threads are mainly used to complete specific business logic processing. Net ...

Posted on Fri, 10 May 2019 19:21:51 -0700 by bouncer

Credit Reporting System of State Enterprises

1. Website Analysis 1.1 Get Home Page Through requests.get directly requests the website home page, returns 521 error prompt code, returns the result is js code. This is the use of Le Accelerate Le anti-crawl technology, before accessing to determine whether the client cookie is correct, if not, return 521 status code and a section of js code, ...

Posted on Fri, 10 May 2019 13:44:36 -0700 by kickoff3pm

Analysis of Statistical Processes and Rules and Triggering Conditions of Statistical Information

In oracle, inaccurate table or index statistics may cause Oracle to erroneously execute the plan. Statistical information also exists in postgres, and inaccurate statistics can lead to errors in executing plans. In this paper, we mainly test when Postgres will be triggered for automatic statistical information collection, becau ...

Posted on Fri, 10 May 2019 05:53:46 -0700 by trancemission

Oracle RAC: Service Resource Management

Service Resources Each database has one or more service names, which are the names given to the client to connect to the database instance. Creating a database creates a service with the same name as the database by default. The default service balances the load on all instances, and you can assume that all instances of the database are the pr ...

Posted on Fri, 10 May 2019 05:53:38 -0700 by SJR_34