GithubHelp home page GithubHelp logo

muhammad7salah / disable-enabling-indexes-and-constraints Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

Two Procedures for disabling and enabling indexes and Constraints for performance wise.

SQLPL 100.00%
sql database oracle-database orac stored index constraints oracle

disable-enabling-indexes-and-constraints's Introduction

Disable-Enaabling-Indexes-and-Constraints

Two Procedures for disabling and enabling indexes and Constraints. These procedures can run on Oracle on any schema.

ETL Developers loads everyday a huge amount of data. Loading data into tables may take longer than it should be. So, they need to speedup the loading to avoid a long time of loading that can overlap with the next day and may be a big problem.

One of the known tips for improving the insert process is to disable indexes. Yes, Indexes maybe useful in querying the data but it takes time to organize the new data while inserting them. So, we disable the indexes before loading and then enabling them after we have successfully loaded the data.

Also disabling the constraints may improve the loading too.

So, I was assigned to make 2 stored procedures to disable and enable indexes and constraints in ORACLE databases.

Here is the first version you can have a look and you can contribute also on updating them and creating similar procedures for other databases.

disable-enabling-indexes-and-constraints's People

Contributors

muhammad7salah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.