[{"data":1,"prerenderedAt":419},["ShallowReactive",2],{"project-41339308":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":46,"post_text":48,"what":49,"said":81,"maker_in_thread":205,"shape":213,"grid":217,"attempts":384,"same_week":385,"maker_shows":47,"maker_hidden":412,"reader_version":413,"card":414},"41339308","ChartDB","Visualize database schemas with a single query","title","Show HN: Visualize database schemas with a single query","https:\u002F\u002Fgithub.com\u002Fchartdb\u002Fchartdb","github.com","Jonathanfishner",1724516626,2024,227,64,333,3515,10,"notable","data","database schema visualization","web_app",[24,25,26,27],"database schema","er diagram","schema visualization","database migration","mixed",-0.23,{"positive":31,"neutral":32,"mixed":33,"critical":32},5,17,1,40,{"idea":36,"docs":39,"privacy":41,"execution":42,"design":44,"performance":45},{"positive":37,"critical":38},2,6,{"positive":40,"critical":33},0,{"positive":33,"critical":33},{"positive":40,"critical":43},7,{"positive":37,"critical":33},{"positive":40,"critical":40},[33,47,33,33,40,40,40,33,33,33,47,47,33,31,47,40,40,47,47,47,47,47,40,33,40,33,31,33,31,47,40,33,40,33,47,33,31,47,40,33],3,"Hey HN! We are Jonathan & Guy, and we are happy to share a project we’ve been working on. ChartDB is a tool to help developers and data analysts quickly visualize database schemas by generating ER diagrams with just one query.  A unique feature of our product is AI-Powered export for easy migration.  You can give it a try at https:\u002F\u002Fchartdb.io and find the source code on GitHub. Next steps ---> More AI.  We’d love feedback :)",{"problem":50,"audience":59,"pricing":63,"motivation":63,"time_to_build":63,"stack":64,"openness":78,"stage":79,"team_size":80},{"value":51,"source":52,"evidence":53},"Visualizing database schemas as ER diagrams and migrating schemas across database dialects","maker",[54,56],{"id":55},"post",{"id":57,"by":11,"text":58},"41341597","Thanks for the feedback! We aimed to make database migration easier and found that AI could really enhance this process by handling the complexities of different DB dialects.…",{"value":60,"source":52,"evidence":61},"Developers and data analysts",[62],{"id":55},null,[65,71],{"value":66,"source":52,"evidence":67},"GPT-4o",[68],{"id":69,"by":11,"text":70},"41339886","Thank you! We use GPT-4o to generate database schema creation scripts for different database dialects. Basically, we wanted to add the option to export the db schema to any type…",{"value":72,"source":73,"evidence":74},"React","commenter",[75],{"id":76,"by":11,"text":77},"41346874","Thanks for pointing that out! Just to clarify, we provide a single, hardcoded query that fetches metadata, with no option for user input. The user only needs to take the…","open_source","launched","team",{"praise":82,"objections":104,"requests":138,"questions":157,"alternatives":182},[83,90,97],{"value":84,"source":73,"evidence":85},"Interactive diagram with zoom and reorganising tables",[86],{"id":87,"by":88,"text":89},"41342704","callumgare","A big one for me is that it generates a nice interactive UI with the ability to zoom and reorganise tables rather than a static image. I find with sufficiently complex projects…",{"value":91,"source":73,"evidence":92},"No database credentials needed to import schema",[93],{"id":94,"by":95,"text":96},"41341752","andrelaszlo","Not requiring db credentials is a huge plus! Thanks for the explanation.",{"value":98,"source":73,"evidence":99},"Sleek interface",[100],{"id":101,"by":102,"text":103},"41349801","clidey","Hey this is really cool! I love how sleek the interface is. We're doing something similar at WhoDB (https:\u002F\u002Fgithub.com\u002Fclidey\u002Fwhodb) and love seeing all the work happening in…",[105,116,127],{"value":106,"source":73,"evidence":107},"AI-powered migration is unnecessary; deterministic transpilation is preferred",[108,112],{"id":109,"by":110,"text":111},"41347862","RadiozRadioz","The different dialects have complexities, but they are they are known and explicitly defined. This task is natural to solve deterministically, and I'd say it's also important to…",{"id":113,"by":114,"text":115},"41339966","djray","I rather think using AI to generate scripts for other DBs is a disadvantage. Scripting is a deterministic process, surely? Can you create a common internal representation and…",{"value":117,"source":73,"evidence":118},"Script failures on MSSQL and with special object names",[119,123],{"id":120,"by":121,"text":122},"41342132","salzig","> STRING_AGG aggregation result exceeded the limit of 8000 bytes. Use LOB types to avoid result truncation. Looks like not all databases (mssql in this case) like the generated…",{"id":124,"by":125,"text":126},"41347305","qwertydog","Ah sorry my bad, I should have read the full script. The script fails though if object names contain double quotes e.g. https:\u002F\u002Fdbfiddle.uk\u002Fy-C6Da07",{"value":128,"source":73,"evidence":129},"Misspelled database names and UI typos",[130,134],{"id":131,"by":132,"text":133},"41340909","rustman123","\"PostgresSQL\"? \"SQL Lite\"? Not even getting the names of the supported databases right doesn’t create trust…",{"id":135,"by":136,"text":137},"41345459","idorube","There's a typo on your \"Quick Start\" button. (\"Quck Start\")",[139,146,150],{"value":140,"source":73,"evidence":141},"Layout option so relations are easier to see",[142],{"id":143,"by":144,"text":145},"41343753","webprofusion","Not bad! Could do with a layout option so the relations are easier to see. The OG of DB table designers is the SQL Server database diagrams feature, and before that MS Access,…",{"value":147,"source":73,"evidence":148},"Support for saving schema changes back to the database and migration scripts",[149],{"id":143,"by":144,"text":145},{"value":151,"source":73,"evidence":152},"Multiple views including an index visualization",[153],{"id":154,"by":155,"text":156},"41340574","yetanotherdood","I think having multiple \"views\" of these diagrams would be nifty. In addition to the standard visualization, you could have an \"index\" visualization that also captures foreign…",[158,169,176],{"value":159,"source":73,"evidence":160},"How is this different from SchemaSpy and other visualizers",[161,165],{"id":162,"by":163,"text":164},"41340391","ok123456","How is this different from Schema Spy (https:\u002F\u002Fschemaspy.org)?",{"id":166,"by":167,"text":168},"41339587","gitroom","This is cool, but there are a lot of visualizer, what's the difference?",{"value":170,"source":73,"evidence":171},"How the AI part works",[172],{"id":173,"by":174,"text":175},"41339497","namanyayg","nice work on chartdb, guys! can you elaborate on how the ai part works? im a bit confused how that fits in because there are many SQL diagram tools without AI as well",{"value":177,"source":73,"evidence":178},"Why emphasise a single query",[179],{"id":180,"by":95,"text":181},"41339575","> visualize database schemas by generating ER diagrams with just one query > visualize and design your DB with a single query > Instantly visualize your database schema with a…",[183,187,194,201],{"value":184,"source":73,"evidence":185},"SchemaSpy",[186],{"id":162,"by":163,"text":164},{"value":188,"source":73,"evidence":189},"drawDB",[190],{"id":191,"by":192,"text":193},"41345674","1ilit","Reminds me a lot of my drawDB: https:\u002F\u002Fwww.drawdb.app\u002F. *Not a shameless plug, actually*",{"value":195,"source":73,"evidence":196},"VisualDB",[197],{"id":198,"by":199,"text":200},"41343326","breadwinner","Or use a tool that already does the rendering, with zoom and pan: https:\u002F\u002Fvisualdb.com",{"value":202,"source":73,"evidence":203},"WhoDB",[204],{"id":101,"by":102,"text":103},{"comments":206,"answered":31,"key":207},8,[208,209,210],{"id":57,"text":58},{"id":76,"text":77},{"id":211,"text":212},"41350487","Thanks for catching that! I’ve fixed it for you here: https:\u002F\u002Fdbfiddle.uk\u002FF2vuGKVS. I also tested the export script with a table name like \"table\", and it worked. If you don’t…",{"commenters":214,"max_depth":43,"maker_replies":206,"first_comment_mins":215,"lifespan_hours":216},44,24,91,[218,220,222,226,227,231,233,237,240,243,246,249,252,254,256,258,260,264,267,268,272,274,277,278,280,282,284,286,287,289,292,295,297,301,304,307,310,312,315,318,320,322,324,326,329,331,335,336,339,343,345,348,350,352,356,358,359,363,365,368,371,375,377,380],[113,40,33,219,114,40],"project\u002Fcritical\u002Fidea",[57,40,40,221,11,33],"maker\u002Fneutral\u002Fidea",[223,40,47,224,225,40],"41343914","project\u002Fneutral\u002Fidea","teleforce",[109,40,33,219,110,40],[228,40,40,229,230,40],"41353001","commenter\u002Fneutral\u002Fnone","bal00ns",[131,33,33,232,132,40],"project\u002Fcritical\u002Fdocs",[234,33,40,235,236,40],"41341950","other\u002Fneutral\u002Fnone","doctorpangloss",[238,33,40,235,239,40],"41344587","jkcorrea",[241,33,40,235,242,40],"41346499","wesammikhail",[244,33,40,235,245,40],"41365138","thesnide",[247,33,40,235,248,40],"41344051","zx8080",[250,37,33,251,125,40],"41343780","project\u002Fcritical\u002Fprivacy",[76,37,40,253,11,33],"maker\u002Fneutral\u002Fprivacy",[124,37,33,255,125,40],"project\u002Fcritical\u002Fexecution",[211,37,40,257,11,33],"maker\u002Fneutral\u002Fexecution",[259,37,33,255,125,40],"41352800",[261,47,47,262,263,40],"41345777","project\u002Fneutral\u002Fexecution","amenghra",[143,265,47,266,144,40],4,"project\u002Fmixed\u002Fdesign",[162,31,47,224,163,40],[269,31,33,270,271,40],"41341205","project\u002Fcritical\u002Fnone","layer8",[87,31,31,273,88,40],"project\u002Fpositive\u002Fdesign",[275,31,47,276,163,40],"41343097","project\u002Fneutral\u002Fnone",[198,31,47,276,199,40],[279,31,47,276,163,40],"41349182",[281,31,40,229,199,40],"41352695",[283,31,40,229,144,40],"41343762",[285,31,40,229,163,40],"41349169",[166,38,47,224,167,40],[288,38,40,221,11,33],"41341646",[290,38,47,224,291,40],"41342519","SahAssar",[293,38,33,219,294,40],"41345576","nerdponx",[180,43,31,296,95,40],"project\u002Fpositive\u002Fidea",[298,43,47,299,300,40],"41339698","project\u002Fneutral\u002Fperformance","SoftTalker",[302,43,47,276,303,40],"41340408","hackernewds",[305,43,47,276,306,40],"41340773","croes",[308,43,40,229,309,40],"41342518","scotty79",[311,43,33,219,306,40],"41344910",[313,43,40,229,314,40],"41348547","parpfish",[316,43,40,235,317,40],"41345310","lolive",[319,43,40,235,314,40],"41348555",[321,43,33,219,306,40],"41340802",[323,43,40,221,11,33],"41341684",[94,43,31,325,95,40],"project\u002Fpositive\u002Fprivacy",[327,206,33,255,328,40],"41340395","jesperwe",[330,206,40,257,11,33],"41346878",[332,333,31,296,334,40],"41340411",9,"ellyagg",[191,18,47,276,192,40],[337,18,47,276,338,40],"41376077","azophy_2",[340,341,40,235,342,40],"41343035",11,"zola",[120,344,33,255,121,40],12,[346,344,33,255,347,40],"41342171","Eji1700",[349,344,40,257,11,33],"41342715",[351,344,33,255,121,40],"41346805",[353,354,33,255,355,40],"41360525",13,"yencabulator",[173,357,47,224,174,40],14,[69,357,40,221,11,33],[360,357,33,361,362,40],"41342722","maker\u002Fcritical\u002Fidea","yardstick",[101,364,31,273,102,40],15,[154,366,47,367,155,40],16,"project\u002Fneutral\u002Fdesign",[369,32,47,276,370,40],"41378473","jalopy",[372,373,40,235,374,40],"41340191",18,"samstave",[376,373,40,229,303,40],"41340412",[135,378,33,379,136,40],19,"project\u002Fcritical\u002Fdesign",[381,382,47,224,383,40],"41343997",20,"ahaapple",[],[386,390,395,399,404,408],{"id":387,"name":388,"points":389,"category":20},"41322281","InstantDB",1145,{"id":391,"name":392,"points":393,"category":394},"41384144","Skip",322,"dev_tools",{"id":396,"name":397,"points":398,"category":394},"41318133","ghidra-delinker-extension",304,{"id":400,"name":401,"points":402,"category":403},"41358490","Remove-bg",286,"ai",{"id":405,"name":406,"points":407,"category":394},"41377960","IPA",270,{"id":409,"name":410,"points":411,"category":394},"41317988","Isaiah",196,false,"v2",{"id":415,"name":5,"line":6,"ai":412,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":416,"maker":11,"domain":10,"tier":19,"attempts":40,"strip":417,"url":9,"mix":418,"praise":84,"objection":106,"sub":21},41339308,[24,25,26,27],"1311000111331530033333010151530101315301",[31,32,33,32],1793991098730]