Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Category: Database

The database is a warehouse that organizes, stores and manages data according to the data structure. It was created more than 60 years ago. With the development of information technology and the market, especially after the 1990s, data management is no longer just It is to store and manage data, and transform it into various data management methods required by users. There are many types of databases, from the simplest tables that store various data to large-scale database systems that can store massive amounts of data. They have been widely used in all aspects.

PostgreSQL – Reset ID count after table deletion ()

For testing purposes, I clear (delete) each table before executing the code.

for table in reversed (db.metadata.sorted_tables):
engine.execute(table.delete())
do_stuff() However, the id valu

September 21, 2021By Simo Postgresql Count, delete, ID, PostgreSQL, reset, tableLeave a Comment

NOSQL – Cassandra column key automatically increment

I am trying to understand Cassandra and how to build my column family (CF), but since I am used to relational databases, it is difficult.

For example , If I create a simple user CF and I try

September 21, 2021By Simo Nosql Auto, Cassandra, Column, Increment, key, NOSQLLeave a Comment

Running errors in PostgreSQL

CREATE OR REPLACE FUNCTION msgfailerror() RETURNS trigger AS
‘ BEGIN
IF NEW.noces< new.first_column THEN RAISE EXCEPTION ' cannot have a negative salary'; END IF; return new; END' LANGUAG

September 21, 2021By Simo Postgresql error, middle, PostgreSQL, triggerLeave a Comment

PostgreSQL – PLPGSQL function returns another function value

I have a function func1() that returns integers.

I want to write another function func2 (mode integer), which can return func1()reults Or do more things. The return value of func1() is INTEGE

September 21, 2021By Simo Postgresql Another, function, PLPGSQL, PostgreSQL, returnLeave a Comment

Add a missing monthly date in the time series data in PostgreSQL

I have monthly time series data in the table, where the date is the last day of the month. Some dates are missing in the data. I want to insert these dates and add zero values ​​for other attribute

September 21, 2021By Simo Postgresql addition, data, Date, Medium, missing, monthly, PostgreSQL, Time SeriesLeave a Comment

Why is NOSQL better “expand” than RDBMS?

I discussed the advantages and disadvantages of NoSQL in the technical blog, and have read the following content

”
For many years, in order to improve the database server Performance, databas

September 21, 2021By Simo NosqlLeave a Comment

Database – SQLite: Multi-column primary key with automatic incremental column

I basically want to use the following scheme to convert tables from mysql to sqlite:

create table items (
id integer auto_increment,
version integer default 0,
primary key (id, version)
); Es

August 22, 2021By Simo Sqlite Auto, Column, database, Increment, key, Main, Multi-Lord, SQLITELeave a Comment

126 Mysql Storage Engine Overview

Table of Contents

Data in MySQL is stored in files (or memory) using various techniques. Each of these technologies uses different storage mechanisms, indexing techniques, locking levels, and

August 22, 2021By Simo Mysql Engine, mysql, overview, storageLeave a Comment

21.1 NOSQL Introduction 21.2 Memrcached Introduction 21.3 Installing Memcached 21

21.1 Introduction to nosql
< /p>

21.2 Introduction to memrcached

21.3 Installing memcached
memcached -h: You can view memcached related help information.

21.4 View memcachedq status

< /p>

August 22, 2021By Simo Nosql 21.1, 21.2, 21.3, Description, installation, Introduction, Memcached, Memrcached, NOSQLLeave a Comment

133 mysql view, transaction, index (very important)

Contents

# Data dependency: single table emp# Syntax# Create view mysql>: create view view name [( Aliases)] as select statement; eg>: create view v1 as select dep, max(salary) from emp group

August 22, 2021By Simo Mysql all, index, mysql, transaction, viewLeave a Comment

Posts navigation

Page 1 … Page 42 Page 43 Page 44 … Page 47
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress