Different sub Directories in a database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shijosp7
    New Member
    • Oct 2016
    • 1

    #1

    Different sub Directories in a database

    Hi All,

    Can we create sub directories in a database with same tables. I need to create yearly wise sub directory and store the yearly wise data in different directories. Is it possible in postgreSQL ?

    Thank You

    Shijo S Philip
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    Shijo,

    Use tablespaces.

    ref: PostgreSQL Documentation 9.5: CREATE TABLESPACE

    Cheers!
    Oralloy

    Comment

    Working...